Hi,
I am having two InvokeWebService Activities which invokes two webservices named Registration and Billing. These two services need 2 xml documents where as I am sending only one XmlDoc as request parameter for WebServiceInput activity's Interface which is the first activity in my workflow.
public interface IWorkflow{
void RegisterPatient(System.Xml.XmlNode request,out string response);}
That Xmldoc contains information for both services as RootElements like the following
<xml ............>
<PatientInfo><firstname>satya</firstname><lastname>.....</las...... </PatientInfo>
<PaymentInfo><Amount>200</Amount>.......</PaymentInfo>
</xml>
Now I want to map the node elements of Input XmlDoc to the both webservices based on their own Xmldoc's NodeElements. For example Registration Service will take <phone1><phone2> as nodes, but input xmldoc is having nodes as <MobilePhone><OfficePhone>. In this scenario I want to map these corresponding NodeElements in my workflow. Anybody help me in doing the above scenario with example code or in finding any tool available for mapping. Thanks in advance.
Software Development for Windows Vista16
|