axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels (JIRA)" <>
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


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=""><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:
>             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,,
> 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,
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(
> 	at
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(
> 	at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(
> 	at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(
> 	at org.apache.axis2.transport.TransportUtils.createDocumentElement(
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> 	at org.apache.axis2.client.OperationClient.execute(
> 	at org.apache.axis2.client.ServiceClient.sendReceive(
> 	at org.apache.axis2.client.ServiceClient.sendReceive(
> 	at sessionclient.main(
> 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:
For additional commands, e-mail:

View raw message