[ http://issues.apache.org/jira/browse/AXIS2C-97?page=all ]
     
Samisa Abeysinghe closed AXIS2C-97:
-----------------------------------

    Resolution: Invalid

This is a non issue. You seem to be using an old implementation of the soap 
service.

> XSI and XSD namespaces are missing in the SOAP message
> ------------------------------------------------------
>
>          Key: AXIS2C-97
>          URL: http://issues.apache.org/jira/browse/AXIS2C-97
>      Project: Axis2-C
>         Type: Bug
>   Components: core/engine
>     Versions: M0.4
>  Environment: Linux
>     Reporter: Nabeel Yoosuf

>
> When I run echo client through PHP using 0.4 SOAP engine, the tcpmon shows 
> the reply soap message as follows.
> <?xml version="1.0" encoding="UTF-8"?>
>    <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
>       <soapenv:Header 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
>          <wsa:ReplyTo>
>             
> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
>          </wsa:ReplyTo>
>          <wsa:ReferenceProperties></wsa:ReferenceProperties>
>          <wsa:From>
>             <wsa:Address>/axis2/services/echo/echo</wsa:Address>
>          </wsa:From>
>          <wsa:ReferenceProperties></wsa:ReferenceProperties>
>          <wsa:MessageID>980303ee-b2cf-1da1-269e-001125b4e529</wsa:MessageID>
>       </soapenv:Header>
>       <soapenv:Body>
>          <ns1:echoString 
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 
> xmlns:ns1="http://localhost:9090/axis2/services/echo";>
>             <text xsi:type="xsd:string">Hello World!</text>
>          </ns1:echoString>
>       </soapenv:Body>
>    </soapenv:Envelope>
> Here the namespaces for xsi and xsd are missing. Hence the client side does 
> not get a chance to process the msg.
> xml reader logs the following errors in this situation:
> [critical]  libxml2_reader_wrapper.c(838) Namespace prefix SOAP-ENV for 
> encodingStyle on echoString is not defined
>  -- SEVERITY_ERROR
> [critical]  libxml2_reader_wrapper.c(838) Namespace prefix xsi for type on 
> text is not defined
>  -- SEVERITY_ERROR
> [critical]  libxml2_reader_wrapper.c(433) critical error occured in xml reader

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

Reply via email to