cancel
Showing results for 
Search instead for 
Did you mean: 

How to use HTTP Post action Block

Former Member
0 Kudos

Hi,

I havnt used HTTP Post in BLS in MII 11.5.

Can anyone please tell that how to use HTTP Post action Block in BLS and how/where to store the data which the HTTP post action block will fetch.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

jamie_cawley
Advisor
Advisor
0 Kudos

Did you take a look at the help docs? Each property is described...

http://help.sap.com/saphelp_xmii115/helpdata/en/Business_Logic_Services/post.htm

Jamie

Former Member
0 Kudos

Hi Jamie,

Thanks for the link. Yes, i referred to it but it will be of great help if you can tell me that how to use Post Data and Post Document.

jamie_cawley
Advisor
Advisor
0 Kudos

The url that you are posting to will be expecting a certain document, for example, if you are posting to a web service it would be expecting a soap envelope. You should be able to find plenty of examples on the web. If you are still having trouble describe what you are trying to do.

Jamie

Edited by: Jamie Cawley on Sep 22, 2010 3:37 PM

Former Member
0 Kudos

I want to fetch the data from a web Service and save that fetched data in xml file.

Edited by: Taranum Garg on Sep 23, 2010 9:34 AM

Former Member
0 Kudos

Hi,

any reason you are not using webservice action block?

jamie_cawley
Advisor
Advisor
0 Kudos

If you web service is available on the internet you could use http://www.soapclient.com/soapclient to generate the envelope. The response will be in the string or xml return.

The only reason to do this is if the web service was an rfc encoded type. The web service action only support doc liternal.

Jamie