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 "Eran Chinthaka (JIRA)" <ji...@apache.org> on 2006/07/21 13:14:14 UTC

[jira] Updated: (AXIS2-802) Possible header formation bug

     [ http://issues.apache.org/jira/browse/AXIS2-802?page=all ]

Eran Chinthaka updated AXIS2-802:
---------------------------------

    Comment: was deleted

> Possible header formation bug
> -----------------------------
>
>                 Key: AXIS2-802
>                 URL: http://issues.apache.org/jira/browse/AXIS2-802
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0
>         Environment: Linux Fedora Core 5, JBoss 4.1
>            Reporter: Denis Orlov
>
> I am trying to test a service with the header. I auto generated stubs
> and every time I invoke the service it returns the following message:
> org.apache.axis2.AxisFault: SOAPEnvelope must contain a body element
> which is either first or second child element of the SOAPEnvelope.
> The service works fine if the header is not set. The header is a simple
> object with 3 string fields. I do not have a header handler on the
> server side.
> Here is the SOAP message:
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><ns1:ProcessFlowContext xmlns:ns1="http://tests.ws.dbvr.com/types"><id>111111111</id><user>ege</user><pswd>hh</pswd></ns1:ProcessFlowContext></soapenv:Header><soapenv:Body><ns1:msg xmlns:ns1="http://tests.ws.dbvr.com/types"><token>erewtr4</token><phone>sfddffcew</phone><message>efewfde</message></ns1:msg></soapenv:Body></soapenv:Envelope>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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