http://www-128.ibm.com/developerworks/library/x-axiom/
You should use
SOAP11Factory fac = OMAbstractFactory.getSOAP11Factory () in place of OMFactory and
StAXSOAPModelBuilder in place of StAXModelBuilder
to get Soap specific things!!
hope this helps
Srinath
On 10/16/06,
Ramasamy, Niraimathi (Cognizant) <[EMAIL PROTECTED]> wrote:
Hi,I am trying to construct soap message in Axis2.I have tried with following:org.apache.axiom.soap.SOAPEnvelope env = msgContext.getEnvelope();But it is returning the envelope with empty message.I have also tried with env.build but it is causing the exception org.apache.axiom.om.OMException: java.util.NoSuchElementException
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java)I am trying with the latest nightly build version. Please help me to solve this.Regards,Niraimathi R
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
--
============================
Srinath Perera:
Indiana University, Bloomington
http://www.cs.indiana.edu/~hperera/
http://www.bloglines.com/blog/hemapani
