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

Davanum Srinivas commented on AXIS2-802:
----------------------------------------

Can u please post the whole stack trace? may be a test case for us to recreate 
the problem as well? Alternatively, please try the nightly builds 
(http://people.apache.org/dist/axis2/nightly/)

thanks,
dims

> Possible header formation bug
> -----------------------------
>
>          Key: AXIS2-802
>          URL: http://issues.apache.org/jira/browse/AXIS2-802
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: core
>     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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to