Retreivng data from HTTP POST

Hi,

I have a reqirement, where my cleint will be sending the data to my service, In my service I will be redirecting to wm.tn/receive service by using pub.cleint.http.
While redirecting, how can I retreive the Input data from the HTTP POST and send it to my serice.

1)Client send the data(xml data) thru http post, calls my serivcethru pub.client.http(http://myserver:5555/invoke/myservice/service?)
2)In my developer, I will receive the data and use another service to redirect to TN.(http://myserver:/invoke/wm.tn/receive)
Q) In 1 how can I get the XML data which is coming form http post .

Please help me
Thanks in advance …

Regards,
Sunny

Regards,
Sunny

Sunny,

XML string will be available to your service as a node object, if the client sets the Content-Type as text/xml.your service should have node object as input and use XMLNodetoXMLDocument service to convert it into document and process it how ever you want.

ramesh.

Sunny,

Your receiving service input should be node object ,this will be in the pipeline when doing http request posting xml document directly to a custom gateway service.This is a very basic procedure in WM.

Your first step should be XMLNodeToDocument(for XML parsing)

HTH,
RMG

Hi Ramesh & RMG,

That worked…Thanks a lot for your help.

Regards,
Sunny