Sounds familiar.

 

Seems like the envelope element is missing from the OUT message.

 

If you generated the code from WSDL2JAVA, send us the WSDL

Else if you wrote the client yourself, send the client code.

 

-- Chinthaka


From: Anthoni Tom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 10, 2005 2:45 PM
To: [email protected]
Subject: [axis2] invoking webservice

 

I’m invoking a webservice I deployed.

This is the error:

 

org.apache.axis2.engine.AxisFault: First Element must contain the local name, Envelope; nested exception is:

            org.apache.axis2.om.OMException: First Element must contain the local name, Envelope

            at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:83)

            at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:44)

            at org.apache.axis2.clientapi.TwoChannelBasedSender.send(TwoChannelBasedSender.java:49)

            at org.apache.axis2.clientapi.InOutMEPClient$NonBlockingInvocationWorker.doWork(InOutMEPClient.java:338)

            at org.apache.axis2.util.threadpool.ThreadWorker.run(ThreadWorker.java:34)

Caused by: org.apache.axis2.om.OMException: First Element must contain the local name, Envelope

            at org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:193)

            at org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:164)

            at org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder.next(StAXSOAPModelBuilder.java:302)

            at org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:149)

            at org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder.identifySOAPVersion(StAXSOAPModelBuilder.java:104)

            at org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:91)

            at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:78)

            ... 4 more

 

Sounds familiar for anyone?

 

(I’m invokingnonblocking)

 

Kind regards,

Tom Anthoni

Reply via email to