|
And if
you are trying to access only the raw SOAP body, you can do it with the
"message" style supported by Axis. The user's manual has more details, but
essentially your service would have to expose a method with one of 4 signatures
as described in the manual. Here is some sample code:
public SOAPBodyElement[]
processMessage(SOAPBodyElement[] requestElements)
throws RemoteException { try { StringWriter writer = new StringWriter(); SerializationContext serializationContext = new SerializationContextImpl(writer); requestElements[0].output(serializationContext); String messageString = writer.toString(); } catch (Exception e) { throw new RemoteException("processMessage caught exception", e); } } Naresh
|
Title: Message
- Accessing 'raw' document body. Erich Oliphant
- RE: Accessing 'raw' document body. WALTERS,EUGENIO (HP-Boise,ex1)
- Re: Accessing 'raw' document body. Erich Oliphant
- Re: Accessing 'raw' document b... Sloan Seaman
- Re: Accessing 'raw' docume... Erich Oliphant
- Re: Accessing 'raw' d... Erich Oliphant
- Re: Accessing 'raw' d... Sloan Seaman
- Re: Accessing 'ra... Erich Oliphant
- RE: Accessing 'raw' document body. Naresh Bhatia
- RE: Accessing 'raw' document body. WALTERS,EUGENIO (HP-Boise,ex1)
- RE: Accessing 'raw' document body. Phil Bohnenkamp
- Re: Accessing 'raw' document body. Erich Oliphant
