R/3- PI- webservice. Pass userid/password for Username Token from R/3

Hello,
We (SAP R/3) need to call Webservices from third party for which we are using SAP-PI system as the Middleware.
The Password and ID for USERNAME TOKEN to be passed in the SOAP Header request needs to be sent through RFC in SAP R/3.
The requirement is that SAP-PI should use this ID/password and prepare the USername Token in the SOAP Request header for the Webservice Call.
Note: PI has AXIS framework installed on it.
Can you please suggest as to what should be done? Request you to please provide the Custom Code / Detailed configuration etc. that is required to be done at the PI end.
Note: I have searched the Forum but couldn't find anything a detailed information.
Thanks & Regards,
Abhishek Jolly

XSLT-Mapping looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsh="http://something/wsh">
     <soapenv:Header>
       <wsh:Context>
       <SessionId>
         <xsl:value-of select="/*[local-name()
=MySoapFunction]/Parameters/Parameters
[Scope[text()='XI'] and Name[text()='SessionID']]/Value"/>
      </SessionId>
     </wsh:Context>
    </soapenv:Header>
    <soapenv:Body>
     <wsh:MySoapFunction>
      <xsl:if test="count(./*[local-name()=MySoapFunction]/Parameters/Parameters)>1">
       <Parameters>
         <xsl:for-each select="./*[local-name()=MySoapFunction]/Parameters/Parameters">
           <xsl:if test="Scope!='XI'">
             <Parameters>
               <Scope><xsl:value-of select="Scope"/></Scope>
               <Name><xsl:value-of select="Name"/></Name>
               <Value><xsl:value-of select="Value"/></Value>
              </Parameters>
             </xsl:if>
           </xsl:for-each>
          </Parameters>
         </xsl:if>
       </wsh:MySoapFunction>
      </soapenv:Body>
</soapenv:Envelope>
I save XSLT to file.
Input message that creates in XI and live only in BPM:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MySoapFunction xmlns:ns0="http://something/wsh">
    <Parameters>
        <Parameters>
            <Scope>XI</Scope>
            <Name>SessionID</Name>
            <Value>0123456789</Value>
            </Parameters>
        <Parameters>
            <Scope>otherScope</Scope>
            <Name>someParam</Name>
            <Value>someValue</Value>
         </Parameters>
    </Parameters>
</ns0:MySoapFunction>
In BPM's SendStep this message is used.
2) Create ZIP archive with this XSLT file (one archive can contains many XSLT programs). And Import ZIP it into XI. You can see this in Imported Archive and list of filenames of Archived Program in XI.

