You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2007/05/15 16:11:16 UTC

[jira] Created: (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

"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


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


[jira] Updated: (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

Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glen Daniels updated AXIS2-2672:
--------------------------------

    Attachment: SessionClient.java

Modified client

> "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


[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

Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Updated: (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

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge updated AXIS2-2672:
---------------------------------------

    Attachment: addtest.aar

Added service archive

> "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
>         Attachments: addtest.aar
>
>
> 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


[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

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502214 ] 

Charitha Kankanamge commented on AXIS2-2672:
--------------------------------------------

Hi Glen,
There were some problems in the soapsession scope during the time when I reported this issue(15 th of May).  AFAIK, soapsession is working properly in latest nightly builds. May be this isssue is indirectly fixed in the current source.

regards
Charitha

> "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


[jira] Resolved: (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

Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glen Daniels resolved AXIS2-2672.
---------------------------------

    Resolution: Cannot Reproduce

> "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


[jira] Updated: (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

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge updated AXIS2-2672:
---------------------------------------

    Attachment: sessionclient.java

Added client source

> "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
>         Attachments: addtest.aar, 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


[jira] Updated: (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

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2672:
------------------------------------

    Assignee: Glen Daniels

> "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
>
>
> 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