axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2672) "org.apache.axiom.soap.SOAPProcessingException:First Element must contain the local name, Envelope" error occurs when invoking a service deployed in soapsession scope
Date Thu, 07 Jun 2007 01:44:25 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502167
] 

Glen Daniels commented on AXIS2-2672:
-------------------------------------

Hi Charitha!

I tried your service, unmodified, with the current source.  I needed to make a couple of changes
to your client, though, to take account for the fact that I'm not on your machine.  Worked
like a charm and I got the expected response:

<ns:sumResponse xmlns:ns="http://ws.apache.org/axis2/xsd"><ns:return>14</ns:return></ns:sumResponse>

I'll attach my modified client, but am marking this unreproducible for right now.  Maybe there
was some issue with your repository?  Try running the client in an empty repository containing
just modules/addressing.mar and a default axis2.xml, maybe?


> "org.apache.axiom.soap.SOAPProcessingException:First Element must contain the local name,
Envelope" error occurs when invoking a service deployed in soapsession scope
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2672
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2672
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>         Environment: winxp, jdk15, Axis2-SNAPSHOT(nightly)
>            Reporter: Charitha Kankanamge
>            Assignee: Glen Daniels
>         Attachments: addtest.aar, SessionClient.java, sessionclient.java
>
>
> I downloaded a nightly snapshot and tested a service deployed on soapsession scope. The
following exception was thrown when sending a request to the service.
> 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:526)
> 	at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:158)
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:101)
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:77)
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:359)
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:198)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:144)
> 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:510)
> 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:490)
> 	at sessionclient.main(sessionclient.java:56)
> The service archive and client are attached here with.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message