on 08-29-2014 8:03 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.