protected static com.sun.tools.ws.wsdl.document.Message findMessage( QName messageName, WSDLDocument document) { com.sun.tools.ws.wsdl.document.Message message = null; try { message = (com.sun.tools.ws.wsdl.document.Message)document.find( Kinds.MESSAGE, messageName); } catch (NoSuchEntityException e) { } return message; }
protected static com.sun.tools.ws.wsdl.document.Message findMessage( QName messageName, WSDLDocument document) { com.sun.tools.ws.wsdl.document.Message message = null; try { message = (com.sun.tools.ws.wsdl.document.Message)document.find( Kinds.MESSAGE, messageName); } catch (NoSuchEntityException e) { } return message; }
protected static com.sun.tools.ws.wsdl.document.Message findMessage( QName messageName, WSDLDocument document) { com.sun.tools.ws.wsdl.document.Message message = null; try { message = (com.sun.tools.ws.wsdl.document.Message)document.find( Kinds.MESSAGE, messageName); } catch (NoSuchEntityException e) { } return message; }
protected static com.sun.tools.ws.wsdl.document.Message findMessage( QName messageName, WSDLDocument document) { com.sun.tools.ws.wsdl.document.Message message = null; try { message = (com.sun.tools.ws.wsdl.document.Message)document.find( Kinds.MESSAGE, messageName); } catch (NoSuchEntityException e) { } return message; }
protected String getJavaNameOfSEI(Port port) { QName portTypeName = (QName) port.getProperty( ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME); PortType pt = (PortType) document.find(Kinds.PORT_TYPE, portTypeName); //populate the portType map here. We should get rid of all these properties // lets not do it as it may break NB //TODO: clean all these stuff part of NB RFE port.portTypes.put(portTypeName, pt); JAXWSBinding jaxwsCust = (JAXWSBinding) getExtensionOfType(pt, JAXWSBinding.class); if (jaxwsCust != null && jaxwsCust.getClassName() != null) { CustomName name = jaxwsCust.getClassName(); if (name != null && !name.getName().equals("")) { return makePackageQualified(name.getName()); } } String interfaceName; if (portTypeName != null) { // got portType information from WSDL, use it to name the interface interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(portTypeName.getLocalPart())); } else { // somehow we only got the port name, so we use that interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(port.getName().getLocalPart())); } return interfaceName; }
protected String getJavaNameOfSEI(Port port) { QName portTypeName = (QName) port.getProperty( ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME); PortType pt = (PortType) document.find(Kinds.PORT_TYPE, portTypeName); //populate the portType map here. We should get rid of all these properties // lets not do it as it may break NB //TODO: clean all these stuff part of NB RFE port.portTypes.put(portTypeName, pt); JAXWSBinding jaxwsCust = (JAXWSBinding) getExtensionOfType(pt, JAXWSBinding.class); if (jaxwsCust != null && jaxwsCust.getClassName() != null) { CustomName name = jaxwsCust.getClassName(); if (name != null && !name.getName().equals("")) { return makePackageQualified(name.getName()); } } String interfaceName; if (portTypeName != null) { // got portType information from WSDL, use it to name the interface interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(portTypeName.getLocalPart())); } else { // somehow we only got the port name, so we use that interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(port.getName().getLocalPart())); } return interfaceName; }
protected String getJavaNameOfSEI(Port port) { QName portTypeName = (QName) port.getProperty( ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME); PortType pt = (PortType) document.find(Kinds.PORT_TYPE, portTypeName); //populate the portType map here. We should get rid of all these properties // lets not do it as it may break NB //TODO: clean all these stuff part of NB RFE port.portTypes.put(portTypeName, pt); JAXWSBinding jaxwsCust = (JAXWSBinding) getExtensionOfType(pt, JAXWSBinding.class); if (jaxwsCust != null && jaxwsCust.getClassName() != null) { CustomName name = jaxwsCust.getClassName(); if (name != null && !name.getName().equals("")) { return makePackageQualified(name.getName()); } } String interfaceName; if (portTypeName != null) { // got portType information from WSDL, use it to name the interface interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(portTypeName.getLocalPart())); } else { // somehow we only got the port name, so we use that interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(port.getName().getLocalPart())); } return interfaceName; }
protected String getJavaNameOfSEI(Port port) { QName portTypeName = (QName) port.getProperty( ModelProperties.PROPERTY_WSDL_PORT_TYPE_NAME); PortType pt = (PortType) document.find(Kinds.PORT_TYPE, portTypeName); //populate the portType map here. We should get rid of all these properties // lets not do it as it may break NB //TODO: clean all these stuff part of NB RFE port.portTypes.put(portTypeName, pt); JAXWSBinding jaxwsCust = (JAXWSBinding) getExtensionOfType(pt, JAXWSBinding.class); if (jaxwsCust != null && jaxwsCust.getClassName() != null) { CustomName name = jaxwsCust.getClassName(); if (name != null && !name.getName().equals("")) { return makePackageQualified(name.getName()); } } String interfaceName; if (portTypeName != null) { // got portType information from WSDL, use it to name the interface interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(portTypeName.getLocalPart())); } else { // somehow we only got the port name, so we use that interfaceName = makePackageQualified(BindingHelper.mangleNameToClassName(port.getName().getLocalPart())); } return interfaceName; }