Getting Invalid SAML token error while trying to access wls9.2 webservice

Hi,
I am using wss4j at the client side as SAML token issuer to add saml assertion to the soap envelop whose target is a webservice deployed in a aqua logic service bus 2.6. But at the server side i.e wls9.2, i am getting following exception
weblogic.xml.crypto.wss.SecurityTokenValidateResult@326f6a[status: false][msg The SAML token is not valid.]</faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>
weblogic.xml.crypto.wss.WSSecurityException: Security token failed to validate. weblogic.xml.crypto.wss.SecurityTokenValidateResult@326f6a[status: false][msg The SAML token is not valid.]
     at weblogic.xml.crypto.wss.SecurityImpl.unmarshalAndProcessSecurityToken(SecurityImpl.java:476)
     at weblogic.xml.crypto.wss.SecurityImpl.unmarshal(SecurityImpl.java:392)
This error seems to be coming during unmarshalling of soap envelop which is run before request goes to SAML Identity Assertion provider V1. Certificates are properly configured at both client and server side so it seems that generated SAML assertion is not compliant with weblogic 9.2 unmarshalling process.
Has anyone got any solution for this problem. I am not exactly looking for full SSO configuration at the weblogic side so I have not set any credential mapper (which is also a saml issuer). Nor have i done any setting related with SSO on weblogic.
Any idea will really be helpful in this regard.
Thanks.

In what version of Oracle?
I see a couple of problems assuming you are working with a currently supported version:
1. Never grant CONNECT to anyone: Ever. Grant CREATE SESSION.
2. GRANT CREATE TABLE to AQ;
Go to Morgan's Library at www.psoug.org and look at AQ Demo 1. You should have no problem cutting and pasting your way to where you are trying to go.

