public UDDIInquiryPortType getUDDIInquiryService(String endpointURL) throws TransportException {
if (inquiryService==null) {
try {
if (endpointURL==null) {
UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
endpointURL = manager.getClientConfig().getUDDINode(nodeName).getInquiryUrl();
}
UDDIService service = new UDDIService();
inquiryService = service.getUDDIInquiryPort();
Map<String, Object> requestContext = ((BindingProvider) inquiryService).getRequestContext();
requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointURL);