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

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

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-84f007ae38e7
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-9ee3afd576e1
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-e1b6ffbe4d50
Web Services Security Cookbook
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92914af6-0d01-0010-3081-ded3a41be8f2
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

Similar Messages

  • How to handle Changes in the Structure of Outbound Message.

    Hi Experts,
    I have a File2RFC scenario where the Outbound Message fields are (for e.g,) ID,Name,Loc, and Status. The structure of the xml file which needs to be picked by sender file adapter is changing each time based on the data entered by the user. I am sure this will fail in IS with RuntimeException in Message-Mapping transformation Error. Is there anyway to handle this kind of situation.
    Message Sample- 1 (Message Processed successfully as it contains all the 4 fields...)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Send xmlns:ns0="http://File2File">
       <root>
          <ID>1234</VesselID>
          <Name>PIUSER</VesselName>
          <Loc>System A</Type>
          <Status>1</Status>
       </root>
    </ns0:MT_Send>
    Message Sample-  2 (Message Failed with Runtime Mapping Exception in IS...'Loc' is missing)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Send xmlns:ns0="http://File2File">
       <root>
          <ID>5678</VesselID>
          <Name>SAPUSER</VesselName>
          <Status>2</Status>
       </root>
    </ns0:MT_Send>

    Hi Ravi,
    Thanks for the reply. I think changing the cardinality will not solve this issue. Because the file which is being picked by Sender file Adapter is changing its structure everytime based upon the values entired by the user.
    For example - In Message 1 User has entered all the 4 values...so the structure is full.
    Message Sample- 1 (Message Processed successfully as it contains all the 4 fields...)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Send xmlns:ns0="http://File2File">
    <root>
    <ID>1234</VesselID>
    <Name>PIUSER</VesselName>
    <Loc>System A</Type>
    <Status>1</Status>
    </root>
    </ns0:MT_Send>
    In Message 2 - user has entered only 3 values...Though I have kept Loc as 0 to Unbound it fails as there is no tag <LOC></Loc> here.
    Message Sample- 2 (Message Failed with Runtime Mapping Exception in IS...'Loc' Tag is missing)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Send xmlns:ns0="http://File2File">
    <root>
    <ID>5678</VesselID>
    <Name>SAPUSER</VesselName>
    <Status>2</Status>
    </root>
    </ns0:MT_Send>

  • How to configure HTTPS in the receiver HTTP adapter ?

    Hi Guys,
    How to configure HTTPS in the HTTP receiver adapter and where i need to mention the QOS=BE in the receiver adpter.
    any suggestions or help would be appreciated
    Thanks,
    Srini

    You would need make sure that SSL is enabled on the ABAP stack . I rememver seeing a blog on SDN that shows how this is to be done.
    Once you have SSL enabled in the ABAP stack ( you would also need to install the cryptographic libraries as a part of this exercise) , you would be able to use HTTPS and also provide the necessary digital certificates etc.
    I have tried this with SOAP adapters etc but havent with the HTTP adapter but I dont see why this should be any different.
    Regards,
    Bhavesh

  • How do I programaticly change the header BG color on a multiline listbox

    How do I programaticly change the header BG color on a multiline listbox

    Hi,
    If you mean the multicolumn listbox then you have to create the its property node on the diagram (right click on the item and select "Create->property node" from pop-up menu). Then you have to select two properties:
    "Active Cell"
    "Cell Background color".
    You can do it by expanding prperty node to 2 rows and right clicking on each row. Then select "Properties" from pop-up menu and the appropriate property.
    Then you have to set-up "active cell" to the appropriate coordinates of the column header. (row=-1; column=N or column=-2 if you want to change the colors of all headers).
    Now you have to connect the appropriate colorbox or numeric variable to "Cell Background color" property node and run the program.
    I've attached the example.
    Good luck/
    Ole
    g Chutko.
    Attachments:
    Color.vi ‏15 KB

  • HOW TO CONFIGURE REPLICATION/INITIALIZE THE TWO SUFFIXES IN DS 6.3

    HI,
    i'm new to DS 6.3,which is pretty cool either,i feel difficult in enabling replication between two suffixes in a directory server instance,
    and can anyone helpme how to configure replication in the directory server 6.3.hope i get reply soon,
    thanking you,
    sasi

    Please have a read of the admin guide for replication available at
    http://docs.sun.com/app/docs/doc/820-2763/fhkry
    Once you try out the procedure, feel free to follow up with specific questions. Don't forget to tell us exactly what steps you took, and what problem you're facing.

  • How to configure Webgate let the Webgate works on HTTPS?

    Hi,
    How to configure Webgate let the Webgate access the OAM challenge URL on HTTPS protocol?
    Thanks,

    There is no configuration needed at the webgate side for this.
    You can configure OAM authentication scheme used to point to the https url of the OAM however first you have to configure your OAM server to run on HTTPS i.e. run the managed server in https mode. Also in Access Manager Settings in Load Balancing section you have to provide the https protocol and port.
    Hope this helps,
    Sagar

  • How can I turn off the option in my message settings so that others can not tell that I have read there texts? Please HELP

    How can I turn off the option in my message settings so that others can't tell that I have read there message I have an iphone4 updated to the 6ios

    Set Settings->Messages->Send Read Receipts to Off.

  • How to delete value in the header line of itab

    dear all,
    i have create an internal table.
    i would like to delete value of the header line after have used read table to read the contents.
    how can i do it ?

    If your internal table is something like this:
    data: begin of i_mara occurs 0.
    include structure mara.
    data: end of i_mara.
    That clears the matnr field of the header line...
    CLEAR i_mara-matnr.

  • How do you change the mail the icon that appears in the top right the header on sent messages or drafts?

    Hello,
    When you go to the Drafts or Sent box and select a message, above where the message is displayed is the header where the reciever/sender information is. To the right is an icon(right next to the button that says "hide").  How do you change that icon?
    Much thanks,
    Noremac

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access your email, you are using "web-mail". You need to seek support from your service provider or a forum for that service.

  • How to get SYSDATE in the header section dynamically when we run the report

    I have one more issue may i know how can i get the sysdate in the header section when i run the report.
    as we have the requirement like this
    In the header section
    Run Date : ("sysdate").
    How to get the sysdate dynamically in the RTF template, when i go across the google i found that header and footer section did not allow form fiields .
    So is there any way to do it.
    Thanks in Advance.
    Have a Nice Day.

    You cannot insert form fields in the Header section, but you can just insert the code to achieve this. For example: insert this in the header section to view the sysdate: You could format the date as you would like..
    <?xdoxslt: sysdate(‘YYYY-MM-DD’)?>
    Since you are new to BI publisher, search the forum, review the Report Designer's guide for BI publisher. You will find that most of your basic questions are answered there and there are examples as well.
    Thanks!

  • How to configure and start the BI-Scheduler?

    hi experts,
    as i am new to OBIEE, plz let me know how to configure and start (schedule the reports).
    if any docs plz send to me..
    Thank u.............

    Hi,
    please go the the oracle by example tutorials : Sending Alerts Using Oracle Business Intelligence Delivers
    link : http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/delivers/delivers.htm
    There is a step by step guide to configure the scheduler. This is a good starting point.
    However there is also some advanced cofigurations that you will get in the Oracle® Business Intelligence
    Infrastructure Installation and Configuration Guide-Chapter 10.
    Hope this helps you.

  • How to configure automatic reloading the class in jboss-3.2.1_tomcat-4.1.24

    HI,
    In tomcat, web context is specified in Server .xml file with
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="true" crossContext="true" />.
    this will deploy my examples webapplication in Tomcat server. And the property reloadable="ture" makes my life easiear. When even I change a .class, the class is automatically loaded in to memory with out restarting the server. Let me know the how to configure the same in Jboss-3.2.1_tomact-4.1.24 (auto-reload context) . Requesting for immediate solution

    I am running into the same problem. The only solution I know is to touch the application.xml which will reload the .ear file, which is not efficient in my case.
    Please let me also know if you have come across something else useful.
    Thanks,
    Mangal
    [email protected]

  • How to configure and install the IPC??

    Hello All
    I am working on CRM 7.0 with integration to ECC 6.0, I have variants for configurable products in the ERP and I want to use them in CRM orders so I have to use the IPC but I donu2019t know how to configure the IPC and is it to be installed on a separate server or it is just a tool to be activated on CRM or ECC system
    Regards
    Jacopo Francoise

    Hi
    You can refere this link, I believe it will help you alot.
    [http://help.sap.com/saphelp_crm40/helpdata/en/1d/89b6dbf5c02a44af7b1ff8bfd48c35/frameset.htm]http://help.sap.com/saphelp_crm40/helpdata/en/1d/89b6dbf5c02a44af7b1ff8bfd48c35/frameset.htm
    Regards
    Naeem

  • How to add field to the header for FBL5N ALV report

    Hi,
       I need to add fields to the customer line item display ALV report(FBL5N) header part.Right now there are four fields in the header like customer, company code, name and city, after that I need to add first name last name and phone no. Can any one tell me where exactly I need to add and populate there fields to be appear in ALV output list.
    Thanks in Advance
    Swapna

    Yes I have tried, I have place a break point in that perform but it does not stop. I think that is not the correct place to added and populate fields. That routine is for populate selection screen ranges single and multiple values and parameters only.
    Thanks
    Swapna

  • How to add texts to the Header Text in the PO header

    Hi
    In our system, some already added remarks are appearing in the PO header text field when i open a PO. I wanted to edit the remarks appearing in the PO header as a default. I wanted to know where these predefined texts are filled in. Appriciate if you can help me findout the same.
    Thanks
    Venkat.

    Hi
    In the above said configuraiton path, they have mentioned "Purchase order"  in the source object and the "Header Text" in the source text.
    But i wanted to konw  where the below mentioned genereic Notes/Remarks will be entered. For all the purchase orders, this text is autmatically get copied into the header text. i wanted to know from where it is originating and where we are maintaining.
    "Notes / Remarks :
    Vendor's signature on the attached PO terms and conditions is an integral part of this PO
    All documents should have a PO number
    Invoices should be submitted to the attention of the Finance department
    Please attach a PO copy with all claims to avoid delay in receiving payment.?"

Maybe you are looking for