on 10-22-2008 9:52 AM
Hello all,
I implement RFC to WebService scenario. The web service has an username token in header, so as understand SOAP request of exchnage infrustructure must have it too order to communicate with web service.
If I test the scenario with the same webservice without wss usertoken it runs successfully. If I take the webservice with usertoken in header, I've got such error in adapter monitoring
soap fault: An error was discovered processing the <wsse:Security> header.
Can you tell me please where I have to say XI, that soap request has to be with usertoken in header?
I think it have to be in j2ee configuration, there are some services defined under webservice security; but where exactly? Attention: webservice is not deployed on xi j2ee, it is deployed on the tomcat.
I'll appreciate every help!
thank you Anna
Anna
I am assuming the sender is RFC and receiver is web service that is running on Tomcat. If that is true, in the receiver communication channel, you can choose the 'Adapter Specific attributes' and then 'Variable binding'. Here you can bind header variables dynamically using 'Dynamic Configuration' in your mapping. In SDN, search for dynamic configuration and you will see how you can pass information to the header using the same.
Hope this helps.
KK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anna,
Check note 1039369
"What is the URL for sending SOAP messages to my channel?
The adapter servlet receives messages sent to the following URL and forwards the messages to the specified axis adapter channel.
http://host:port/XIAxisAdapter/MessageServlet?parameters
where host and port are the host name and the port number of the adapter engine and parameters is a list of parameters that identifies the inbound channel given in the following syntax:
parameters ::= token ( '&' token )*
token ::= name '=' value
name ::= fieldname
value ::= fieldvalue
fileldname ::= 'senderParty' | 'senderService' | 'receiverParty' | 'receiverService' |
'interface' | 'interfaceNamespace' | 'messageId' | 'queueName'
fieldvalue ::= urlencoded value
This servlet is also used to show the deployment information of the Axis adapter"
and see:
Security Settings for the Receiver SOAP Adapter
http://help.sap.com/saphelp_nw04s/helpdata/en/56/992d4142badb2be10000000a1550b0/frameset.htm
WS-I Sample Application Blog Series: Securing the WS-I Sample Application
Securely Consume Web Services u2014 With No Coding
Ensure the Confidentiality of Your SOAP Message Content
Web Services Security Cookbook
Web Services Security UsernameToken Profile
http://www.oasis-open.org/committees/wss/documents/WSS-Username-02-0223-merged.pdf
Edited by: Pedro Baroni on Oct 22, 2008 6:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.