Ravi,
Invoke xmlStringToXMLNode
queryXMLNode(pass the node from the above step to this svc as the input.let’s say if you want to extract item number from the XML,under the variables tab,create itemNumber String and specify the query(XQL or WQL).After this service is executed,you will have itemNumber in the pipeline.
Now build the body for the smtp service as follows:set the value for the body input parameter of smtp svc as:
" A new XML order has been received. Find the order detail below. Please process the order accordinly.
Order Number:%OrderNumberFromTheAdapterSvc%
Item Number:%itemNumber%"(Note:this is extracted by the queryXMLNode svc)and dont forget to check the variable Substitution checkbox when you are setting the value of the body.
hope this helps.
ramesh.
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods