Mark Hansen wrote:
> What is the right way to get a SOAPFactory instance from within a server
> side handler? I know that SOAPFactory.newInstance() is not recommended.
I didn't know that it was not recommended to do that in a handler.
However, you can do a lot of what SOAPFactory does without creating one:
from the SOAPMessageContext, you can get the SOAPMessage and use methods
within it (and within SOAPPart, SOAPHeader, and SOAPBody) to make a lot
of changes in the message.
Cheers,
Bobby