SOAPService reverse = new SOAPService(new RPCProvider());
reverse.setOption("className", "test.RPCDispatch.Service");
reverse.setOption("allowedMethods", "reverseData");
provider.deployService(new QName(null, SOAPAction), reverse);
ServiceDesc serviceDesc = reverse.getServiceDescription();
serviceDesc.loadServiceDescByIntrospection(test.RPCDispatch.Service.class,
(TypeMapping)reverse.getTypeMappingRegistry().getDefaultTypeMapping());
// invoke the service and verify the result
Data input = new Data(5, "abc", 3);
Data expected = new Data(3, "cba", 5);