assertNotNull(wsdl);
QName serviceName = new QName("http://apache.org/hello_world_rpclit", "SOAPServiceProviderRPCLit");
QName portName = new QName("http://apache.org/hello_world_rpclit", "SoapPortProviderRPCLit8");
SOAPServiceRPCLit service = new SOAPServiceRPCLit(wsdl, serviceName);
assertNotNull(service);
String addresses[] = {
"http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit8",
"http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit8-dom",
"http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit8-sax",
"http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit8-cxfstax",
"http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit8-stax",
"http://localhost:9008/SOAPServiceProviderRPCLit/SoapPortProviderRPCLit8-stream"
};
String response1 = new String("TestGreetMeResponseServerLogicalHandlerServerSOAPHandler");
GreeterRPCLit greeter = service.getPort(portName, GreeterRPCLit.class);
for (String ad : addresses) {
((BindingProvider)greeter).getRequestContext()
.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, ad);
String greeting = greeter.greetMe("Milestone-0");
assertNotNull("no response received from service " + ad, greeting);