cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to http/SOAP synchronous scenario

Former Member
0 Kudos

Hello,

I have a screnario from a abap proxy, and I have to call a http like this one

http://miwebsite.com/inform?matnr=262&werks=2

The website returns me a xml,


<ServicioWeb>

<ListaPaquetesNegocio>


<valuea>900,00</valuea>

</ListaPaquetesNegocio>

</ServicioWeb>


Wich type of communication channel do I have to use, type http or SOAP


If it is Http, what do I have to write in the fields:


addresing type is: url o http?

Target host: miwebsite.com

service number 80

path: /inform?matnr=262&werks=2



If it is SOAP

in the target URL, do I have to write http://miwebsite.com/inform?matnr=262&werks=2


Thank you very much

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Alejandro,

You can use the two kind of channels. If your XML has not a SOAP envelope is better to use the HTTP channel, although you can use SOAP channel with the check Do Not Use Envelope marked.


addresing type is: url o http?

Target host: miwebsite.com

service number 80

path: /inform?matnr=262&werks=2

You should use URL because http you need to have parametrized the connection in PI, for example in a dual PI stack in the transaction sm59. The rest of the parameters seems to be right to me.

I noticed that you URL path can be dynamic, am i right?

Regards.

Former Member
0 Kudos

Yes it will have dynamic path, depending on the material.

Former Member
0 Kudos

Hello,

As already suggested above use Http, and in addition to that use DC and contruct dynamic parameters in the URL using "Apply URL Parameters"

check this link-

Thanks

Amit Srivastava

iaki_vila
Active Contributor
0 Kudos

Hi Alejandro,

Then your scenario is more complicated, you would need to use ASMA configuration to do it, however you have an excellent blog to follow . Try that example and tell us if you find any problem.

Regards,

Former Member
0 Kudos

I put it as an soap, and with no changing parameters.

Thank you very much

Answers (0)