on 04-16-2014 10:49 AM
Hi All,
I have Proxy to SOAP scenario. Receiver web service is expecting below message in the soap header for authentication purpose.
<soapenv:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>username</wsse:Username>
<wsse:Password Type="PasswordText">Password< wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
User will trigger the message from ECC using some transaction. I need to pass this triggering person’s username and password to soap header dynamically. There are more than 2000 users in the system.
How can I retrieve this username and password and bind it to <wsse:Security> node?
Is it possible to achieve?
Please note: User’s details will not come in the message payload. I cannot user look up here.
Regards,
Muni
Hi Muniyappan,
You can think in the possibility of using a value mapping mass replication or a jdbc lookup. Personally, I'd rather to use a jdbc lookup to a DB where you have the passwords encrypted with for example asymmetric password. Later, you can decrypt it in a java mapping. The wsse tags can be generated in a java mapping or XSL with the option Do Not Use SOAP envelope in the receiver SOAP adapter.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Indrajit,inaki and Prasanthi for your inputs. it was really helpful.
We are checking to include user id in the sender payload.
Also checking with Web Service team to use one service user for authentication no matter who triggers the message. if they agree then i need to use java/xslt mapping or axis framework to populate those tags.
Regards,
Muni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The only option is to include the same in the payload message in ECC.
I don't think we have any other option to get the user credentials.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.