Similar Messages

  • Getting invalid username/password error while trying to create_queue_table

    Here is how I get it.
    connect / as sysdba
    create user aq identified by aq
    default tablespace users
    temporary tablespace temp
    quota unlimited on users;
    grant connect,
    create type,
    create procedure,
    aq_administrator_role
    to aq;
    grant execute on dbms_aq to aq;
    grant execute on dbms_aqadm to aq;
    begin
    dbms_aqadm.grant_system_privilege('ENQUEUE_ANY','AQ',FALSE);
    dbms_aqadm.grant_system_privilege('DEQUEUE_ANY','AQ',FALSE);
    end;
    connect aq/aq
    create Type aq.message_typ as object (
    subject Varchar2(30), text Varchar2(80)
    begin
    dbms_aqadm.create_queue_table(
    queue_table => 'aq.objmsgs80_qtab',
    queue_payload_type => 'aq.Message_typ',
    multiple_consumers => true);
    end;
    Error at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2934
    ORA-06512: at "SYS.DBMS_AQADM", line 58
    ORA-06512: at line 2

    In what version of Oracle?
    I see a couple of problems assuming you are working with a currently supported version:
    1. Never grant CONNECT to anyone: Ever. Grant CREATE SESSION.
    2. GRANT CREATE TABLE to AQ;
    Go to Morgan's Library at www.psoug.org and look at AQ Demo 1. You should have no problem cutting and pasting your way to where you are trying to go.

  • I keep getting an error while trying to access the service

    I keep getting an error while trying to access the service

    Can you try to use ExportPDF directly on the website https://cloud.acrobat.com/exportpdf
    [topic moved to ExportPDF forum]

  • I keep getting "Icloud encountered an error while trying to contact the server "

    I keep getting "Icloud encountered an error while trying to contact the server"

    Your Mac must be on Lion (10.7) to run iCloud. Apple had to change the operating system to fully support it. Nevertheless, it is possible to get emails from iCloud without having Lion. Please tell me if this interests you.
    Anyways, here is the link to buy Lion (30 dollars, totally worth the upgrade ): http://itunes.apple.com/be/app/os-x-lion/id444303913?mt=12
    Franklin

  • "error while trying to access the service"

    I am trying to convert a pdf file to an excel file.  I get a completely unhelpful message that says  "error while trying to access the service" .
    What does this mean and how do i fix it?

    Hi sd433m,
    Thank you for posting on the Adobe forums. If you are already subscribed to the service, kindly try the steps mentioned below.
    1) Open Adobe Reader  Edit>preferences
    2) Go to Adobe Online services>change the email address to the one you have subscribed the service with
    3) Go to identity> change the email address there as well
    4) Click OK
    5) Restart the Adobe Reader and try to access the service again.
    If you have not subscribed to the service please do that as, we do not offer trial for Create PDF.
    Thanks,
    Vikrantt Singh

  • EDA Error while trying to access the personal details.

    Hi All,
    A new user(employee) is assigned with EDA responsibility to view/update his personal details and bank details.
    The user is able to view & update the bank details. But he is not able to open the personal details page. He is getting the following error while trying to access the personal detail link.
    HR_BASIC_DETAILS_WEB.GET_READ_ONLY_INFORAMTION: ORA-20002: 3123: Duplicate attribute 'DISPLAY_MARITAL_STATUS' could not be created for item 'HRSSA/28012061'.
    All users except the new user, dont have this issue.
    Oracle Application Version : 11.5.9
    Could someone help me on this.

    Hi Girish,
    Do you find out the solution to this issue? We having a similar issue with our Enterprise Portal using Apache and Siteminder Agent?

  • NetStorage encountered an error while trying to access this

    Strange problem with NetStorage. If I log in to NetStorage on Server A I get a listing of my drives from my login script and have no problems accessing any of them. If I log in to Server B I also get a listing of my drives and can access all of them except for the drives on Server A. When I try to access them I get the following error: "NetStorage encountered an error while trying to access this location." Anyone have any ideas on what could be causing the problem?
    Here's the particulars:
    Server A
    OES2 sp3 on SLES 10
    Internal Network
    Server B
    OES2 sp1 on SLES 10
    DMZ Network
    At first I thought this might be a firewall port issue so I had my network guy open ports 80, 443, and 51080 from server B to server A. Didn't fix the problem.
    I have been searching the forums for an answer but, have not found one that helps for this situation. Thanks in advance for your help.

    Originally Posted by mtracy
    Strange problem with NetStorage. If I log in to NetStorage on Server A I get a listing of my drives from my login script and have no problems accessing any of them. If I log in to Server B I also get a listing of my drives and can access all of them except for the drives on Server A. When I try to access them I get the following error: "NetStorage encountered an error while trying to access this location." Anyone have any ideas on what could be causing the problem?
    Here's the particulars:
    Server A
    OES2 sp3 on SLES 10
    Internal Network
    Server B
    OES2 sp1 on SLES 10
    DMZ Network
    At first I thought this might be a firewall port issue so I had my network guy open ports 80, 443, and 51080 from server B to server A. Didn't fix the problem.
    I have been searching the forums for an answer but, have not found one that helps for this situation. Thanks in advance for your help.
    So you have NetStorage installed on both Server A and B and if you log in to NetStorage on Server A you can access storage hosted by both Server A and B but if you log in to NetStorage on Server B you can only access storage on Server B?
    One obvious comment is that Server B is running an old and now unsupported version of OES2 - the only version of OES2 now supported is OES2 SP3 on SLES10 SP4. Theoretically that shouldn't make a difference but I know that whilst NetStorage may not have visibly changed much over OES versions it has received some bug fixes along the way.
    Your comment about firewalls leads me to ask whether that implies you're blocking all the other ports between the two servers? NetStorage uses the XTier framework which in turn uses NCP to access remote servers. NCP uses UDP port 524.
    HTH.

  • Getting Incorrect data type error while trying to do a CAST in table

    Getting an error while trying to compile the following piece of code
    CREATE OR REPLACE PACKAGE BODY A_pkg AS
    FUNCTION A(O_error_message IN OUT varchar2)
    RETURN BOOLEAN IS
    --Declaring the local variables and CURSORs used in the program unit
    L_attrib_tbl CFA_SQL.TYP_attrib_tbl;
    cursor c1 is
    select list_first1.number_11
    from TABLE (CAST (L_attrib_tbl AS "CFA_SQL.TYP_attrib_tbl")) list_first1;
    BEGIN
    L_group_id = '22'
    IF L_merch_type_value = 'G' OR L_merch_type_value = 'I' THEN
    CFA_SQL.QUERY_ATTRIB(L_attrib_tbl,
    L_group_id) ;
    END IF;
    open C1;
    Fetch C1 into L_number;
    close C1;
    return true;
    END A;
    END;
    Also pasting the Spec for CFA_SQL which contains TYP_attrib_tbl
    TYPE TYP_attrib_rec IS RECORD
    group_id CFA_ATTRIB_GROUP.GROUP_ID%TYPE,
    varchar2_1 VARCHAR2,
    number_11 number(10,0));
    TYPE TYP_attrib_tbl is TABLE of TYP_attrib_rec INDEX BY BINARY_INTEGER;
    The error is coming in the line
    cursor c1 is
    select list_first1.number_11
    from TABLE (CAST (L_attrib_tbl AS "CFA_SQL.TYP_attrib_tbl")) list_first1;
    with the error as Invalid data type pointing to CFA_SQL.TYP_attrib_tbl as invalid, but I have initialized L_attrib_tbl as of that datatype only. Ahy help would be greatly appreciated.
    Regards,
    Joydeep

    Hi Kelly,
    There is no data that is entered in that period.The data will be entered for that period next month.
    POV is also not set to that period,but still the problem persists.
    Thanks

  • MSS error while trying to access Adobe forms

    Hi all
    We are using EP 7 sp14. Delpoyed ESS/MSS BP SP 14. while trying to access certain functionalities in MSS which make use if standerd Adobe interactive forme through portal its coming up with the following error.
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
    I had done few settings in Visual Admin in
    1. server >services>web services security>web services clients>sap.com>tcwdpdfobject>com.sap.tc.webdynpro.adsproxy.Adsproxy*configPort_Document.
    2. In default URL gave : http://portalserver:port/AdobeDocumentServices/Config
    3. Authentication:Basic Authentication : gave username:ADSUSERpwd which is set in the backend.
    4. In Deploy stopped and started the application.
    Also in Destinations -> Created a new HTTP and set the URL pointing to the backend.
    Is there any additional configuration to be set on the Portal side.
    Regards,
    Sasha.

    Got corrected with changing data-type for a property in the definition file.

  • Getting HTTP transport error: when trying to access the webservices

    Hi,
    I have created proxy in JDeveloper 10g. When trying to access the webservices, getting the following error:
    javax.xml.rpc.soap.SOAPFaultException: exception on JaxRpc invoke: HTTP transport error:
    javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
    oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:578)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:400)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
         at com.tenncare.payment.proxy.runtime.__soap_pipe_execute_ppt_Stub.execute(__soap_pipe_execute_ppt_Stub.java:76)
         at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.execute(__soap_pipe_execute_pptClient.java:69)
         at com.tenncare.payment.proxy.__soap_pipe_execute_pptClient.main(__soap_pipe_execute_pptClient.java:43)
    Process exited with exit code 0.
    Can anyone help me what might be the reason. If you need more information, I can post it in the next.

    Hi,
    Can you just check your end point URL, and try with appending user name and password at the end of it as parrameters like http://<end point URL>&UserName=admin&Password=admin.
    Other wise check the SOAP request which is going to server using any tool as SOAP UI.
    Regards,
    Vikram

  • Getting error response while trying to access REST webservice through Powerbuilder

    Hi Team,
    I am trying to access a rest webservice through powerbuilder 12.5(.net).The rest webservice is secured through basic authentication.I am passing the userid and password through powerbuilder to acess the service,But its returning an error .But while i am trying to accss the same REST webservice through SOAPUI, i am able to get the response.
    Please find the below line of code which i have written in powerbuilder.
    p_testcleint2 lp_rest
    string ls_string
    lp_rest=create p_testcleint2
    PBWebHttp.WebClientCredential lsCredential             //configure credentials
    lsCredential = create PBWebHttp.WebClientCredential
    lsCredential.AccessAuthentication = PBWebHttp.AuthenticationMode.Basic!
    lsCredential.Password='Pa$$word1!'
    lsCredential.Username='admin'
    lp_rest.restConnectionObject.ClientCredential = lsCredential  //add credentials to connection
    try
       lp_rest.PostMessage()
    catch (System.Exception ee)
      messagebox("Failure",string(ee.Message))
    end try
    Error i am getting as below :
    The remote server returned an error:(401) unauthorized.
    Can you please let me know why this error is coming or do i need to any extra paramert in the lsCredential to handle this.
    Thanks in advance.
    Regards
    Subrat

    Hi Chris,
    Thanks for the reply.
    Yes i checked -in fiddler, the basic authentication request is not generating in the fiddler.
    In the same Rest service if i turned off the basic authentication then call is happening in Powerbuilder and its displaying in fiddler also.
    Regards
    Subrat

  • After creating a contained database, getting a login failure error while trying to connect to it.

    After creating a contained database and a user with passowrd under the same database, I tried connecting to the contained database. I entered the server name, login credentials and went to the connection properties tab to select the contained database using
    <browse server> option under "connect to database". Here I get the login failure error.
    TITLE: Browse Server for Database
    Failed to connect to server <servername>\<login>. (Microsoft.SqlServer.ConnectionInfo)
    But when I manually enter the Database name instead of selecting from the <browse server> option the connection gets through.
    Is this a Bug ? Has anyone else faced this error?

    Hello,
    Is this a Bug ? Has anyone else faced this error?
    It's not a bug, it's working as intended. Contained users don't have instance level permissions and cannot "login" to the instance (which is what the "browse" button is attempting). In order for it to work, the database name must be in the connection string
    (which with the browse button, it will not be).
    Welcome to contained users, they aren't for everyone.
    Sean Gallardy | Blog | Microsoft Certified Master

  • Getting error while trying to access Project in the TDMS screen

    Hi Team,
    I have configured TDMS 4.0 & trying the access 'PROJECT' but getting the error
    500 SAP Internal Server Error
    ERROR: Syntax error in program %_CCNV . (termination: RABAX_STATE)
    Any idea what is wrong. Please provide inputs. Thanks
    Thanks & Regards,
    Avinash

    Hi,
    Here are the details of the ST22.
    Error analysis
        The following syntax error has occurred in program %_CCNV
        The type name "CNV_TABNAME" is ambiguous, since it is also defined in
        the Dictionary control structure introduced with "CLASS". "CLASS". "CL
        ***". "CLASS". "CLASS".
    Source Code Extract
    Line  SourceCde
        1 method describe_by_name .
        2
        3   data:
        4     crc type XTYPE_TYPE,
        5     res like p_descr_ref.
        6
        7 * check name for sequence of c
        8   system-call check p_name for sequence of c
        9     class 'CL_ABAP_TYPEDESCR' method 'DESCRIBE_BY_NAME' parameter 'P_NAME'.
       10
       11 * get administration information
    >>>>>   system-call describe administration
       13     mode 'N' of p_name into admin_tab_line-xtype crc admin_tab_line-kind.
       14
       15 * look at hash tabel wether descr object already exists
       16   read table admin_tab from admin_tab_line into admin_tab_line.
       17   if sy-subrc = 0.
       18     res ?= admin_tab_line-ref->get( ).
       19     if res is bound.
       20       p_descr_ref = res.
       21       return.
       22     endif.
       23     delete table admin_tab from admin_tab_line.
       24   endif.
       25
       26 * create new descr object
       27   case admin_tab_line-kind.
       28     when kind_elem.
       29       raise event create_elemdescr
       30         exporting xtype = admin_tab_line-xtype.
       31     when kind_ref.
    Program Code for Method DESCRIBE_BY_NAME
    * check name for sequence of c
      system-call check p_name for sequence of c
        class 'CL_ABAP_TYPEDESCR' method 'DESCRIBE_BY_NAME' parameter 'P_NAME'.
    * get administration information
      system-call describe administration
        mode 'N' of p_name into admin_tab_line-xtype crc admin_tab_line-kind.
    * look at hash tabel wether descr object already exists
      read table admin_tab from admin_tab_line into admin_tab_line.
      if sy-subrc = 0.
        res ?= admin_tab_line-ref->get( ).
        if res is bound.
          p_descr_ref = res.
          return.
        endif.
        delete table admin_tab from admin_tab_line.
      endif.

  • Column Not found error while trying to access database through JSP+Java Bea

    I am trying to access MS Access 2003 db through JSP using Tomcat 5.0.28.The code for accessing the database is incorporated in the bean.The JSP only calls the particular method of the bean .
    Code for Java Bean:
    package ActiveViewer;
    import java.sql.*;
    import java.util.*;
    public class CompanyBean
    Connection con;
    ResultSet rs=null;
    Statement st;
    public CompanyBean(){}
    public void connect()
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Here4");
    con=DriverManager.getConnection("jdbc:odbc:activeviewer","","");
    System.out.println("Here1");
    catch (ClassNotFoundException e)
    System.out.println("Could not locate driver.");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    catch (Exception e)
    System.out.println("An unknown Exception has occured :: "+e);
    e.printStackTrace();
    public void disconnect()
    try
    if (con!=null)
    con.close();
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    public ResultSet select(String username)
    if(con!=null)
    try
    st=con.createStatement();
    rs=st.executeQuery("select * from company where username='" + username + "'");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    catch (Exception e)
    System.out.println("An Exception has occured while retrieving :: "+e);
    e.printStackTrace();
    else
    System.out.println("Connection to database was lost.");
    return rs;
    The code for JSP that uses the above bean is:
    <%@ page language="java" import="java.sql.*,ActiveViewer.* " contentType="text/html"%>
    <jsp:useBean id="conn" scope="session" class="ActiveViewer.CompanyBean" />
    <html>
    <body>
    <% String username=request.getParameter("username");
    String password=request.getParameter("password");
    System.out.println("username:"+username);
    System.out.println("password:"+password);
    conn.connect();
    ResultSet rs=conn.select(username);
    System.out.println("Below select ");
    while (rs.next())
    String dbusername=rs.getString("username");
    String dbpassword=rs.getString("password");
    if(dbusername.equals(username) && dbpassword.equals (password))
    { %> out.println("OK");
    <% }
    else { %>Invalid Username and / or Password.
    <br>Clickhere to go back to Login Page.
    <% }
    } %>
    </body>
    </html>
    I get the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Column not found
    though the database is not int he same folder as the jsp, the DSN is set correctly to pint to the db location.The jsp does print in stdout file:
    Here4 (from connect method above)
    Here 1 (from connect method above)
    Below Select (from jsp)
    This means that the jsp does connect to db but it gives the above error.Also the field name also matches that in the database and data is present in the db too.
    All other things like creating package for bean in WEB-INF/classes,incorporating the packakage are done.
    Can someone please help me with their precious advice?

    Hi, I too have a problem with an SQL exception, the message is Column not found.
    I'm using the sun jdbc odbc driver with access.
    the first few lines of the stack trace are
    sun.jdbc.odbc.JdbcOdbcResultSet.findColumn(JdbcOdbcResultSet.java:1852)
    sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:603)
    net.homeip.sdaniels.MemberBean.ejbFindByUnamePwd(MemberBean.java:127)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    I am of course sure that the column does infact exist. I can insert into the column no problems. the sql looks like this:
    SELECT * FROM Members WHERE uName ='Stewart' AND encPwd='�F2C�3����h�1Y�'
    Can any one tell me if there is a common cause to this problem?
    Thanks

  • Error while trying to access portal

    Hi All,
    I have installed NetWeaver CE 7.1 in my system. But when i tried to access portal with the url
    http://<server name>: <port number>/irj/portal
    im getting the following error
    Error component failed , reason : Error while retrieving service: com.sap.portal.runtime.system.authentication.authentication Original Exception : Error while retrieving service: com.sap.portal.runtime.system.authentication.authentication
    Can anyone tell me what could be the reason for this error and how to resolve this?
    Please guide me........
    Regards,
    Padmalatha.K

    HI padmalatha kontham,
    If there is no any ignore option in the dilog box, just try to close it and try again. If u get that again, check the portnumber and hostname are correct or not.
    there won't be any problem other than that.
    example
    http://<host>:<port>/irj/portal
    Thanks
    Suresh

