cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice GET method HTTP_AAE

Former Member
0 Kudos

Hi,

My requirement is Webservice to SAP

I have to call or invoke a webservice to extract the XML and send it to SAP

how do i call a web service using http_aae GET service to extract the xml from the service

I dont see any option in HTTP_AAE to put the sender url to extract the data


I understand post is that the web service post some data to PI generated url but how does GET works, how does it communicatate to sender URL and extarct the XML to send it to SAP

I have gone through below blogs but nothing found exactly for HTTP_AAE GET

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/01/05/michals-pi-tips-exchange-rates-fr...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/08/11/calling-synchronous-restful-web-s...

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184720
Active Contributor
0 Kudos

>>>I understand post is that the web service post some data to PI generated url but how does GET works

Same like POST.  It depends on your sender system whether to choose GET/POST.

But in both in both the cases sender system has to push the request to PI.

>>>I have to call or invoke a webservice to extract the XML and send it to SAP

You can configure soap /HTTP_AAE receiver in synchronous mode to extract the xml from web-service.

May be you can redesign  the flow

.

ERP <-> PI <-> Webservice

Former Member
0 Kudos


Thank you for the response

Let me be more clear

I have invoke a webservice (wsdl) endpoint and get the XML out of it and send it to proxy

I am not sure how does soap/HTTP_AAE receiver help me in this scenario as receiver will be proxy

even if HTTP_AAE GET method sender has to trigger a call then it is ruled out for us, we have to follow micheals blog

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/01/05/michals-pi-tips-exchange-rates-fr...

is there any other way we can acheive this apart from Advantco adapter and java proxy ?

former_member184720
Active Contributor
0 Kudos

You were clear in your initial post as well.

>>>I am not sure how does soap/HTTP_AAE receiver help me in this scenario as receiver will be proxy

May be i should have been more clear.

When i say use soap receiver to extract the xml from web service, i've indicated that you should change the flow from async to sync.

i.e

ERP (Proxy ) <--synchronous request to extract data--> PI <--get xml from webservice using soap receiver--> Webservice

Or you can even try to design a Async -> Sync bridge to extract data.

File sender(trigger file) -> PI -> Soap adpater(Sync&Async bridge) -> ERP (Proxy)

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f96dbf-adca-3010-ffb5-daf2d1f0e...

Former Member
0 Kudos

Hi,

ou mean to say trigger a file as sender file adapter  and receiver is soap adapter (async) and use transform one way bean modules to convert it as asyn to sync and pass the response to proxy

we already excuted this flow suscessfully but this was a workaround, we were primarily looking for a direct approach to call or invoke the service and send the xml payalod to proxy I think this can be achived by micahles blog ? is that correct

former_member184720
Active Contributor
0 Kudos

Not sure. Even Michal was referring to the similar requirement under possible extensions.

You can give a try..