You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/05/17 05:27:16 UTC

[jira] Updated: (CXF-626) soap12 sample (using HTTP Get) doesn't work

     [ https://issues.apache.org/jira/browse/CXF-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozhong Lin updated CXF-626:
----------------------------

        Fix Version/s: 2.0
             Assignee: Jervis Liu
    Affects Version/s: 2.0-RC

see also CXF-584 for more information

> soap12 sample (using HTTP Get) doesn't work
> -------------------------------------------
>
>                 Key: CXF-626
>                 URL: https://issues.apache.org/jira/browse/CXF-626
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-RC
>            Reporter: Jonathan Anstey
>         Assigned To: Jervis Liu
>             Fix For: 2.0
>
>
> When ant client.get is run, you get the following:	
> Buildfile: build.xml
> maybe.generate.code:
> compile:
> build:
> client.get:
>      [java] Invoking server through HTTP GET to invoke sayHi
>      [java] **** Response ******
>      [java] <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><ns2:sayHiResponse xmlns:ns2="http://apache.org/hello_world_soap12_http/types" xmlns="http://www.w3.org/2005/08/addressing/wsdl"><ns2:responseType>Bonjour</ns2:responseType></ns2:sayHiResponse></soap:Body></soap:Envelope>
>      [java] Invoking server through HTTP GET to invoke greetMe
>      [java] GreetMe Fault: Server returned HTTP response code: 500 for URL: http://localhost:9000/SoapContext/SoapPort/greetMe/me/CXF
>      [java] **** Response ******
>      [java] <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">Parameter should be ordered in the following sequence: [greetMe]</soap:Text></soap:Reason></soap:Fault></soap:Body></soap:Envelope>
>      [java] Invoking server through HTTP GET to invoke greetMe
>      [java] Exception in thread "main" java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9000/SoapContext/SoapPort/greetMe/requestType/CXF
>      [java] 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1153)
>      [java] 	at demo.hw.client.Get.main(Get.java:77)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.