[wsf-c-dev] [jira] Created: (WSFPHP-374) WSDL mode service returns Warning: DOMDocument::loadXML() Namespace prefix wsa on {WS-Addressing}

matthew mcaughan (JIRA) jira at wso2.org
Thu Jan 29 13:04:04 PST 2009


WSDL mode service returns Warning: DOMDocument::loadXML() Namespace prefix wsa on {WS-Addressing} 
--------------------------------------------------------------------------------------------------

                 Key: WSFPHP-374
                 URL: https://wso2.org/jira/browse/WSFPHP-374
             Project: WSO2 WSF/PHP
          Issue Type: Bug
          Components: WSDL Mode
    Affects Versions: 2.0.0
         Environment: Service: Ubuntu 8.04.1, Apache2 , PHP5, libxml2 
Client: Windows XP, WSE 3.0
            Reporter: matthew mcaughan


When invoking a WS02 WSF/PHP service in WSDL mode it returns the following error complaining about the namespace on WS-Addressing tags that the WSE 3.0 library in Microsoft adds by default. Below is an example. Any ideas? Calling MTOM samples web services that are not in WSDL mode do not give this error.

POST /FileExchange/Service.php HTTP/1.1

User-Agent: Microsoft WSE 3.0

SOAPAction: "http://10.0.1.104/FileExchange/Service.php"

Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary633688372894579408; start="<0.633688372894579408 at example.org>"; start-info="text/xml; charset=utf-8"

Host: 10.0.1.104

Content-Length: 2660

Expect: 100-continue

Connection: Keep-Alive



HTTP/1.1 100 Continue





----MIMEBoundary633688372894579408

content-id: <0.633688372894579408 at example.org>

content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"

content-transfer-encoding: binary



<soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><wsa:Action>http://10.0.1.104/FileExchange/Service.php</wsa:Action><wsa:MessageID>urn:uuid:9481bfac-3116-45f5-9eca-dd892c7fb11f</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://10.0.1.104/FileExchange/Service.php</wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-8da11979-0082-4a59-ba8f-7c6a46cbfce6"><wsu:Created>2009-01-29T20:48:09Z</wsu:Created><wsu:Expires>2009-01-29T20:53:09Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><ExchangeRequestType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="UniqueID" Strategy="ExchangeStrategy" xmlns="http://www.empyreanbenefits.com/filehub"><Properties xmlns="http://www.empyreanbenefits.com/filehub/xsd"><Property><Name>MyNameIs0</Name><Value>MyValueIs0</Value></Property><Property><Name>MyNameIs1</Name><Value>MyValueIs1</Value></Property><Property><Name>MyNameIs2</Name><Value>MyValueIs2</Value></Property><Property><Name>MyNameIs3</Name><Value>MyValueIs3</Value></Property><Property><Name>MyNameIs4</Name><Value>MyValueIs4</Value></Property><Property><Name>MyNameIs5</Name><Value>MyValueIs5</Value></Property><Property><Name>MyNameIs6</Name><Value>MyValueIs6</Value></Property><Property><Name>MyNameIs7</Name><Value>MyValueIs7</Value></Property><Property><Name>MyNameIs8</Name><Value>MyValueIs8</Value></Property><Property><Name>MyNameIs9</Name><Value>MyValueIs9</Value></Property></Properties><Attachments xmlns="http://www.empyreanbenefits.com/filehub/xsd"><Attachment><Alias>MyAttachment</Alias><Location>c:\MyAttachment.txt</Location><Content>SWp4a2IzZHViRzloWkNCNGJXeHVjejBuYUhSMGNEb3ZMM0JvY0M1aGVHbHpNaTV2Y21jdmMyRnRjR3hsY3k5dGRHOXRKejRnZDJGeklHNXZkQ0JsZUhCbFkzUmxaQzRpRFFvTkNpSThaRzkzYm14dllXUWdlRzFzYm5NOUoyaDBkSEE2THk5d2FIQXVZWGhwY3pJdWIzSm5MM05oYlhCc1pYTXZiWFJ2YlNjK0lIZGhjeUJ1YjNRZ1pYaHdaV04wWldRdUlnPT0=</Content></Attachment></Attachments></ExchangeRequestType></soap:Body></soap:Envelope>

----MIMEBoundary633688372894579408--

HTTP/1.1 200 OK

Date: Thu, 29 Jan 2009 20:47:46 GMT

Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch

X-Powered-By: PHP/5.2.4-2ubuntu5.4

Content-Length: 2172

Keep-Alive: timeout=15, max=100

Connection: Keep-Alive

Content-Type: text/html



<br />
<b>Warning</b>:  DOMDocument::loadXML() [<a href='function.DOMDocument-loadXML'>function.DOMDocument-loadXML</a>]: Namespace prefix wsa on MessageID is not defined in Entity, line: 1 in <b>wsf_wsdl.php</b> on line <b>675</b><br />
<br />
<b>Warning</b>:  DOMDocument::loadXML() [<a href='function.DOMDocument-loadXML'>function.DOMDocument-loadXML</a>]: Namespace prefix wsa on ReplyTo is not defined in Entity, line: 1 in <b>wsf_wsdl.php</b> on line <b>675</b><br />
<br />
<b>Warning</b>:  DOMDocument::loadXML() [<a href='function.DOMDocument-loadXML'>function.DOMDocument-loadXML</a>]: Namespace prefix wsa on Address is not defined in Entity, line: 1 in <b>wsf_wsdl.php</b> on line <b>675</b><br />
<br />
<b>Warning</b>:  DOMDocument::loadXML() [<a href='function.DOMDocument-loadXML'>function.DOMDocument-loadXML</a>]: Namespace prefix wsa on To is not defined in Entity, line: 1 in <b>wsf_wsdl.php</b> on line <b>675</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at wsf_wsdl.php:675) in <b>/var/www/FileExchange/Service.php</b> on line <b>161</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at wsf_wsdl.php:675) in <b>/var/www/FileExchange/Service.php</b> on line <b>161</b><br />
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action>http://10.0.1.104/FileExchange/Service.php</wsa:Action><wsa:From><wsa:Address>http://10.0.1.104/FileExchange/Service.php</wsa:Address></wsa:From><wsa:MessageID>urn:uuid:158eccb2-ee46-1dd1-3c23-000f1f89f3f2</wsa:MessageID><wsa:RelatesTo wsa:RelationshipType="wsa:Reply" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:9481bfac-3116-45f5-9eca-dd892c7fb11f</wsa:RelatesTo></soapenv:Header><soapenv:Body><ns1:ExecuteExchangeResponse xsi:nil="1" xmlns:ns1="http://www.empyreanbenefits.com/filehub/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></soapenv:Body></soapenv:Envelope>

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

       



More information about the Wsf-c-dev mailing list