Similar Messages

  • Dynamic UserID/Password for file Adapter

    Hi,
    How to use dynamic UserId/Password for file adapter ?
    (Sender/Receiver)
    In our case the Id/Pwd of FTP Site changes freguently.
    Can anyone help.
    Thanks in Advance
    Regards
    Chemmanz

    Hi Chemmanz,
    >>>>In our case the Id/Pwd of FTP Site changes freguently.
    but do you have those passwords in the message payload?
    if not then you will still have to fill it somewhere right?
    BTW
    the only way would be to use java proxies and write a simple ftp adapter inside it (or your own adapter)
    but this is not possible in standard I believe
    Regards,
    michal

  • Chang system userid/password for another server instance

    It it possible to change the system userid/password for another server
    instance. If so , how ?
    I would like to allow certain groups to be able to start and stop ONLY their
    server without giving out the system account.
    Thanks in advance!

    the relationship between the infrastructure nodes and the application server nodes is a one to many relationship. The infrastructure home should be the only home that the EMWebsite service has been started for.
    the user to log in to em console is ias_admin/<password> if it does not accept the password that you set for this user then try it with caps lock on as you may have had it one when setting the password.
    As 9ias release 2 has been designed with a multiple machine install in mind, if you install more than one instance (multiple oracle homes) on the server then you will end up with multiple apache processes and oc4j processes. This means you will be able to connect to 2 apache server homepages under different ports. That is why you get the same page.

  • Password for PDF Generated from WEBI

    Dear Folks,
    I want to give password for PDFs generated from WEBI so that when a person receives scheduled pdf report in his mail,he gives a password to open it.pls let me know how that can be acheived?

    Hi Deepak,
    This functionality is currently not supported by SAP Business Objects for WebI reports.Password protection is something that is done from the Adboe side. Kindly refer SAP note 1302401 to verify the same.
    Regards,
    Nakul Mehta

  • How can i pass the  parameter for strored procedure from java

    dear all,
    I am very new for stored procedure
    1. I want to write the strored procedure for insert.
    2. How can i pass the parameter for that procedure from java.
    if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from java

    Hi Ram,
    To call the callable statement use the below sample.
    stmt = conn.prepareCall("{call <procedure name>(?,?)}");
    stmt.setString(1,value);//Input parameter
    stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
    stmt.execute();
    seq = (int)stmt.getLong(2);//Getting the result from the procedure.

  • What is default UserID/Password for Oracle 11g

    Hello experts,
    I’m new to Oracle and installed 11g first time on Windows. Installation has finished successfully. It gave me the link on open my database.
    Enterprise Manager Database Control URL - (orcl) :
    https://192.168.2.25:1158/em
    when I open it it ask for user id and password. I don’t know what is my userid is. Can anybody help me with this issue.
    Thanks a lot in advance.
    Edited by: user10791378 on Aug 16, 2009 1:36 PM

    >
    I’m new to Oracle and installed 11g first time on Windows. Installation has finished successfully. It gave me the link on open my database.
    Enterprise Manager Database Control URL - (orcl) :
    https://192.168.2.25:1158/em
    when I open it it ask for user id and password. I don’t know what is my userid is. Can anybody help me with this issue.
    >
    You can log in to the Enterprise Manager Database Control with any DBA user. Typically, you should be able to logon as sys or as system. The passwords for these two users where specified by you during the install of the database.
    If you can't remember them, you should be able to change them on the command line after a connect as sysdba there.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Reason for using "UserID:password" for PKCS11 when it only accepts a pin?

    With respect to TDE with HSM, I understand that the following command is used to set the master encryption key for Oracle Database 11g. However, why does a userID have to be specified, when the PKCS#11 library only requires a PIN?
    ALTER SYSTEM SET ENCRYPTION KEY IDENTIFIED BY "userID:password"

    Hello Lopper,
    we used this as an example; today, you'll find it mostly written as:
    SQL> alter system set ... identified by "HSM_auth_string"; where "HSM_auth_string" can be "user_name:password", a "PIN", or just a "Password".
    HTH, Peter

  • Default userid/password for Essbase 7.1.5

    Hi All,<BR> <BR>I've just now upgraded to Essbase 7.1.5. At the time of installation I gave the 'NAME' as 'James Galt' and system password as 'password'.<BR>Earlier on every upgrade it used to recognize the old security file and I could login to a fresh upgrade using my old id/password. But this time it does seem to recognize the essbase.sec file.<BR><BR>could somebody please let me know the default user-id password for version 7.1.5, so that I can atleast login and try creating some users.<BR><BR>Any help in this matter s highly appreciated.<BR><BR>Thanks in advance,<BR>[email protected]

    There's no such ting as a default user ID and password for Essbase. The system user ID and password is the one you create when you install Essbase. IF you want to reset and start from scratch, delete the essbase.sec file and launch essbase.exe from \essbase\bin. You will be prompted to enter a new user ID and password. Hint : it's not good practive to use someone's name as the system ID. BE aware of a couple of things if you do this, any users, filters, applications, etc you had we'll be gone and have to be re-created. If this was an upgrade from the previous version, upon install completion, you would run the essbase.exe and it would prompt you for the existing password. If it's not working, chances are you are using the wrong password. Remember, the system password might not be the same as the admin password. For instance at my location, when I did the upgrade I entered the admin password and it didn't work. I asked everyone and they said that was the only password. After digging little deeper I found that a couple of years ago it was determined the passwords were too generic so they changed them. While they changed the admin password, the system password stayed the same. After digging, I found out what the old password was and sure enough I was able to fire it up. If you don't have existing apps and users to worry about then just start fresh, but if you want to salvage what you had, then you will need to find the right password. One more thing, if you have Essbase running as a service, disable the service and run it in console mode until you get this straightened out. <BR><BR>HTH

  • Passing a value for date parameter from Oracle Forms to BIP

    Hi
    I have created a report with the following SQL query:
    select
    d_tables.d_seq,
    to_date(d_tables.d_created) creation_date,
    d_tables.d_created_by created_by,
    d_tables.d_pk,
    d_tables.table_name,
    d_tables.comments
    from
    d_tables, d_applications
    where
    d_tables.d_ppk = d_applications.d_pk
    and to_date(d_tables.d_created) >= nvl(:P_CRE_DATE_FROM, to_date(d_tables.d_created))
    and to_date(d_tables.d_created) <= nvl(:P_CRE_DATE_TO, to_date(d_tables.d_created))
    The parameters P_CRE_DATE_FROM and P_CRE_DATE_TO have been set up as date in BI Publisher with format dd-MMM-yyyy
    The report works fine when launched in BI Publisher.
    I want to call this report from Oracle Forms and I'm trying to pass the values for both the parameters. However, the report does not generate output based on values passed.
    Does it have to do with datatype? Does anyone know a solution for this?
    Kind regards,
    Aparna

    Thanks for your suggestion. I am already referring to the whitepaper and have integrated Forms with BI Publisher. The parameter passing is working fine for a varchar2 type of parameter. However, for a date type, there seems to be some problem.

  • Forgot password for HP Envy from ipad to printer

    Fogot password for ipad to connect to printer

    Hi @await
    Welcome to the HP Support Forums.  I see that you would like to learn how to find the Wireless Direct password for your Envy 5532 printer.
    You can easily find the password to the Wireless Direct network from the front panel of the printer.  If you are unsure how to do this the steps can be found on page 57 of the Envy 5530 Series User Guide in the section titled “To connect wirelessly to the printer without a router”. 
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Userid & password for Enterprise Manager?!! pls help.

    I installed Release 2 9i Infrastructure, Application Server and Developement kit on one NT machine, they were all installed under separate Oracle Home like
    d:\oracle\oracleHome (for infrastructure)
    d:\oracle\ASHome (for AS)
    d:\oracle\SDKHome (for DK)
    1. I saw under 'Start/Programs' these folders contain similar things like 'Start/Stop HTTP Server', do I have to start each of these manually?
    2. I saw from the notes that we can check the status of the servers by going to the Enterprise Manager.
    However, it prompts a window for userid and password. <== which user id and password does it needs?
    3. Is there only one Enterprise Manager for all (Infrastructure + AS)?
    from my notes and memory during installation, i have only created an instance name and a ias_admin password! (but it does not accept)
    Please tell me the clue to these, and the next step to start building a Portal home.
    Thanks very much,
    a very very newbie :-)

    the relationship between the infrastructure nodes and the application server nodes is a one to many relationship. The infrastructure home should be the only home that the EMWebsite service has been started for.
    the user to log in to em console is ias_admin/<password> if it does not accept the password that you set for this user then try it with caps lock on as you may have had it one when setting the password.
    As 9ias release 2 has been designed with a multiple machine install in mind, if you install more than one instance (multiple oracle homes) on the server then you will end up with multiple apache processes and oc4j processes. This means you will be able to connect to 2 apache server homepages under different ports. That is why you get the same page.

  • Image asking for Logon (Userid/Password) for an anonymous user

    Hello,
       I have created the HTML file in <b>Portal -> Content Administration-> KM Content -> root -> documents -> MyFolder</b> which I have access through an KM Document iView which contains the <b>text</b> and <b>image</b>. Also I have changed the Authentication Scheme property of iView to anonymous for an anonymous user.
    Now the problem is that when I click on the KM iView for an anonymous user, then I am able to see the text of the HTML file but image does not comes, instead it asks for Logon ie User Id and Password.
    Can someone tell me how I can see both the image and text.
    Best Regards,
    Nivedita

    Hi ,
    I also faced the same problem .
    Solved by doing the following.
    Open the PCD Editor as Content Administrator: Content Administration > Portal Content > Portal Content > Portal Users > Standard Portal Users > Standard User Role > Open > Object
               a) Navigate to Home (note the tooltip "com.sap.km. home_ws") > Hidden > URL Access.
               b) Open all contained iViews (Basic Search, Details, Document, Highlighted Content) for editing
               c) Select the property category "Advanced"
               d) Change the property "Authentication Scheme" to "anonymous"
               e) Save your changes.
    Regards
    Naveed Ahmed

  • Unable to recover password for my icloud from my apple id. Even the same apple id i can not recover ?

    My Apple id password has locked some how. I can not recover my apple id from the same email id or with security questions ?
    Please help cz it has synced with all ma 3 Idevices. Iphone 4, Iphone5, & Ipad 4.
    I can not turn off find ma iphone option for that it required password. which i can not recover.

    Go to https://getsupport.apple.com . Click' See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password'. If you have any problems with that try this form: https://www.apple.com/emea/support/itunes/contact.html

  • Passing the values for the tokens in oaf

    Hello,
    I have an application message with the text as "Employee &ENAME belong to the organization &ORGANIZATION".
    In framework, i have assigned this application message to a messagestyledtext and i want to pass the &ENAME and &ORGANIZATION values at runtime. Can anyone please guide me on this? I did as follows but didn't figure out how to assign this token to an application message.
    MessageToken[] msgtoken = {new MessageToken("EMPLOYEENAME",s_employeename),new MessageToken("ORGANIZATIONNAME",s_organizationname) }
    Thanks
    PK

    PK,
    A simple example to explain you more on this. Let say we want to pass two parameter to Token.
    String employeeName = (String)vo.getCurrentRow().getAttribute("EmployeeName");
    Number **employeeNumber** = (Number)vo.getCurrentRow().getAttribute("EmployeeId");
    String employeeNum = String.valueOf( employeeNumber.intValue());
    MessageToken[] tokens = { new MessageToken("EMP_NAME",  *employeeName* ),                 //1
    new MessageToken("EMP_NUMBER", employeeNum ) }; //2
    //And finally we pass there token value to below exception.
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens, OAException.CONFIRMATION, null);
    Thanks
    -Anil

  • I would like to erase all saved passwords for two websites from firefox's memory because I am having problems logging in

    I would prefer not to save any passwords on firefox. Please walk me through steops to have the passwords erased on google, linked in etc.

    # Click the orange Firefox button then select Options to open the options window
    # Go to the Security panel
    # Click the "Saved Passwords" button to open the passwords manager
    # Select the site in the list, then click Remove

