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