WSDLInterface intf = intfs[i];
if (!namespace.equals(intf.getName().getNamespaceURI()))
continue;
buffer.append("<portType name='" + intf.getName().getLocalPart() + "'");
WSDLProperty policyProp = intf.getProperty(Constants.WSDL_PROPERTY_POLICYURIS);
if (policyProp != null)
{
String prefix = wsdl.getPrefix(Constants.URI_WS_POLICY);
buffer.append(" ");
buffer.append(prefix);
buffer.append(":");
buffer.append(Constants.WSDL_ATTRIBUTE_WSP_POLICYURIS.getLocalPart());
buffer.append("='");
buffer.append(policyProp.getValue());
buffer.append("'");
}
buffer.append(">");
appendPortOperations(buffer, intf);
buffer.append("</portType>");