From 5963a2d3d6860fe57afc138f095bf2d2eb5a7b80 Mon Sep 17 00:00:00 2001 From: lresende Date: Mon, 7 Oct 2013 22:23:21 +0000 Subject: Official Tuscany 2.0.1 Release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1530096 13f79535-47bb-0310-9956-ffa450edef68 --- .../testing/itest/ws/contribution-rpc-lit/README | 254 +++++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 sca-java-2.x/tags/2.0.1/testing/itest/ws/contribution-rpc-lit/README (limited to 'sca-java-2.x/tags/2.0.1/testing/itest/ws/contribution-rpc-lit/README') diff --git a/sca-java-2.x/tags/2.0.1/testing/itest/ws/contribution-rpc-lit/README b/sca-java-2.x/tags/2.0.1/testing/itest/ws/contribution-rpc-lit/README new file mode 100644 index 0000000000..fe73646e78 --- /dev/null +++ b/sca-java-2.x/tags/2.0.1/testing/itest/ws/contribution-rpc-lit/README @@ -0,0 +1,254 @@ +RPC Literal WSDL Style +====================== + +Interface +--------- + +@Remotable +public interface HelloWorld { + String getGreetings(String s); + String getGreetingsException(String s) throws ServiceRuntimeException; + Foo getGreetingsComplex(Foo foo); +} + +WSDL +---- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +getGreetings SOAP Request/Response +---------------------------------- + +POST /HelloWorldService/HelloWorld-rpclit-porttype HTTP/1.1 +Content-Type: text/xml; charset=UTF-8 +SOAPAction: "" +User-Agent: Axis2 +Host: localhost:8088 +Content-Length: 480 + + + + + + Fred + + + + + +HTTP/1.1 200 OK +Content-Type: text/xml; charset=utf-8 +Transfer-Encoding: chunked + +1FE + + + + + Hello Fred + + + + + +getGreetingsException SOAP Request/Response +------------------------------------------- + +POST /HelloWorldService/HelloWorld-rpclit-porttype HTTP/1.1 +Content-Type: text/xml; charset=UTF-8 +SOAPAction: "" +User-Agent: Axis2 +Host: localhost:8088 +Content-Length: 507 + + + + + + Fred + + + + + +HTTP/1.1 500 Internal Server Error +Content-Type: text/xml; charset=utf-8 +Transfer-Encoding: chunked + +133C + + + + + soapenv:Server + org.apache.tuscany.sca.interfacedef.util.FaultE + xception cannot be cast to org.apache.axiom.om.OMElement + + ... + + + + + + +TODO - exception is wrong + +getGreetingsComplex SOAP Request/Response +----------------------------------------- + +POST /HelloWorldService/HelloWorld-rpclit-porttype HTTP/1.1 +Content-Type: text/xml; charset=UTF-8 +SOAPAction: "" +User-Agent: Axis2 +Host: localhost:8088 +Content-Length: 570 + + + + + + + + true + petra + 1 + 2 + + + false + beate + 3 + 4 + + + + + + +HTTP/1.1 200 OK +Content-Type: text/xml; charset=utf-8 +Transfer-Encoding: chunked + +281 + + + + + + + true + petra + 1 + 2 + + + false + bea + te + 3 + 4 + + + true + simon + 7 + 8 + + + + + \ No newline at end of file -- cgit v1.2.3