public void SetupRelations(ElementStore store, Rpc2DocumentLiteralTranslator trans)
 {
     foreach (XmlElement op in elem)
     {
         if (op.LocalName == "input")
         {
             XmlNodeList inBodies = elem.OwnerDocument.SelectNodes("wsdl:definitions/wsdl:binding/wsdl:operation[@name='" + name + "']/wsdl:input/soap:body", nsmgr);
             inputMsg = ((R2DMessage)store.InputMessages[trans.Normalize(op.Attributes["message"].Value)]);
             inNS     = GetNamespace(inBodies);
         }
         if (op.LocalName == "output")
         {
             XmlNodeList outBodies = elem.OwnerDocument.SelectNodes("wsdl:definitions/wsdl:binding/wsdl:operation[@name='" + name + "']/wsdl:output/soap:body", nsmgr);
             outputMsg = ((R2DMessage)store.OutputMessages[trans.Normalize(op.Attributes["message"].Value)]);
             outNS     = GetNamespace(outBodies);
         }
     }
 }
 public void SetupRelations(ElementStore store, Rpc2DocumentLiteralTranslator trans)
 {
     foreach (XmlElement op in elem)
     {
         if (op.LocalName == "input")
         {
             XmlNodeList inBodies = elem.OwnerDocument.SelectNodes("wsdl:definitions/wsdl:binding/wsdl:operation[@name='" + name +"']/wsdl:input/soap:body", nsmgr);
             inputMsg = ((R2DMessage) store.InputMessages[trans.Normalize(op.Attributes["message"].Value)]);
             inNS = GetNamespace(inBodies);
         }
         if (op.LocalName == "output")
         {
             XmlNodeList outBodies = elem.OwnerDocument.SelectNodes("wsdl:definitions/wsdl:binding/wsdl:operation[@name='" + name +"']/wsdl:output/soap:body", nsmgr);
             outputMsg = ((R2DMessage) store.OutputMessages[trans.Normalize(op.Attributes["message"].Value)]);
             outNS = GetNamespace(outBodies);
         }
     }
 }