Maybe you are looking for

  • Add management server: Setup version: 7.0.9538.0 is not compatible with database version: 7.1.10226.0

    I want to add another management server to our existing SCOM environment. But whenever I run this setup on a new server I get stuck in the window for selecting the OperationsManager database. The database field stays blank and in the OpsMgrSetupWizar

  • WORKFLOW  FOR PARKED  DOCUMENT

    Hello all,    I need to know the customising settings for workflow on parked document.how  does the subworkflow  attached to thw wf element(variant) get triggered in my main workflow for posting  of  parked document(i have  modified teh std wf for pa

  • Novatel HSDPA Modem for Protege M700 and Windows 7 RC

    Hi all, after a lot of searching through the web I am stuck. I did find the current Mobilink Software (v2_02_37) which successfully installs and the new Toshiba Utils (1.1.7). Now I am searching a Novatel driver or the actual 3G modem. The one from T

  • Persistence from the container's perspective

    I've read up on using [JPA in a desktop application|http://java.sun.com/developer/technicalArticles/J2SE/Desktop/persistenceapi/] , but does anyone have a clue as to how a typical EJB container instantiates an EntityManager? I'm creating a toy EJB co

  • Installing multiple Instance and System Copy

    Hello All, In our customer landscape,we have a DEV Server and PRD server. Now the customer wants to install one more instance for Quality in the same DEV Server and then perform a system copy of PRD Server.(to make it 3 system landscape) How to perfo