Getting HTTP Headers

Dear All,

My clinet is sending me XML file via HTTP Post. I created a service with the input (node). I am able to receive XML file via node input parameter. I also want to extract header informaiton. Your help is appreciated.

Regards,
Faisal

Read the pub.flow:getTransportInfo documentation in the built-in services guide.

Thanks for your reply,

I have one more question regarding consumer getting http response from WM Service. At the end of this service I am sending back only either Success or Failure but my client is getting following, but I only want to transmitt above message.

<?xml version="1.0" encoding="UTF-8"?> Success

Any advice please,

Regards,
Faisal

Populate a document containing only the information you want to return and clear the pipeline of all other values. You can also explicitly set the response using the pub.flow:setResponse built-in service.