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
Reporter: Jonathan Anstey
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.