cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP_AAE to SOAP scenario (Dynamic SOAP Action)

former_member181962
Active Contributor
0 Kudos

Hi experts,

  I have the following scenario.

On the source side, the user just enters a url with a parameter which is variable.

Using this parameter, we have to dynamically call a web-service on the receiver webservice.

There is no payload that is transferred from the source side.

can you help me with the design?

Best Regards,

Ravikanth Talagana

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Since they are sending parameters as query string ( I guess) you can still create payload for the query string parameters in the sender message type.  On the receiver structure you can have similar fields and map the value from the sender structure. Using variable substitution or dynamic configuration you can set the soap action in the mapping from the sender side structure parameter value.

You might want to study the section 7 and 8

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/327519a3af58d8e10000000a421937/frameset.htm

Use this link for dynamic soap action logic

http://elnetweaver.wordpress.com/2012/01/09/sap-pi-dynamic-soap-action-using-dynamicconfiguration-an...

former_member181962
Active Contributor
0 Kudos

Hi Bhaskar,

   How can we test this?

The HTTP_AAE client test tool has a payload box that we have to fill.

can we leave it blank and test?

former_member181985
Active Contributor
0 Kudos

Hi Ravi,

I think you don't require HTTP_AAE client tool. Just enter the URL in any browser, that's all.

As per SAP Help,

http:// <hostname:port> / <path> ? <query-string>

Where,

  • path = /HttpAdapter/HttpMessageServlet
  • query-string = ?interfaceNamespace= <interfaceNamespace> &interface= <interface> >& senderService= <senderService> &senderParty= <senderParty> &qos= <qos> & PayloadParameter=<it's value>


&receiverParty=<receiverParty> &receiverService= <receiverService> - not required

Regards,

Praveen Gujjeti

Answers (1)

Answers (1)

former_member181985
Active Contributor
0 Kudos

Hi Ravi,


using HTTP_AAE Sender adapter with message protocol as GET, your requirement should be possible. However the value parameter cann't be a variable since in XI it gets registered with the parameter what we give in HTTP_AAE sender channel. Of course, the value for this parameter can be variable and any text

As Bhaskar mentioned, you can manipulate in mapping and trigger SOAP accordingly with required action that can be derived by using sender HTTP parameter value

Best Regards,

Praveen Gujjeti