Cannot logon user defined in header variable!

Dear Guru's
I'm seeing this this error when I type the URL. "Cannot logon user defined in header variable!"
I have stopped and sterted the portal.
I could not find the authschemes.xml (if this is related)
Thanks,
EP6 SP2
Naren

Hi ,
Please explain what exactly you want to do ..If you want to use  Header Variables for User Authentication  go through this links
http://help.sap.com/saphelp_nw2004s/helpdata/en/68/5ddc40132a8531e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/68/5ddc40132a8531e10000000a1550b0/frameset.htm
Thanks n Regards
Santosh
Reward if helpful !!!

Similar Messages

  • How to add a user defined HTTP header field?

    Hi, everyone!
    I want to add a user defined HTTP header field to a HTTP
    response header.
    I use the following statements in testHeader.jsp
    response.addHeader("myheader", "123");
    response.sendRedirect("middleHeader.jsp");
    in middleHeader.jsp,
    out.print(request.getHeader("myheader"));
    But the output in middleHeader.jsp is null!
    How to add a user defined HTTP header field to a HTTP
    response header? Are there some sample codes?
    Cheers,
    George

    the send redirect actually creates a new request (through the client) and thus a new response
    thus the headers you set in the response are gone for the next request/response
    You can try servletDispatcher.forward

  • User defined methods as variable input

    Hello everyone.
    I'm reading through a teach yourself java programming guide and am a little confused about a couple things when it comes to variables and methods.
    I was wondering if it is "legal" to use a method as a variable input. Ex:
    variable = usermethod(num1, 23.43, 32.13); /* Assuming the variable and method parameters
    are of the same data type */
    I was also wondering if you can call a method as output to the stand output such as:
    System.out.println(usermethod(num1, 23.43, 32.13));
    I think that these are vaild uses but this book is not very clear on this point, it simply says that a user defined method is called from the method main and if it is a return type it will return a value. I assume that the returned value can be store in a variable using the syntax above, am I correct?

    Whenever the compiler sees a method name, it calls the method to get a return value from it. Both of those lines above are legal.
    You can use a method call pretty much anywhere you would put an expression; for example, if you had a function foo() which took an int, and you had another function bar() which returned an int, you could call foo() like this:
    foo(bar());Just make sure that methods you pass to other methods don't result in any unintended side-effects, such as printing to the screen.

  • OSB question : passing a user defined transport header to a proxy service

    Hi All,
    I have a proxy service that calls another proxy service. The protocol for the "called proxy service" is set to local. The calling proxy service has a "transport header" action to add a user defined header to the outbound request.
    I log the outbound request in the calling proxy service before publishing/calling the other proxy service. It does have header set as expected. But the called proxy service does not get this header.
    As a note in the "transport" tab "get all headers" is set to true.
    Please suggest
    Here is the outbound xml gets printed just before calling the proxy service
    <con:endpoint name="BusinessService$userProvisioning$businessService$HttpMessageSender" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:uri>http://localhost:8064/ProvisioningService/</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="JMS_BEA_RedeliveryLimit" value="1"/>
    <tran:user-header name="JMSDeliveryMode" value="2"/>
    <tran:user-header name="JMSExpiration" value="0"/>
    <tran:user-header name="JMSMessageID" value="ID:&lt;914937.1294164899050.0>"/>
    <tran:user-header name="JMSPriority" value="4"/>
    <tran:user-header name="JMSRedelivered" value="false"/>
    <tran:user-header name="JMSTimestamp" value="1294164899050"/>
    <tran:user-header name="JMSXDeliveryCount" value="1"/>
    *<tran:user-header name="reResolvedAddress" value="http://LPF004689:8080/axis2/services/provisioning/"/>*
    *<tran:user-header name="reResolvedRegion" value="MB"/>*
    <http:Content-Type>application/soap+xml; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>>
    And here is the inbound xml getting printed inside the called proxy service
    inbound="<con:endpoint name="ProxyService$userProvisioning$proxyService$LocalSoapListener" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="loc:LocalRequestMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="loc:LocalResponseMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username>&lt;anonymous></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>"

    Hi,
    We are using OSB 11g for sending message to external client.
    we are setting Headers "JMSType" in set Transport Header. but Client is not able to recieve the JMSType header at there side.
    we have read many forums for the same and turned on
    Pass all Headers through Pipeline
    Get All Headers
    then I put one publish action and keep my "Set Transport Header" inside that. still client is not able to find the same
    In out outbound request we can see the header as following.
    $outbound = <con:endpoint name="BusinessService$Notification$BusinessService$external$BUSINESSSERVICE:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:uri></con:uri>
    <con:mode>request</con:mode>
    <con:qualityOfService>exactly-once</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="JMSType" value="XXXXXXX">
    <http:Content-Type>text/plain; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="content-description" value="SOAP"/>
    <tran:user-header name="content-disposition" value="attachment;filename=&quot;[email protected]&quot;"/>
    <tran:user-header name="content-id" value="&lt;[email protected]>"/>
    <http:Cache-Control>proxy-revalidate</http:Cache-Control>
    <http:Connection>Keep-Alive</http:Connection>
    <http:Content-Length>112</http:Content-Length>
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:Date>Sun, 02 Sep 2012 04:06:43 GMT</http:Date>
    <http:Server>XXXXXXXXXerver>
    <http:Set-Cookie><![CDATA[<cookie-values xmlns="http://www.bea.com/wli/sb/transports/http">
    <value>JSESSIONID=m2RvGs2_Lvk_AZgyVJIv_e2-vSiFOQFi_mIA_SAPULGAKriCp_hbBD8uC0e8pEXt; Version=1; Path=/</value>
    <value>saplb_*=(spspiq_PIQ_00)6487650; Version=1; Path=/</value>
    </cookie-values>]]></http:Set-Cookie>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <http:http-response-code>200</http:http-response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>

  • User-defined http header and com.oracle.httpclient.HttpRequestBuilder

    Hello,
    In Java ME Embedded 8, I would like to send a HTTP request containing a user-defined identifier in the http header (X- header type), using the com.oracle.httpclient package.
           HttpClient client = clientBuilder.build();
            HttpRequestBuilder requestBuilder = client.build(http://my_uri);
            requestBuilder.setHeader(HttpHeader.ACCEPT, "text/plain");
    Here, I would like to add a user-defined header value like :
          requestBuilder.setHeader("MyHeader", "myHeaderValue");
    It seems that there are only pre-defined values available for headers in the com.oracle.httpclient.HttpHeader class.
    Is there any way to add a user-defined header in the request ?
    Thanks in advance.
    Bruno

    Hi Bruno,
    did you try HttpHeader myHeader = new HttpHeader("MyHeader");?
    /Sergey

  • Cannot comile user defined classes

    Hello i have a problem on compiling user defined classes .
    example
    file x.java
    public class x{
    file y.java
    import x;
    public class y{
    I first compile x.java and everything is OK .
    Then i compile y.java and the compiler gives the folowing
    y.java:2: '.' expected
    import y
    I have tried to put the classes on a package and added the folowing line yo each file
    import /home/bill/test
    Then i puted the java files on that dir
    and compiled with
    javac -classpath /home/bill/test y.java
    AGAIN THE SAME
    y.java:2: '.' expected
    import y
    WHAT I DO WRONG PLEASE HELP!!!!!!!!!!!!

    1. Since J2SDK 1.4, you can not import classes that are in the default (or unnamed) package. You are getting the error because the compiler expects something after y like y.*;
    2. You do not need to import classes that are in the same package, and all classes in the default package are in the same package.
    In your case, your classes are in the default package so remove the import statement.

  • 1.5.5 Cannot add user defined report to folder

    Hello,
    the context menu on folders in user defined report show only two options: copy and export. No way to add new folders or reports. I migrated my settings from 1.5.1.
    Though I can add a new folder directly at the root of user defined reports. But then SQL Developer won't restart (using 100% of my dual core until I kill the process).
    Running WIN XP JDK 1.6.10
    Regards
    Marcus

    Hello Sue,
    I already tried the current production version 2.1.0.63.73 and the problem is still there.
    In addition I did yet another test without migrating the old reports, connections etc. by renaming the appropriate folder in C:\Documents and Settings\michael\Application Data.
    Afterwards I imported my own reports.
    However there was no chance to move or delete any sub folders containing my reports. I only could copy or export sub folders or delete single reports.
    And after restarting sqldev the same behavior occurred on the new folders just created: Only export and copy are available accessing the context menu.
    Any suggestions? Do I have to re-create every single report?
    Regards,
    Peter
    Edited by: petmichael on Jan 15, 2010 12:27 PM
    Today I found out that changing the language settings for sqldev to English by adding the appropriate settings in sqldeveloper.conf located in \...\sqldeveloper-2.1.0.63.73\sqldeveloper\bin (mentioned below) does solve the problem.
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=US
    AddVMOption -Duser.region=US
    AddVMOption -Dfile.encoding=GBK
    By deleting these additional settings the error is reproducible.
    In addition with the English language settings the "Tip of the Day" appears running version 2.1.0.63.73 first time and it doesn't work that way without the additional settings mentioned above.
    Hth everybody running in that feature!

  • Cannot Apply User Define Serial for ITEMS

    hi ,
    we have to generate user define serial # for items . for that we need to upload the MAC addresses as serial number from a excel spread sheet can any one help regarding that please
    Thanks & regards
    Moni.

    Moni,
    You have to do some coding to achieve this:
    1. Create a table with three columns like serial_id, serial_number,taken_sts.
    2. Load your serial numbers from spreadsheet to this table using an insert or SQL Loader.
    3. Oracle gives you this package user_pkg_serial with nothing coded in package body. Add your logic to this body to return only one serial number at a time. That is the reason I asked you to create table with three columns. Maintain taken_sts column as N for only one serial number at a time and return that serial number (out parameter of the package body).
    4. It is extremely important to return the x_return_status as 'S' otherwise this will not work.
    5. Run the Generate Serial Numbers program and your serial numbers can be seen in the mtl_serial_numbers table.
    Please let me know if you need more info.
    Thanks
    Nagamohan

  • Cannot create user defined report

    Guys,
    For an unknown reason, I'm unable to create new reports in some subfolder inside the "User defined report". When I rigth-click on the subfolder, the contextual menu contains only "Copy" and "Paste". But If I'm going to the root folder (User defined report), I'm able to create a new subfolder and new report. I'm even able to create an new report in the subfolder.
    Did you already encounter the same issue and how did you solve it ?
    Thanks

    I vaguely remember someone having issues with user defined report operations, the problem there was solved by changing the user language to English by adding
    AddVMOption -Duser.language=ENto the sqldeveloper.conf file normally located in
    SQLDEVELOPER_INSTALL_DIR/sqldeveloper/binIf you are not already running in English try changing this.

  • Cannot salve User Defined Reports

    There's a bug in EA 08.04.
    After create (or modify) an user defined report, in next time that you launch Raptor the new report (or the modification) it's not salved.

    What OS are you using and do you have a space in your path? We had previously had a bug where the User Defined Reports were not being saved if there was a space in the path but that was fixed for 796/804. I just tested on Windows XP and it worked fine.
    Did you do a clean install of 804 or did you install over your old 715? If you did not do a clean install - can you please clean out and install again.
    -- Sharon

  • Cannot remove user define fields

    Hi,
    I am trying to remove a user defined field (U_Prirev) in Table (OHEM) and am getting the following error:
    Ref count for this object in higher then 0. Error No -1120
    The code is as follows :
            Dim sRequete As String
            Dim errCode As Long
            Dim errMsg As String
            Dim IdField As Integer
            Dim oUFields As SAPbobsCOM.UserFieldsMD
            oUFields = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
            Dim oRecordSet As SAPbobsCOM.Recordset
            oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
            sRequete = "SELECT FieldID FROM CUFD where TableId = '" & pNomTable & _
                       "' and AliasID = '" & pNomChamp & "'"
            oRecordSet.DoQuery(sRequete)
            If (oRecordSet.EoF = False) Then
               IdField = CType(oRecordSet.Fields.Item(0).Value, Integer))
                If (oUFields.GetByKey(pNomTable, IdField) = True) Then
                    If (oUFields.Remove() <> 0) Then
                        oCompany.GetLastError(errCode, errMsg)
                        Console.WriteLine("Erreur => Code = " & errCode.ToString + " Message = " + errMsg)
                    End If
                End If
            End If
                 System.Runtime.InteropServices.Marshal.ReleaseComObject(oUFields)
            oRecordSet = Nothing
        End Sub
    Anyone knows why i am getting this error.
    Thanks
    Laurent.

    Hi Laurent
    That error you are getting is the error that you get is when there is more than one instance of meta data object open. You see only one metedata object can be open at a time.....if it's higher than zero it means others are available. I see you have,
    System.Runtime.InteropServices.Marshal.ReleaseComObject(oUFields)
    oRecordSet = Nothing
    this is good and what closes the meta data object. But check that you have done this in previous funtions where you might of added other things.Also your recordset, close it before adding.....move oRecordSet = Nothing to before your Remove of the field. that has be the case for me before. Do it without the recordset as a test and you'll see it works.
    Hope it helps

  • User defined column heading

    Hello Every1,
    The following is a peice of code produces a report. At the moment the heading of the column is GBCCCL15/16_CSAHEPA because it has been hard coded that way. However what i would like instead, is the heading of the column to be what ever the user selects. What i mean by this is, what ever the user chooses to search in the text fields will then be displayed as the column heading when the report is exicuted.
    select schema_name,
    max(GBCCCL1516_CSAHEPA) as "GBCCCL15/16_CSAHEPA"
    from     
         select     schema_name, created_time,
         case when
              server_name||'_'||db_name='GBCCCL15/16_CSAHEPA'
              then DB_PATCH_NUMBER||'v'||VERSION_NUMBER else null end GBCCCL1516_CSAHEPA
    from      version_control
    group by schema_name
    order by SCHEMA_NAME
    Does anyone know how to get this done?
    Thanks in advance.

    Hi,
    Headings can be created dynamically. Change the headings type to PL/SQL. You then see a "Function returning colon delimited headings" setting - enter in something like:
    DECLARE
    v_headings VARCHAR2(2000);
    BEGIN
      v_headings := '';
      SELECT USER_HEADING INTO v_HEADINGS FROM TABLEX;
      RETURN v_headings;
    END;The string returned must be a colon-delimited string with one value for each column. eg:
    COL1:COL2:COL3Andy

  • Cannot populate user defined column

    I try to get the selected Item's AvgPrice on et_validate event with the following code. After orecordset.doquery the item's avgprice will not be displayed.
    How can achieve this?
    Any help would be appreciated.
    Regards
    Zoltan Sutto
    Set oItem = oInvoiceForm.Items.Item("38")
    Set oMatrix = oItem.Specific
    oMatrix.DeleteRow (1)
    Set oColumns = oMatrix.Columns
    Set oColumn = oColumns.Add("AvgPrice", it_EDIT)
    oColumn.TitleObject.Caption = "AvgPrice"
    oColumn.Width = 100
    oColumn.Editable = False
    oMatrix.AddRow
    Set oUserDataSource = oInvoiceForm.DataSources.UserDataSources.Add("dsAvgPrice", dt_LONG_NUMBER, 10)
    oColumn.DataBind.SetBound True, "", "dsAvgPrice"
    Select Case pVal.EventType
        Case et_FORM_LOAD
             AddColumnToInvoice
             BindDataSources
        Case et_VALIDATE
             If pVal.ItemUID = 38 And pVal.ColUID = "1" Then
                 If pVal.Row <= oMatrix.RowCount Then
                     Set oEdittext = oMatrix.Columns(pVal.ColUID).Cells.Item(pVal.Row).Specific
                     oRecordSet.DoQuery "Select avgprice from oitm where itemcode='" & oEdittext.String & "'"
                     oUserDataSource.Value = oRecordSet.Fields(0).Value
                 End If
             End If               
    End Select

    Ok!
    As i understatnd you issue, you don't want to store avgprice in doc_table, you want just to show to user AVG price, probably it'll help him to deside, what price shold he put in price-column..
    So, what for you want to use SDK UI??
    I suppose it'll be more effective and nicely to create formated search, relate it with price-column, and then when user select an Item then in price-column AVG price will appear (or user press Sh-F2 on price-column).
    The query for format search is too simple:[code]SELECT avgprice from OITM where itemcode = $[OINV.ItemCode][/code]By the way, you can create more cool query to show user extra info about that Item...
    You can even allow user to see last prices.. It is a standard feature, just press Ctrl-TAB on price-column..
    what do you think about it?
    Hope it'll solve you issue!

  • Iplanet Messaging 5.1.  Delegated admin:  I cannot log users defined in sub OU like ou=consumer,ou=AA,o=mydom with nda login page. Only users defined in ou=people,o=mydom can log through the iDA.

     

    That is correct, for some insane reason iDA is hardcoded to only look for users under ou=people.

  • Iplanet Messaging 5.1.  Delegated admin:  I cannot log users defined in sub OU like ou=AA,ou=people,o=mydom with nda login page. Only users defined in ou=people,o=mydom can log through the iDA.

     

    Correcct, for some insane reason iDA only looks under ou=people to find it's users. As far as I know this can not be configured and it is hard coded into iDA.

Maybe you are looking for