Hi
I am able to retreive the SOAP Body details like below. I have used the
XPATH expression.
I had to use the resultType as String. Since, I am getting the SOAP
extracted variable as an Object. Do I know why this happens ? No Auto
TypeConverters are there for XPATH variables ?
<camel:setHeader headerName="xpathUserName">
<camel:xpath
resultType="java.lang.String">//soapenv:Body/n:UserName[text()]</camel:xpath>
</camel:setHeader>
<camel:setHeader headerName="xpathPassword">
<camel:xpath
resultType="java.lang.String">//soapenv:Body/n:siteID[text()]</camel:xpath>
</camel:setHeader>
<camel:setHeader headerName="xpathPassword">
<camel:xpath
resultType="java.lang.String">//soapenv:Body/n:countryCode[text()]</camel:xpath>
</camel:setHeader>
And Also, I would like to know, after extracting the above information. *I
want to construct a new SOAP request message for other WebService which I am
Invoking,. How I can construct the SOAP request message at runtime ?*
Thanks in Advance,
Pradeep
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Extract-SOAP-Body-in-blueprint-XML-tp5714486p5714488.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.