private void validateWSDL(ProcessorContext context, WebServiceBinding model) { WSDLDefinition wsdlDefinition = model.getUserSpecifiedWSDLDefinition(); Port port = model.getPort(); if (port != null){ validateWSDLPort(context, model, port); } Binding binding = model.getBinding(); if (binding != null){ validateWSDLBinding(context, model, binding); } }
private void validateWSDL(ProcessorContext context, WebServiceBinding model) { WSDLDefinition wsdlDefinition = model.getUserSpecifiedWSDLDefinition(); Port port = model.getPort(); if (port != null){ validateWSDLPort(context, model, port); } Binding binding = model.getBinding(); if (binding != null){ validateWSDLBinding(context, model, binding); } }
protected Dispatch<SOAPMessage> createStaticDispatch() { URL wsdlLocation = null; try { if (wsBinding.getGeneratedWSDLDocument() != null && wsBinding.getGeneratedWSDLDocument().getDocumentBaseURI() != null) { wsdlLocation = new URL(wsBinding.getGeneratedWSDLDocument().getDocumentBaseURI()); } } catch (Exception e) { // ignore and try getting the location from the other places } try { if (wsBinding.getUserSpecifiedWSDLDefinition().getLocation() != null) { wsdlLocation = wsBinding.getUserSpecifiedWSDLDefinition().getLocation().toURL(); } } catch (MalformedURLException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } if (wsdlLocation != null) { return createDispatchFromWSDL(wsdlLocation); } else { return createDispatchFromURI(endpointReference.getDeployedURI()); } }
String targetNamespace = wsBinding.getUserSpecifiedWSDLDefinition().getDefinition().getTargetNamespace(); try { WSDLWriter writer = WSDLFactory.newInstance().newWSDLWriter(); writer.writeWSDL(wsBinding.getUserSpecifiedWSDLDefinition().getDefinition(), outStream); } catch (Exception ex){ ex.printStackTrace();
String targetNamespace = wsBinding.getUserSpecifiedWSDLDefinition().getDefinition().getTargetNamespace(); try { WSDLWriter writer = WSDLFactory.newInstance().newWSDLWriter(); writer.writeWSDL(wsBinding.getUserSpecifiedWSDLDefinition().getDefinition(), outStream); } catch (Exception ex){ ex.printStackTrace();
wrapperNamespace = wsBinding.getUserSpecifiedWSDLDefinition().getNamespace();
addSchemas(wsBinding.getUserSpecifiedWSDLDefinition(), axisService);
wrapperNamespace = wsBinding.getUserSpecifiedWSDLDefinition().getNamespace();
wrapperNamespace = wsBinding.getUserSpecifiedWSDLDefinition().getNamespace();
WSDLDefinition wsdlDefinition = wsBinding.getUserSpecifiedWSDLDefinition(); if (wsdlDefinition == null) { error(monitor, "NoWsdlInterface", wsBinding, component.getName(), contract.getName());
WSDLDefinition wsdlDefinition = wsBinding.getUserSpecifiedWSDLDefinition(); if (wsdlDefinition == null) { error(monitor, "NoWsdlInterface", wsBinding, component.getName(), contract.getName());