[wsf-c-dev] [jira] Created: (WSFPHP-186) .NET client interop problems with WSDL gen mode

Samisa Abeysinghe (JIRA) jira at wso2.org
Mon Jan 14 21:49:59 PST 2008


.NET client interop problems with WSDL gen mode
-----------------------------------------------

                 Key: WSFPHP-186
                 URL: http://wso2.org/jira/browse/WSFPHP-186
             Project: WSO2 WSF/PHP
          Issue Type: Bug
          Components: WSDL Generation 
    Affects Versions: 1.2.0
            Reporter: Samisa Abeysinghe
         Assigned To: Nandika Jayawardana
             Fix For: 1.2.1


I used the sample in samples/wsdl_generation/doclit_service.php with ?wsdl to implement a .NET client.

The .NET client sends the request and the service sends the correct response as well. However, the .NET client fails to decode the response sent by PHP service.
I assume there is a response format problem or a problem in the generated WSDL on PHP side.

Here are the request and response:

POST /samples/wsdl_generation/doclit_service.php HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.832)
VsDebuggerCausalityData: uIDPoyN86c/2T0NOpaM3FatazwwAAAAAp+UwmX+51UaQhc8em9zQa+VNEUuqpBhOssfqp0/KQA4ACAAA
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://127.0.0.1/samples/wsdl_generation/doclit_service.php/getPriceFunction"
Host: 127.0.0.1:8080
Content-Length: 367
Expect: 100-continue
Connection: Keep-Alive

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><getPrice xmlns="http://www.wso2.org/php/xsd"><item_name xmlns="">wso2</item_name><amount xmlns="">10</amount></getPrice></soap:Body></soap:Envelope>

HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Tue, 15 Jan 2008 05:27:25 GMT
Server: Apache/2.2.6 (Win32) PHP/5.2.5
X-Powered-By: PHP/5.2.5
Content-Length: 279
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/xml;charset=utf-8

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><getPriceResponse xmlns="http://www.wso2.org/php/xsd"><price xmlns:ns2="http://www.wso2.org/php/xsd">2505</price></getPriceResponse></soapenv:Body></soapenv:Envelope>
    


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://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