private void ParseWsdlServicePort(WsdlServicePort port)
{
Util.Log("WsdlParser.ParseWsdlServicePort");
int curDepth = _XMLReader.Depth;
ReadNextXmlElement();
while (_XMLReader.Depth > curDepth)
{
String elementName = _XMLReader.LocalName;
if (MatchingNamespace(s_wsdlSoapNamespaceString) &&
MatchingStrings(elementName, s_addressString))
{
if (port.locations == null)
port.locations = new ArrayList(10);
port.locations.Add(LookupAttribute(s_locationString, null, true));
ReadNextXmlElement();
continue;
}
// Ignore others elements such as annotations
SkipXmlElement();
}
}