Maybe you are looking for

  • Discount should not be considered during F110

    Dear All, We have the Scenario as below.... Payment Terms : 10 days , 2 % Discount Base Line Date : 03/18/2015 Net Due Date : 03/28/2015 Payment Run : 03/31/2015 So as payment run date ( 03/31/2015 ) is already past due date (03/28/2015 ), why system

  • Import Manager MDM 3.0 Updating old Maps

    Dear MDM Catalog gurus, After having upgraded from MDM 2.0 to MDM 3.0 the maps have to be updated in Import Manager. 1. When trying to update MDM import Maps in the new "SAP Import Manager" messages like - "There are multiple roots for the XML Schema

  • WatchFolder PDF Generator throws error:  ALC-PDG-010-012-PDFMaker ...

    When setting up the WatchFolder after initial TURNKEY install, I am receiving the following error:  ALC-PDG-010-012-PDFMaker reported an error while printing the document in the failure.log file  (full text of error below). This is, of course, after

  • Creative cloud installer stopes installing half way through. No error. The window just disappears.

    No issues downloading the DMG. but I cant actually run the installer all the way. Im running 10.10 and there dousnt seem to be any trace of cc on my Mac? Help please.

  • Lenovo Thinkpad T60 / Monitor Issue

    When I boot up my computer intermittently the bottom half of the screen is horizontal garbled. I can put the top down to put in hibernate mode and open up and press the on button and most of the time it will fix the problem. Any clues??? Thanks for a