BPEL Invoke: Input Header Variable

Is there a simple way to replicate the Input Header Variable that is part of JDeveloper 10g for BPEL Invoke activity?
Doing some work with 11g TP3 to work with salesforce.com and need to include a Session ID in the header of the massage sent to invoke a salesforce web service.
I made the change by manually pasting 'bpelx:inputHeaderVariable="headerRequest"' into the BPEL XML source document for the Invoke activity.
I'd also be interested in a way to more easily set the EndpointReference of the Partner Link than first importing ws-addressing.xsd schema document into the BPEL Project in order to next create an EndpointReference Element type variable, then copying an XML Fragment to the EndpointReference variable before finally setting the Web Service URL at runtime?
Thanks,
Mark

I started with the example code included with SOA Suite 10g.
All of the steps from that example, except the Input Header Variable, could be done the same way in both 10g & 11g.
To make things work, I had to manually paste the code noted in my initial post to BPEL XML source document.
I'm hoping TP4 or other future release will have the ability to include the header variable in the visual design tool.
I'm also hoping TP4, which I haven't used yet, or future release of the BPEL desginer in JDev 11g will come up with a simpler way to dynamically set the address of a partner link invoke.

Similar Messages

  • Input Header Variable

    Hi all,
    can some one please provide me help as to how do we declare input header variables in my BPEL process using the BPEL editor.I want to add it to make WS-Addressing headers visible to my web services container.I explored the editor but I am not able to find how do we add the header variable which belong to bpelx namespace.
    Do I need to manually edit my source code to make it visible or is there some other way to achieve it??Are there any samples avaiable for it??
    Please help....
    Prateek Jain

    Sorry..Was not able to understand your message.Can you please elaborate???I will be grateful to you.
    Prateek

  • How to pass  soap header variable for invoking siebel service in BPEL

    Hi,
    I am invoking siebel service in soa composite. siebel service have header variables username/password and session type. I have created global variable (message type) in BPEL anddeclare same in messages port in siebel wsdl. after that I passed the username/password and session type as hard coded in assign activity. I have deployed and tested this but, I have an exception like javax.xml.ws.soap.SOAPFaultException: Error Code: 10944642 Error Message: Error: Inbound SOAP Message - Session Token is missing or invalid or has expired
    Can you please help on this..

    Hi,
    check this thread
    http://help.sap.com/saphelp_nw04/helpdata/en/71/bcf3bf2ed7e142a5011b43c288f08c/content.htm
    HTTP Header parameters in iView.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/bc-jas/~form/handler
    May help you
    Regards,
    RK

  • How to include wildcard in FTP adapter header variable?

    I have two partner links that use FTP adapters. The first one puts a file on the FTP server. It specifies a dynamic outbound file name based upon an input variable and the timestamp in the format "test_BATCHID_yyyyMMddHHmmss.csv" (e.g. test_1011_20050925153059.csv). This part works as expected.
    The second partner link is supposed to pick up a file on the same FTP server. This inbound filename will be based upon the outbound filename and another timestamp in a format such as "originalfilename.yyyyMMddHHmmss.txt" (e.g. test_1011_20050925153059.csv.20050926091541.txt). I have created a Transform action with a mapping to convert the outbound filename and assign it to the inbound header variable. It concatenates the outbound filename and ".*.txt" within the mapping. The inbound header shows up as test_1011_20050925153059.csv.*.txt in the audit, but the process hangs at the receive activity and the file never gets retrieved. Perhaps the asterisk is being interpreted literally?
    Does anyone know how to specify a wildcard character in an xpath expression in a way that it will be interpreted as a true wildcard? Or is there another way to tell the inbound adapter to look for a dynamic filename using wildcards?

    BPEL patch 1 supports performing a synchronous read using a BPEL invoke activity. The following forum post shows how to configure a read adapter manually.
    Re: Help! Three questions about FileAdapater.
    The subsequent patches of JDeveloper allow such an apdater to be configured automatically.
    ps: This adapter can be used to read a single file only i.e. you cannot use a wild character.

  • How to pass header Variables along with body

    Hi,
    Here I am invoking siebel web service which is wsdl(SOAP) based web service. I tested it through sopaUI and it is working fine for me as I am getting proper response. here is the input payload structure.
    Note: it is running on HTTPS, so SSL has been applied to this  site.
    it is loading as http not https. For every operation when we make a request, we are changing the link to https and submitting it. Then it is working for us.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.xxxxxx.com/2005/">
       <soapenv:Header>
          <ns:AuthorizationToken>
             <ns:Token>userName;Password</ns:Token>
          </ns:AuthorizationToken>
       </soapenv:Header>
       <soapenv:Body>
          <ns:WEBIndividualGet>
             <ns:key>{6D803C43-3917-4C99-91F3-003EB9E16E1F}</ns:key>
          </ns:WEBIndividualGet>
       </soapenv:Body>
    </soapenv:Envelope>
    Now I created the bpel projects like this.
    Step 1:- in the xsd, I created two elements types
    <xsd:element name="UsernameToken" type="xsd:string"/>
        <xsd:element name="PasswordText" type="xsd:string"/>
    Step 2:- Then I created the WSDL in respect to above elements
    <!-- Message section -->
    <wsdl:message name="WEBAutTokenOut">
      <wsdl:part name="userName" element="netObj:UsernameToken"/>
      <wsdl:part name="passWord" element="netObj:PasswordText"/>
    </wsdl:message>
    <wsdl:portType name="portTypeName">
      <wsdl:operation name="operationName">
      <soap:operation soapAction="sopaAction">
      </soap:operation>
       <wsdl:input message="netSer:SvcRequestMessage">
        <soap:header message="netSer:WEBGetAutToken" part="userName" use="literal"/>
        <soap:header message="netSer:WEBGetAutToken" part="passWord" use="literal"/>
       </wsdl:input>
       <wsdl:output message="netSer:SvcResponseMessage">   
        <soap:header message="netSer:WEBAutTokenOut" part="userName" use="literal"/>
        <soap:header message="netSer:WEBAutTokenOut" part="passWord" use="literal"/>
       </wsdl:output>
      </wsdl:operation>
    </wsdl:portType>
    Step 3:- and My Bpel looks like
    <!--Variable Declaration -->
    <variable name="customHeaderVar" messageType="netSer:WEBGetAutToken"/>
        <variable name="customOutputHeaderVar" messageType="netSer:WEBAutTokenOut"/>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="xxxxxxx"
                 portType="netSer:xxxxxxxxxxx" operation="xxxxxx"
                 variable="inputVariable" createInstance="yes"
                bpelx:headerVariable="customHeaderVar"/>
    <assign name="AssignHeaderVariables">
          <copy>
            <from expression='"username"'/>
            <to variable="customHeaderVar" part="userName"
                query="/ns2:UsernameToken"/>
          </copy>
          <copy>
            <from expression='"soa1234"'/>
            <to variable="customHeaderVar" part="passWord"
                query="/ns2:PasswordText"/>
          </copy>
        </assign>
    <invoke name="Invoke" inputVariable="xxxxxxxxxxxxxxxx"
                outputVariable="Invoke_OutputVar"
                partnerLink="xxxxxxxxxxx" portType="ns1:XMLSoap"
                operation="WEBGet" bpelx:invokeAsDetail="no"
               bpelx:inputHeaderVariable="customHeaderVar">
                bpelx:outputHeaderVariables="customOutputHeaderVar"/>
    Note:  When I am hitting siebel web service it is giving some out put, The output it self has header variable. so that is reason am added outputHeaderVariables.
    < Here we have Transformation Activity >
    <reply name="replyOutput" partnerLink="xxxxxx"
               portType="netSer:xxxxxxx" operation="WEBGet"
               variable="outputVariable"
               bpelx:inputHeaderVariable="customOutputHeaderVar"/>
    That's about my project. But when test this service Am getting error. below is the error details.
    ==============================================================================
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header/>
       <env:Body>
          <env:Fault>
             <faultcode>env:Client</faultcode>
             <faultstring>System.Web.Services.Protocols.SoapException: Object reference not set to an instance of an object.
       at Avectra.netForum.xWeb.xWebSecure.netForumXMLSecure.WEBIndividualGet(Guid key)</faultstring>
             <faultactor/>
             <detail>
                <exception><![CDATA[<InvalidTokenException xmlns="http://www.xxxxxx.com/2005/">
      <XWebException xmlns="http://www.xxxxxx.com/2005/">
        <Message>Object reference not set to an instance of an object.</Message>
        <Number>0</Number>
        <Source>xWebClasses</Source>
        <Line>0</Line>
        <StackTrace>   at Avectra.netForum.xWeb.xWebSecure.xWebServiceClass.ValidateToken(AuthorizationToken AuthToken)
       at Avectra.netForum.xWeb.xWebSecure.netForumXMLSecure.WEBIndividualGet(Guid key)</StackTrace>
        <ErrorType>GeneralError</ErrorType>
        <Errors/>
      </XWebException>
    </InvalidTokenException>]]></exception>
             </detail>
          </env:Fault>
       </env:Body>
    </env:Envelope>
    ==============================================================
    Could you please help me out.
    Thanks,

    The UserNameToken and the Password variables should be created based on the schema http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
    Refer the below url for more details.
    OracleFusionMiddleWare 10g,11g and AIA: How to set security credentials dynamically in Oracle BPEL
    Regards
    Albin I
    http://www.albinsblog.com/

  • Error in Invoke activity Output Variable

    Hi,
    When invoking a HTTP service, the response XML is not getting matched correctly to the output variable, instead it is storing the response as a string in root element of the output variable.
    The response should be:
         <mthLoginLogout_output xmlns="http://www.lexisnexis.org/PCDSC">
              <status>
                   <status_code>0000</status_code>
                   <error_message></error_message>
              </status>
         </mthLoginLogout_output>
    The actual response I am getting now is as below
         <mthLoginLogout_output xmlns="http://www.lexisnexis.org/PCDSC">
                   <xml version="1.0" encoding="UTF-8">
                   <mthLoginLogout_output>
                        <status>
                             <status_code>0000</status_code>
                             <error_message></error_message>
                        </status>
                   </mthLoginLogout_output>
         </mthLoginLogout_output>
    Edited by: sjohn on Sep 7, 2009 9:45 PM

    Hi ,
    It is a SELECT :
    If I use WireShark to track my Network Communication.
    BPEL use the invoke input variable to send the Following to the .wsdl and WS.
    This is the data from WireShark:
    <soapenv:Body>
    <Create
    xmlns="urn:NWU-Integration-BPEL-Biographic">
    <s0:Submitter
    xmlns:s0="urn:NWU-Integration-BPEL-Biographic">
    $USER$
    </s0:Submitter>
    <s0:Assigned_To
    xmlns:s0="urn:NWU-Integration-BPEL-Biographic">
    na
    </s0:Assigned_To>
    <s0:Status
    xmlns:s0="urn:NWU-Integration-BPEL-Biographic">
    0
    </s0:Status>
    <s0:Short_Description
    xmlns:s0="urn:NWU-Integration-BPEL-Biographic">
    na
    </s0:Short_Description>
    <s0:firstNames
    xmlns:s0="urn:NWU-Integration-BPEL-Biographic">
    TestDi1
    </s0:firstNames>
    <s0:surname
    xmlns:s0="urn:NWU-Integration-BPEL-Biographic">
    TESTDi1
    </s0:surname>
    </Create>
    </soapenv:Body>
    </soapenv:Envelope>
    This is the data we get back from the target system webservice.
    This is the data from WireShark:
    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns0:CreateResponse
    xmlns:ns0="NWU-Integration-BPEL-Biographic"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ns0:Request_ID>
    000000000006048
    </ns0:Request_ID>
    </ns0:CreateResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    But in BPEL the console I can see that the invoke iput data to the target System is OK. But even if wireShark indicates that the output is OK. We do not receive the output variable:
    In BPEL
    Request_ID variable is empty, it is as if their is no mapping.

  • File information -- How to retrieve file name from header variable

    Hi
    I am using File Adapters to read files(.xml) and then I need to perform some database operations.
    One of the requirement is storing the file name read into the DB.
    I searched through the forum and got the information on how to configure this in the header variable. The link below shows the same.
    File Adapter
    Now, I use the XSL mapper to map the source values(from input xml file) to the corresponding table column names. So how should I get the value of the file name.
    I saw some of the in-built functions to be used for this but there is not enough documentation to proceed.
    Can anyone please provide some solution on this.
    /Kiran.

    Hi,
    Here are the steps that you need to do after you have declared the variable.
    1) The variable that you have declared should have the following elements
    a) Filename
    b) Directory
    2) Use the assign activity to copy the value of the filename part of this variable to the arg that needs to be passed to the database. (most probably an invoke variable).
    If you still have any problems implementing this, mail me at [email protected]..and i'll send you the screen shots for the entire process.
    ciao,
    Gunjan

  • Multiple header variables in bpelx:inputHeaderVariable

    While investigating the use of the bpelx:inputHeaderVariable call for creating a SOAP message header, I found the following blog entry:
    http://chintanblog.blogspot.com/2007/12/insertextract-soap-headers-in-bpel-it.html
    The author creates three variables for passing security credentials in a SOAP message header, then invokes the partner link to the "secure" process using this Invoke activity:
    <invoke name="Invoke_ExtractHeaderProcess" partnerLink="ExtractHeaderBPELProject" portType="ns2:ExtractHeaderBPELProject" operation="process"
    inputVariable="Invoke_ExtractHeaderProcess_process_InputVariable" outputVariable="Invoke_ExtractHeaderProcess_process_OutputVariable"
    bpelx:inputHeaderVariable="Variable_Username, Variable_Password, Variable_ComplexCredentialElement"/>
    I downloaded his code to JDeveloper 10.1.3.3.0 and SOA Suite 10.1.3.1 and attempted to deploy it. I received the following error:
    BUILD FAILED
    C:\jdevstudio101330\jdev\mywork\InsertExtractHeaders\InsertHeaderVariables\build.xml:79: A problem occured while connecting to server "localhost" using port "8888": bpel_InsertHeaderVariables_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "InsertHeaderVariables" (revision "1.0"): Failed to compile classes.
    Failed to compile the generated BPEL classes for "InsertHeaderVariables".
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:804)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    I had already attempted something similar in one of my own BPEL processes with the same erroneous result. The source of the problem would appear to be the list of multiple header variables since it disappears if a single variable is specified. Yet the author claims success with this technique.
    How can I get this to work?
    Thanks for your time,
    Paul Camann

    I see from Metalink that this topic was the subject of Bug 5623319, but it is difficult to tell from the trail of bread crumbs in the bug description whether (a) the bug was fixed, and if so, (b) the fix is included in JDev 10.1.3.3.0 or is a separate patch that must be applied. Clarification would be GREATLY appreciated.

  • Error while running a query-Input for variable 'Posting Period is invalid

    Hi All,
    NOTE: This error is only cropping up when I input 12 in the posting period variable selection. If I put in any other value from 1-11 I am not getting any errors. Any ideas why this might be happening?
    I am getting the following error when I try and run a query - "Input for variable 'Posting Period (Single entry, mandatory)' is invalid" - On further clicking on this error the message displayed is as follows -
    Diagnosis
    Variable Posting Period (Single Value Entry, Mandatory) is used as a lower limit (X) and an upper limit () in an interval selection. This limit has the value #.
    System Response
    Procedure
    Enter a different value for variable Posting Period (Single Value Entry, Mandatory). If the value of the other limit is determined by another variable, you can change its value also.
    Procedure for System Administration

    OK.
    Well, if the variable is not used in any interval selection, then I would say "something happened to it".
    I would make a copy of the query and run it to check if I get the same problem with period 12.
       -> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
    If so, then try removing the variable completely from the query and hardcode restriction to 12.
       -> If problem still persists, I would have to do some thinking.
    If problem is gone, then add the variable again. Check.
       -> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
    If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
    Good luck!
    Jacob
    P.S: what fisc year variant are you using?
    Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM

  • SSO to a weblogic application via a header variable, possible?

    Hi
    Is it possible to provide single sign on to a weblogic application via a header variable?
    We would like to follow a similar model to what's used with OC4J at:
    http://download.oracle.com/docs/cd/E10761_01/doc/oam.1014/e10356/osso.htm#BJFJBCHB
    Any feedback is appreciated.

    Yes this is possible via a custom Identity Assertion Provider if you are using Weblogic security. You can write the J2EE provider to extract the header and map the user to a LDAP user when you configure the authentication provider to use the same user store as OAM.

  • SSO to other apps via HTTP header variable

    We are on NW EP6.0 SP16. We need to add the "user id" as http header variable so that other apps which are non SAP can access our header variable and log on with that user id. Is this available by default? Or we want to achieve this how best we can achieve this.
    We can use the code to get the user id and add it to header variable. If we use this route which is the jsp page we need to add the code?
    Thanks

    Hi,
      we can you login modules provided by SAP to accomplish this.. you can use header variable authentication login module to acheive your requirement.
      please refer: http://help.sap.com/saphelp_nw04/helpdata/en/8f/ae29411ab3db2be10000000a1550b0/frameset.htm
    Hope that helps.
    Regards,
    S.Divakar

  • How to create one submit form for both input an variable ports ?

    Hello,
    I would like to create an input from for a query I have.
    The problem is that this query has both input an variable ports and each one creates a different input form. I would like to join it into one form or at least have it under one "Submit" button so the user won't need to fill two forms.
    How can I achieve this?

    Hi Mario,
    Thank you for your quick reply.
    >>Even if you could, only port would be effective.
    Can you please elaborate?
    >> You need to change your query and make your input port-fields variables?
    So, if I understand correctly I should select whether I go for only inputs or only variables?
    Thanks,
    Roy

  • How to set the header variables in weblogic

    Hi,
    We have a following set up in our environment.
    We have weblogic and on the top of it we have apex listener deployed which redirects Oracle Apex.
    My Issue:
    How can we set up the header variables in weblogic once the user is authenticated against weblogic server.
    We are struck here, not knowing how to set the header variables in weblogic server. Its fairly straight forward for Oracle Access Manager or others..
    Thanks
    Ramesh P.

    maybe you are looking for the routing options
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html#wp1125348

  • SAP BI - OLAP variable in DTP unable to read from input ready variable in query

    Hello,
    Here's the problem:
    We have a process chain which is launched in a WAD.
    We would like to filter the DTPs in the PC with the values entered in the variable screen of the WAD
    I created a variable of type customer exit X which reads the input ready variable Y in CMOD.
    Customer exit variable X was placed in the filter of the DTP.
    The input ready variable Y in the query contained in the WAD.
    I am getting an error that customer exit variable X is getting not value.
    Is it possible to read an input ready variable in a customer exit variable placed in a DTP?
    Or am I missing a step here?
    Please help.
    Thanks in advance

    Hi Anjalee,
    Maybe it would be good to share a bit more information on your scenario and the chosen solution design. I am currently missing the point of triggering a Process Chain using Web Application Designer.
    Anyway, I recommend to be careful with using OLAP variables in DTP filters. For sure not all functionality is present, e.g. because the variable pop-up is absent. Your constellation of an input ready variable and a customer-exit variable will only work in the context of a BEx Query and probably not if used in a DTP filter.
    Best regards,
    Sander

  • Error in setting up HTTP Header Variable Authentication

    Hi,
    I am trying to set-up SSO for SAP Biller Direct aplication (deployed on SAP J2EE 7.0) using HTTP Header variable authentication.
    As per SAP documentation I have created a new login module "HeaderVariableLoginModule" pointing to class "com.sap.security.core.server.jaas.HeaderVariableLoginModule".
    Then I have added this new login module to Statck "Ticket" and the new config looks as below. HTTP header when UID is passed is USI_LOP.
    Name                                                                                Flag                                            Options
    com.sap.security.core.server.jaas.HeaderVariableLoginModule    Sufficient                                    ume.configuration.active= tue,
                                                                                    Header=USI_LOP
    BasicPasswordLoginModule                                                           Optional
    CreateTicketLoginModule                                                                 Optional                                         ume.configuration.active= tue
    EvaluateTicketLoginModule                                                              Sufficient                                      ume.configuration.active= tue
    The problem I am now having is that the authentication through HTTP_HEADEr does not work. Even though I ahve increased the trace level for JAAS module to debug, there is not any type of information generated in the log.
    Each time I call the Biller Direct URL from the extrenal web server which also passes the HEADER variable for Authntication, the authrisation just fails and I am being shown a Logon Screen to pust UID/PASSWORD.
    Can someone please guide me, how I can debug this? There is very no information whether anyone tried to login with HEADER varibale and that has failed...
    Also, I am not pretty sure whether I am using the right Authentication Stack, which is is Ticket in my case..
    But when I enter the application without any URL redirects and enter UID and password directly for Biller Direct, I get the following in log file, which makes me believe that I am using the right stack.
    LOGIN.OK
    User: CONDLG
    Authentication Stack: ticket
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.security.core.server.jaas.HeaderVariableLoginModule             SUFFICIENT  ok          false      false                
    2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   OPTIONAL    ok          true       true                 
    3. com.sap.security.core.server.jaas.CreateTicketLoginModule               OPTIONAL    ok          true       true                 
    4. com.sap.security.core.server.jaas.EvaluateTicketLoginModule             SUFFICIENT  ok          false      false                
    Central Checks                                                                                true                 
    Any help will be very much apprecated..
    Thanks,
    Vikrant Sud

    Vikrant,
    The reason why it is not working is because your login modules in ticket stack are in wrong order and with wrong flags. The first one should be EvaluateTicketLoginModule with flag=SUFFICIENT, then the Header Variable login module, with flag=OPTIONAL, then CreateTicketLoginModule with flag=SUFFICIENT, then BasicPasswordLoginModule with flag=REQUISITE, and lastly CreateTicektLoginModule with flag=OPTIONAL
    Thanks,
    Tim

Maybe you are looking for

  • Getting started with import javax

    I'm working my way through tutorials re java 1.2, on linux. I have had no problem (so far) with code using import java.text.*; import java.util.*; etc But at import javax.swing.*; trying to work with JFrame, I get error - Package javax.swing not foun

  • HBONow

    I subscribed to HBONow yesterday on my iPad and received an email stating "Welcome to HBONow".  HOWEVER, the HBONow app wouldn't accept my password. It gave an error message "there was a problem, please try again".  I then tried logging in multiple t

  • Where is the application downloaded

    Hello, I have tried out the demo's for web start. As I understand it, the applet is downloaded onto my computer before it is opened in the web browser. But I can't seem to find where the applet was downloaded. How does it know where to put the files?

  • HT4623 PassBook not connecting to iTunes in IOS 6 for iPhone4s

    PassBook not connecting in IOS 6 for iPhone4s

  • Problems with effects being lost between motion and final cut?

    Hi I have an older version of motion, I am editing a video for my course and I have made some motion graphics with some blurs and fades etc (just this kids of effect, nothing else), when they are imported into final cut they disapear all i have is st