-JAR
----META-INF/
----wsdl/service.wsdl
Then, you can instantiate client port as below
URL wsdlLocation = MyClass.class.getResource("/wsdl/service.wsdl");
MyService service = new MyService(wsdlLocation);
MyPort proxy = service.getBasicHttpBindingPort();
((BindingProvider) proxy).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, serviceEndPointUrl);
.
No comments:
Post a Comment