call env.build() and it will build the rest of the child elements
-- dims On 9/25/06, Ramasamy, Niraimathi (Cognizant) <[EMAIL PROTECTED]> wrote:
Hi , I would like to construct SOAP message from request object. Is there any option in Axis2 to construct SOAP Message. org.apache.axis2.context.MessageContext is the one receiving SOAP message from Client. I have tried with msgContext.getEnvelope(); But it is returning SOenvelope with only root element.child elements of <EventNotice> are missing. But i can able to get the values from java object. <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:q0="http://www.eclipse.org/ alf/XMLSchema/Events.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soa penv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <q0:EventNotice> </q0:EventNotice></soapenv:Body> </soapenv:Envelope> Please let me know , is there any other option to construct a soap message from request object in Axis2 Regards, Nirai This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com
-- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
