|
From: Ronald v. K. <rv...@ab...> - 2003-04-04 21:58:40
|
> > I'm still figuring out why the Sun implementation throws an > exception when > > a SOAPHeaderElement is passed to it (via a cast). Then it would be > possible > > to have the ExtensionElement not only return a SOAPElement, but a > > SOAPHeaderElement when the ExtensionElement is an instance of > MessageHeader. > > This is also a good idea. Maybe, I should be more precise in > ExtensionElementImpl, i.e., the construction of ExtensionElementImpl > should > call addHeaderElement() and addBodyElement() instead of > SOAPFactory.createElement(). > Hm..... question: You don't mean that these should be IN the constructor of ExtensionElementImpl do you? But the other solutions (in my mind) seem to be a getting a bit 'fabricated' as well. Any suggestions on how to get a simple solution to this? I tried removing all sun saaj/jaxm libraries and there are several classes from the Sun JAXM implementation (what is the status of the specification btw, there are not that many implementations) which are not implemented in AXIS (yet?) These include JAXMServlet, JAXMException, etc) What is your position towards these issues? Ronald |