if (!portType.isUndefined())
/** * Populate the symbol table with all of the PortTypeEntry's from the Definition. * * @param def * @throws IOException */ private void populatePortTypes(Definition def) throws IOException { Iterator i = def.getPortTypes().values().iterator(); while (i.hasNext()) { PortType portType = (PortType) i.next(); // If the portType is undefined, then we're parsing a Definition // that didn't contain a portType, merely a binding that referred // to a non-existent port type. Don't bother with it. if (!portType.isUndefined()) { ensureOperationsOfPortTypeValid(portType); PortTypeEntry ptEntry = new PortTypeEntry(portType); symbolTablePut(ptEntry); } } } // populatePortTypes
/** * Populate the symbol table with all of the PortTypeEntry's from the Definition. * * @param def * @throws IOException */ private void populatePortTypes(Definition def) throws IOException { Iterator i = def.getPortTypes().values().iterator(); while (i.hasNext()) { PortType portType = (PortType) i.next(); // If the portType is undefined, then we're parsing a Definition // that didn't contain a portType, merely a binding that referred // to a non-existent port type. Don't bother with it. if (!portType.isUndefined()) { ensureOperationsOfPortTypeValid(portType); PortTypeEntry ptEntry = new PortTypeEntry(portType); symbolTablePut(ptEntry); } } } // populatePortTypes
/** * Populate the symbol table with all of the PortTypeEntry's from the Definition. * * @param def * @throws IOException */ private void populatePortTypes(Definition def) throws IOException { Iterator i = def.getPortTypes().values().iterator(); while (i.hasNext()) { PortType portType = (PortType) i.next(); // If the portType is undefined, then we're parsing a Definition // that didn't contain a portType, merely a binding that referred // to a non-existent port type. Don't bother with it. if (!portType.isUndefined()) { ensureOperationsOfPortTypeValid(portType); PortTypeEntry ptEntry = new PortTypeEntry(portType); symbolTablePut(ptEntry); } } } // populatePortTypes
if (portType.isUndefined())
if (!servicePortType.isUndefined())
portTypesByNamespace.put(targetNS, list); if (portType.isUndefined() == false) list.add(portType);
PortType portType = (PortType) ip.next(); if (portType.isUndefined()) { if (filename == null) { throw new IOException(
PortType portType = (PortType) ip.next(); if (portType.isUndefined()) { if (filename == null) { throw new IOException(
/** The binding might reference a port type which is defined in another wsdl */ private PortType getDefinedPortType(Binding srcBinding) throws WSDLException { QName srcBindingQName = srcBinding.getQName(); PortType srcPortType = srcBinding.getPortType(); if (srcPortType == null) throw new WSDLException(WSDLException.INVALID_WSDL, "Cannot find port type for binding: " + srcBindingQName); QName srcPortTypeName = srcPortType.getQName(); if (srcPortType.isUndefined()) { String nsURI = srcPortTypeName.getNamespaceURI(); List<PortType> portTypes = portTypesByNamespace.get(nsURI); if (portTypes == null) throw new WSDLException(WSDLException.INVALID_WSDL, "Cannot find port types for namespace: " + nsURI); for (PortType auxPortType : portTypes) { if (srcPortTypeName.equals(auxPortType.getQName())) { srcPortType = auxPortType; break; } } } return srcPortType; }
PortType portType = (PortType) ip.next(); if (portType.isUndefined()) { if (filename == null) { throw new IOException(
if (!portType.isUndefined())
if (portType.isUndefined())
if (portType.isUndefined()) { String[] args = {portType.getQName().getLocalPart(), b.getQName().getLocalPart()}; valInfo.addError(
if (pEntry.getPortType().isUndefined()) { continue;
if (pEntry.getPortType().isUndefined()) { continue;
if (pEntry.getPortType().isUndefined()) { continue;
portType.setQName(portTypeName); else if (!portType.isUndefined())
|| (portType.isUndefined())) || (portType.isUndefined())) definition.getPortType(serviceReference.getWSDLElement().getQName())) == null) || (portType.isUndefined())) serviceReference.getWSDLElement().getParentElementQName())) == null) || (portType.isUndefined()))
|| (portType.isUndefined())) || (portType.isUndefined())) definition.getPortType(serviceReference.getWSDLElement().getQName())) == null) || (portType.isUndefined())) serviceReference.getWSDLElement().getParentElementQName())) == null) || (portType.isUndefined()))