WebserviceService service = new Service();
Webservice port = service.getPort();
Webservice port = service.getPort();
String wsdlURL = "http://indirizzo_server_qui/service"; //(usare "service" NON "service?wsdl")
((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,wsdlURL);
((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,wsdlURL
Nessun commento:
Posta un commento