Re: SOAP XML from HttpRequest
You could use the Axis2 MessageContext to retrieve an AXIOM representation of the SOAPEnvelope. For example, something like "org.apache.axiom.soap.SOAPEnvelope se = org.apache.axis2.context.MessageContext.getCurrentMessageContext ().getEnvelope();" may get you started. Regards, Peter. Lahoria <[EMAIL PROTECTED]> schrieb am 19.11.2007 22:07:18: > > Hi There > I am kinda new to SOAP and may be its very basic question but I am having > hard time to find the answer: > how to extract/retrieve SOAP XML from am incoming HttpRequest. I want to > intercept the incoming SOAP call and do some processing. From the > HttpRequest header I know there is a SOAP call as the SOAPAction is set and > the content type of rquest are "text/xml". > Any help/pointers would be really appreciated. > Regards > -- > View this message in context: http://www.nabble.com/SOAP-XML-from- > HttpRequest-tf4839475.html#a13845400 > Sent from the Axis - User mailing list archive at Nabble.com. > > > - > 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]
RE: SOAP XML from HttpRequest
Hi, Why do you want to do that yourself. Axis can do the tricks for you. As far as I can see you should just read about the Axis handler concept. You can chain them so that you're able to first process the header with one handler and then chain it to the next handler which takes care of the body. Hope this answers your question. Regards, Sietse -Original Message- From: Lahoria [mailto:[EMAIL PROTECTED] Sent: 19 November 2007 21:07 To: axis-user@ws.apache.org Subject: SOAP XML from HttpRequest Hi There I am kinda new to SOAP and may be its very basic question but I am having hard time to find the answer: how to extract/retrieve SOAP XML from am incoming HttpRequest. I want to intercept the incoming SOAP call and do some processing. From the HttpRequest header I know there is a SOAP call as the SOAPAction is set and the content type of rquest are "text/xml". Any help/pointers would be really appreciated. Regards -- View this message in context: http://www.nabble.com/SOAP-XML-from-HttpRequest-tf4839475.html#a13845400 Sent from the Axis - User mailing list archive at Nabble.com. - 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]
SOAP XML from HttpRequest
Hi There I am kinda new to SOAP and may be its very basic question but I am having hard time to find the answer: how to extract/retrieve SOAP XML from am incoming HttpRequest. I want to intercept the incoming SOAP call and do some processing. From the HttpRequest header I know there is a SOAP call as the SOAPAction is set and the content type of rquest are "text/xml". Any help/pointers would be really appreciated. Regards -- View this message in context: http://www.nabble.com/SOAP-XML-from-HttpRequest-tf4839475.html#a13845400 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]