axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-802) Possible header formation bug
Date Fri, 21 Jul 2006 11:14:16 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-802?page=comments#action_12422618 ] 
            
Eran Chinthaka commented on AXIS2-802:
--------------------------------------

Seems the issue is fixed once user sets the current content type

> 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


Mime
View raw message