PortType portType = binding.resolvePortType(wsdlDocument);
PortType portType = binding.resolvePortType(wsdlDocument);
PortType portType = binding.resolvePortType(wsdlDocument);
PortType portType = binding.resolvePortType(wsdlDocument);
private boolean getWrapperStyleCustomization() { //first we look into wsdl:portType/wsdl:operation com.sun.tools.ws.wsdl.document.Operation portTypeOperation = info.portTypeOperation; JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeOperation, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then into wsdl:portType PortType portType = info.port.resolveBinding(document).resolvePortType(document); jaxwsBinding = (JAXWSBinding) getExtensionOfType(portType, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then wsdl:definitions jaxwsBinding = (JAXWSBinding) getExtensionOfType(document.getDefinitions(), JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } return true; }
private boolean getWrapperStyleCustomization() { //first we look into wsdl:portType/wsdl:operation com.sun.tools.ws.wsdl.document.Operation portTypeOperation = info.portTypeOperation; JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeOperation, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then into wsdl:portType PortType portType = info.port.resolveBinding(document).resolvePortType(document); jaxwsBinding = (JAXWSBinding) getExtensionOfType(portType, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then wsdl:definitions jaxwsBinding = (JAXWSBinding) getExtensionOfType(document.getDefinitions(), JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } return true; }
private boolean getWrapperStyleCustomization() { //first we look into wsdl:portType/wsdl:operation com.sun.tools.ws.wsdl.document.Operation portTypeOperation = info.portTypeOperation; JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeOperation, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then into wsdl:portType PortType portType = info.port.resolveBinding(document).resolvePortType(document); jaxwsBinding = (JAXWSBinding) getExtensionOfType(portType, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then wsdl:definitions jaxwsBinding = (JAXWSBinding) getExtensionOfType(document.getDefinitions(), JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } return true; }
private boolean getWrapperStyleCustomization() { //first we look into wsdl:portType/wsdl:operation com.sun.tools.ws.wsdl.document.Operation portTypeOperation = info.portTypeOperation; JAXWSBinding jaxwsBinding = (JAXWSBinding) getExtensionOfType(portTypeOperation, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then into wsdl:portType PortType portType = info.port.resolveBinding(document).resolvePortType(document); jaxwsBinding = (JAXWSBinding) getExtensionOfType(portType, JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } //then wsdl:definitions jaxwsBinding = (JAXWSBinding) getExtensionOfType(document.getDefinitions(), JAXWSBinding.class); if (jaxwsBinding != null) { Boolean isWrappable = jaxwsBinding.isEnableWrapperStyle(); if (isWrappable != null) { return isWrappable; } } return true; }
PortType portType = binding.resolvePortType(document); PortType pt = binding.resolvePortType(document); String jd = (pt.getDocumentation() != null) ? pt.getDocumentation().getContent() : null; port.getJavaInterface().setJavaDoc(jd); applyWrapperStyleCustomization(port, binding.resolvePortType(document));
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName())); PortType portType = binding.resolvePortType(document); if (isAsync(portType, info.portTypeOperation)) { warning(portType, "Can not generate Async methods for non-soap binding!");
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName())); PortType portType = binding.resolvePortType(document); if (isAsync(portType, info.portTypeOperation)) { warning(portType, "Can not generate Async methods for non-soap binding!");
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName())); PortType portType = binding.resolvePortType(document); if (isAsync(portType, info.portTypeOperation)) { warning(portType, "Can not generate Async methods for non-soap binding!");
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName())); PortType portType = binding.resolvePortType(document); if (isAsync(portType, info.portTypeOperation)) { warning(portType, "Can not generate Async methods for non-soap binding!");
PortType portType = binding.resolvePortType(document); if (isAsync(portType, info.portTypeOperation)) { addAsyncOperations(info.operation, styleAndUse);
PortType portType = binding.resolvePortType(document); if (isAsync(portType, info.portTypeOperation)) { addAsyncOperations(info.operation, styleAndUse);
PortType portType = binding.resolvePortType(document); if (isAsync(portType, info.portTypeOperation)) { addAsyncOperations(info.operation, styleAndUse);
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName()));
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName()));
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName()));
} else { error(info.portTypeOperation, ModelerMessages.WSDLMODELER_INVALID_OPERATION_NOT_SUPPORTED_STYLE(info.portTypeOperation.getName(), info.port.resolveBinding(document).resolvePortType(document).getName()));