{
final Message fRetValue[] = new Message[2];
if (m_messageMap != null)
{
XMLUtil.forEachElementRecur(portType, null, new ElementHandler()
{
public void handleElement(Element element)
{
if ("input".equals(element.getLocalName()))
{
if (parentName(element).equals(fOperationName))
{
fRetValue[0] = parseMessage(element);
}
}
else if ("output".equals(element.getLocalName()))
{
if (parentName(element).equals(fOperationName))
{
fRetValue[1] = parseMessage(element);
}
}
}
private Message parseMessage(Element element)
{
Element wsdlMessage = (Element)m_messageMap.get(stripNamespacePrefix(element.getAttribute("message")));
if (wsdlMessage != null)
{
final Message fRetVal[] = new Message[1];
XMLUtil.forEachChildElement(wsdlMessage, null, new ElementHandler()
{
public void handleElement(Element element)
{
if ("part".equals(element.getLocalName()))
{