SOAPService echoInt = new SOAPService(new RPCProvider());
echoInt.setOption("className", "test.RPCDispatch.Service");
echoInt.setOption("allowedMethods", "echoInt");
provider.deployService(new QName(null, SOAPAction), echoInt);
ServiceDesc serviceDesc = echoInt.getServiceDescription();
serviceDesc.loadServiceDescByIntrospection(test.RPCDispatch.Service.class,
(TypeMapping)echoInt.getTypeMappingRegistry().getDefaultTypeMapping());
// invoke the service and verify the result
assertNull("The result was not null as expected.", rpc("echoInt", new Object[] {null}));
}