cancel
Showing results for 
Search instead for 
Did you mean: 

XML HTTP POST

Former Member
0 Kudos

Hi

I would like to send a http post including xml to (non-sap) a portal. The portal will answer with a xml soap message.

SAP WAS POST -


> PORTAL

SAP WAS <----- PORTAL Answer XML-Stream

can anybody help me?

Thanks.

Niklas

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

Welcome to SDN. Can you give us little more info on what exactly you want help.

Regards

Raja

Former Member
0 Kudos

I would like to request a soap interface directly out of my bsp application.

So I want to send a xml stream to the url of the interface and recive the answer.

step 1: send to url:

<?xml version='1.0' encoding='UTF-8'?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<valid>

<sess>123abc</sess>

:

:

</valid>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

step 2

After valid the portal will anser with an xml:

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

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<validResponse> <returnValue>

</returnValue>

</validResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

To read and parse the answer is no problem but how can i send the request?

any ideas?

Thanks!

Niklas

athavanraja
Active Contributor
0 Kudos

Check out the following weblog.

/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap

/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

Also have a look at the following weblog as you are a new member here.

/people/mark.finnern/blog/2004/08/10/spread-the-love

Regards

Raja