on 09-13-2011 10:51 AM
Hi,
We have a requirement where we have to post the data to a webservice using SOAP reciever. However, the challenge is that we have multiple username/PWD and based on a field in source message, decide at the runtime, which Username/PWD to choose.
Please suggest how can we proceed.
Authentication Keys
If authentication is required for the receiver system, you can enter a password and a confirmation for each key value. This means that you do not need to write passwords in the enhanced message header.
If you want to specify or display authentication keys, select View Authorization Keys.
You can enter and confirm passwords for each authentication key value (TAuthKey or TproyxAuthKey).
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create user and password fields in the sender/source data structure. Use them and modify it using dynamic configuration UDF coding. I believe you know dynamic configuration fields to change. Previous reply already given link for it.
Or you can use variable substitution and through which you can specify dynamically in the soap receiver comm channel user name and password.
For variable substitution please refer this link..
Hi,
you can modify contents of SOAP envelop using java mapping. The mapping program takes input from source message and change the Username/PWD at runtime. Forum members might be able to help you more if you would post the source message and target message xml structure. Please also kindly mention the version of PI server you are working on.
regards
Anupam
Hi
I am not sure, if you 'must' use PI in your case (for any message transformations or other reasons). If possible, check the feasibility of configuring multiple logical ports in SOAMANAGER of your sending system (again assuming its an SAP ABAP/Java AS) with same endpoint details but different consumer security settings. Before you fire the web service in your sender system, check the payload content and dynamically choose the logical port relevant for a particular uname/pwd.
Wouldnt it be a risk to pass user credentials as a part of your payload?
Anyways, that my 2 cents, just thinking aloud.
cheers
Keshav
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.