cancel
Showing results for 
Search instead for 
Did you mean: 

Read URL paremeter value SOAP Axis Sender

ankit_srivastava3
Participant
0 Kudos

Hello Experts,

For a specific scenario, there is a need to read a url parameter inside SOAP Axis Sender and pass it on to message mapping as dynamic configuration key.

For example,

Sender system is sending request at http://<host>:<port>/XIAxisAdapter/MessageServlet?senderParty=&senderService=Sender_System&receiverP...

Inside PI mapping, value being passed in "parameter" is required.

Please let me know how to do it.

Thanks & Regards,

Ankit Srivastava


Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Ankit,

Check the page 5 of this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f593809..., you will find the java code to access to URL parameter. Pay attention to the lowercase/upercase  in the paramName.

I haven tried with AXIS adapter, but with http_aae you can get the parameters with the java code (😞

DynamicConfigurationKey.create( "http://sap.com/xi/XI/System", "URLParamOne");

Regards.

ankit_srivastava3
Participant
0 Kudos

Hello Inaki,

Thanks for your quick response.

I have tried this one but it only allows to read HTTP header field values but in this case, I am trying to access a url parameter from the query string.

If it is simple SOAP Sender adapter, this is possible directly by enabling "Adapter Specific Message Attribute" and the query string becomes available as "SQueryString".

I need to achieve the same but with Axis Sender.

Thanks,

Ankit


Former Member
0 Kudos

Hi Ankit,

it is not possible using SOAP AXIS it s need to be use only HTTP SOAP  with POST or GET method .

Regards'

Ravi

Answers (1)

Answers (1)

ankit_srivastava3
Participant
0 Kudos

Thanks for your replies.

Till now, I did not find a way to read query parameters using any standard configuration for SOAP Axis Sender.

If I find it, I will update this thread with the result.

Regards,

Ankit