cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bozhong Lin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-626) soap12 sample (using HTTP Get) doesn't work
Date Thu, 17 May 2007 03:27:16 GMT

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


Mime
View raw message