Re: [Axis2] Reading the received SOAP envelope

2007-01-22 Thread Michele Mazzucco

Schalk,

xml contains the SOAP body only. To get the full envelope you must  
use the MessageContext:

MessageContext ctx = Messagecontext.getCurrentMessageContext()
ctx.getEnvelope()


Michele

On 21 Jan 2007, at 20:27, Schalk wrote:


Greetings All,

I have an Axis2 web service that will be invoked by a .NET client.  
My question is, is there a tutorial or documentation somewhere that  
explains how to handle/read the incoming SOAP message?


This is the method I am exposing:

public OMElement processConfirmation(OMElement xmlData, String  
username, String password) throws XMLStreamException {


So I am assuming that the SOAP envelope will be loaded into  
xmlData, correct?


Thanks!
Schalk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Reading the received SOAP envelope

2007-01-21 Thread Schalk

Greetings All,

I have an Axis2 web service that will be invoked by a .NET client. My 
question is, is there a tutorial or documentation somewhere that 
explains how to handle/read the incoming SOAP message?


This is the method I am exposing:

public OMElement processConfirmation(OMElement xmlData, String username, 
String password) throws XMLStreamException {


So I am assuming that the SOAP envelope will be loaded into xmlData, 
correct?


Thanks!
Schalk


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]