This exception is thrown when trying to build the SOAP envelope from the
response. The server is expecting a SOAP response but it receives something
else (That does not have a SOAP envelope). Can you run your request through
TCPMonitor and capture the messages. This will help figure out whats going
on.

Thanks,
Keith.

On Wed, Jul 2, 2008 at 11:54 PM, zvika <[EMAIL PROTECTED]> wrote:

>
>  Hi All,
>
> we have ws axis2 client that execute ws methods on iis server , it work
> fine
> usually but some how we get an AxisFault Exception :
>
> org.apache.axis2.AxisFault: First Element must contain the local name,
> Envelope
>        at
>
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:81)
>        at
>
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:356)
>        at
>
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
>        at
>
> com.orbograph.www.orboservice.OrboServiceStub.Execute(OrboServiceStub.java:386)
>        at JSereno.OrboServiceProxy._execute(OrboServiceProxy.java:711)
>        at JSereno.OrboServiceProxy.submit(OrboServiceProxy.java:554)
>        ... 9 more
> Caused by: org.apache.axiom.soap.SOAPProcessingException: First Element
> must
> contain the local name, Envelope
>        at
>
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:221)
>        at
>
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:179)
>        at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:135)
>        at
>
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:163)
>        at
>
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:111)
>        at
> org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:474)
>        at
>
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:142)
>        at
>
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:77)
>        ... 14 more
>
> the first question is , if the exception is thrown before or after the
> calling the ws method
> the second one what cause this exception to be thrown
>
> Thanks Zvika.
> --
> View this message in context:
> http://www.nabble.com/First-Element-must-contain-the-local-name%2C-Envelope-tp18243823p18243823.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Reply via email to