ret = importedDef.getPortType(name);
private PortType getPortType(QName ptName) { PortType portType = this.definition.getPortType(ptName); if (portType == null) { for (Definition d : importedDefinitions) { portType = d.getPortType(ptName); if (portType != null) { break; } } } return portType; }
private PortType getPortType(QName ptName) { PortType portType = this.definition.getPortType(ptName); if (portType == null) { for (Definition d : importedDefinitions) { portType = d.getPortType(ptName); if (portType != null) { break; } } } return portType; }
public PortType getPortType(QName qName) { return _def.getPortType(qName); }
public PortType getPortType(QName name) { if (isDebugEnabled) { log.debug(myClassName + ".getPortType(" + name + ")"); } if (wsdlDefinition != null) { return wsdlDefinition.getPortType(name); } return null; }
public PortType getPortType(QName name) { if (isDebugEnabled) { log.debug(myClassName + ".getPortType(" + name + ")"); } if (wsdlDefinition != null) { return wsdlDefinition.getPortType(name); } return null; }
public PortType getPortType(QName name) { if (isDebugEnabled) { log.debug(myClassName + ".getPortType(" + name + ")"); } if (wsdlDefinition != null) { return wsdlDefinition.getPortType(name); } return null; }
public PortType getPortType(QName name) { if (isDebugEnabled) { log.debug(myClassName + ".getPortType(" + name + ")"); } if (wsdlDefinition != null) { return wsdlDefinition.getPortType(name); } return null; }
portType = def.getPortType(portTypeName);
/** * Return the definition element that contains the portType element. * @param portType a PortType object. * @return the definition element that contains the portType element. */ public Definition getDefinition(PortType portType) { Definition definition = null; for (int i = 0; i < definitions.length && definition == null; i++) { if (definitions[i].getPortType(portType.getQName()) != null) definition = definitions[i]; } return definition; }
/** * Return the definition element that contains the portType element. * @param portType a PortType object. * @return the definition element that contains the portType element. */ public Definition getDefinition(PortType portType) { Definition definition = null; for (int i = 0; i < definitions.length && definition == null; i++) { if (definitions[i].getPortType(portType.getQName()) != null) definition = definitions[i]; } return definition; }
portType = def.getPortType(portTypeName);
public PortType getPortType(QName name) { if (isDebugEnabled) { log.debug(myClassName + ".getPortType(" + name + ")"); } getWrappedDefinitionForUse(); PortType results = null; if (wsdlDefinition != null) { results = wsdlDefinition.getPortType(name); } doneUsingWrappedDefinition(); return results; }
private void verifyPortComponentList(Definition wsdl) throws DeploymentException { if (this.portComponentRefMap == null) { return; } for (Class sei : this.portComponentRefMap.keySet()) { QName portType = JAXWSUtils.getPortType(sei); if (portType == null) { continue; } if (wsdl.getPortType(portType) == null) { throw new DeploymentException("No portType found in WSDL for SEI: " + sei.getName()); } } }
public PortType getPortType(QName name) { if (isDebugEnabled) { log.debug(myClassName + ".getPortType(" + name + ")"); } getWrappedDefinitionForUse(); PortType results = null; if (wsdlDefinition != null) { results = wsdlDefinition.getPortType(name); } doneUsingWrappedDefinition(); return results; }
private String getPortTypesOnly(Set<QName> names, Definition definition) { try { Definition tempDefinition = WSDLComparisonUtils.getWSDLDefinition(); for (QName name : names) { tempDefinition.addPortType(definition.getPortType(name)); } WSDLComparisonUtils.copyNamespaces(definition, tempDefinition); return WSDLComparisonUtils.getWSDLWithoutDeclaration(tempDefinition); } catch (WSDLException e) { log.error(e); } return null; } }
public void reconcileReferences(boolean deep) { if (element != null) { Definition definition = (Definition)getEnclosingDefinition(); QName portTypeQName = createQName(definition, element.getAttribute(WSDLConstants.TYPE_ATTRIBUTE), element); PortType newPortType = portTypeQName != null ? (PortType)definition.getPortType(portTypeQName) : null; if (newPortType != getEPortType()) { setEPortType(newPortType); } } super.reconcileReferences(deep); } } //BindingImpl
public PortType getWSDLPortType() { PortType portType = null; // EndpointDescriptionWSDL endpointDescWSDL = (EndpointDescriptionWSDL) getEndpointDescription(); // Binding wsdlBinding = endpointDescWSDL.getWSDLBinding(); // if (wsdlBinding != null) { // portType = wsdlBinding.getPortType(); // } Definition wsdlDefn = getWSDLDefinition(); if (wsdlDefn != null) { String tns = getEndpointDescription().getTargetNamespace(); String localPart = getEndpointDescription().getName(); if (localPart != null) { portType = wsdlDefn.getPortType(new QName(tns, localPart)); } } return portType; }
public PortType getWSDLPortType() { PortType portType = null; // EndpointDescriptionWSDL endpointDescWSDL = (EndpointDescriptionWSDL) getEndpointDescription(); // Binding wsdlBinding = endpointDescWSDL.getWSDLBinding(); // if (wsdlBinding != null) { // portType = wsdlBinding.getPortType(); // } Definition wsdlDefn = getWSDLDefinition(); if (wsdlDefn != null) { String tns = getEndpointDescription().getTargetNamespace(); String localPart = getEndpointDescription().getName(); if (localPart != null) { portType = wsdlDefn.getPortType(new QName(tns, localPart)); } } return portType; }
private PortType findPortType(Scope intfScope) { String tns = mapper.map(intfScope.getParent()); String intfName = intfScope.toString(); Definition defn = definition; if (tns != null) { defn = manager.getWSDLDefinition(tns); intfName = intfScope.tail(); } if (defn != null) { tns = defn.getTargetNamespace(); QName name = new QName(tns, intfName); return defn.getPortType(name); } return null; }