This content has been marked as final. Show 2 replies
"Brad Marshall" wrote:
Can I easily override the Service class?s retrieval of the WSDL from the Web service and point it instead at a local copy of the WSDL file? In out environment, every caller of the Web service also implements their own Web service with the identical interface, so we can enforce a rule that they have a copy local of the valid WSDL file.
URL wsdlURL = new File("resources/YourService.wsdl").toURL(); QName serviceName = new QName("yourWsdlNs", "ServiceQName"); Service service = Service.create(wsdlURL, serviceName);
Brilliant. That works. Thanks Richard.