cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure Usertokenname in the header of outbound messages in XI?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

kkram
Contributor
0 Kudos

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

pedro_baroni3
Active Contributor
0 Kudos

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c572b5e8-0c01-0010-5a88-84f007ae...

Securely Consume Web Services u2014 With No Coding

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/81e77b03-0901-0010-d79c-9ee3afd5...

Ensure the Confidentiality of Your SOAP Message Content

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0650f56-7587-2910-7c99-e1b6ffbe...

Web Services Security Cookbook

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92914af6-0d01-0010-3081-ded3a41b...

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