ORA-12631: Username retrieval failed

Hi all,
I am trying to connect to my Oracle XE Database and I am getting this error message when I attempt to login using the 'system' user.
Also, I am unable to get to the 'localhost:8080' - I have tried re-installing the software a number of times, but no luck here at all.
I've checked that I've got nothing running on 8080 - there is nothing. I have also made sure that my username is part of 'Administrators' and 'ORA_DBA', but this doesn't work either.
Also, when I look at the lsnrctl status page, I get this:
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-FEB-2008 12:11
:54
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 14-FEB-2008 09:35:13
Uptime 0 days 2 hr. 36 min. 43 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File c:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File c:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=BTG268061.iuser.iroot.adidom.com)(PO
RT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
I can't see the XE Service here. This is a fresh installation, anyone know what I am doing wrong here?

Crispy,
I am not very sure about XE. Here is what a quick search google reveals about your error message.
http://www.dbasupport.com/forums/showthread.php?t=22246
About the listener, try put statically the dtabase service entry in the listener.ora and then restart.It shoudl come up with that.
Aman....

Similar Messages

  • Upgrade to 10.2.0.2: ORA-12631: Username retrieval failed

    hello
    I am upgrading oracle 9.2.0.7 to 10.2.0.2.
    When I start the upgrade assistent, i receive the following error:
    ORA-12631: Username retrieval failed
    Before I started upgrade assistent, i could connect to SQL and everything was okay. Now I can connect to SQL but i can select nothing. Then i receive the same error: Username retrieval failed.
    Thank you very much for helping.
    Best regards
    Selim

    Refer notes
    614036 
    620540
    If these dont solve your problem write back

  • ORA-12631: Username Retreival Failed

    I recently installed XE 11 (OracleXE112_Win32) and when I try to start the 'Run SQL command line' I am getting an ORA-12631: Username Retreival Failed. My environment is Windows XP Pro 2002 SP3
    Edited by: user506733 on Sep 15, 2011 7:32 AM

    I edited the sqlnet.ora file and commented out #SQLNET.AUTHENTICATION_SERVICES = (NTS) and I can now connect

  • Username retrieval failed in 10g XE.  Help!! (Thanks!)

    Hi all -
    Any help would be sincerely appreciated! (although who would write "all help would be looked upon poorly" ???)
    Anyway, I installed 10g XE on Windows XP Pro
    Installation was successful, and I AM able to launch the GUI Administrator (i.e., the one that the "Getting Started" doc talks about).
    I'm able to query tables, create users, all that great stuff.
    However, when I go to Start -> Programs -> Oracle Database 10g Express Edition -> Run SQL Command Line,
    I am unsuccessful at being able to Connect.
    I launch the Run SQL Command Line, type in "connect username_i_created/password@xe" and I get the error "ORA-12631: Username retrieval failed"
    This username DOES exist and I can see and query when I go through the GUI.
    Any thoughts or suggestions?
    Thanks Again!!
    R-

    Thank you all, for your suggestions! Unfortunately, I'm still having problems.
    Ultimately, I have another software application that is meant to connect to my Oracle database. That's failing with the same ORA-12631 error as I mentioned.
    I'm still unable to log in, even directly, via SQL*Plus.
    Through my Command window:
    C:\>echo %ORACLE_SID%
    XE
    C:\>echo %ORACLE_HOME%
    C:\oraclexe\app\oracle\product\10.2.0\server
    C:\sqlplus username/password
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 15 10:51:29 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12631: Username retrieval failed
    and my sqlnet.ora file is posted here:
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    my tnsnames.ora file:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = full computer name from My Computer->Properties->Computer Name)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    my listner.ora file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = full computer name from My Computer->Properties->Computer Name)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)

  • Please help with username retrieval failed error

    Not sure if this is the appropriate forum for this
    We work in a managed environment. In the past week the domain has changed from Manitoba to ME. Yesterday I tried to connect to my local personal Oracle database 9iv2 with SQL*Plus and got an ORA-(TNS)-12631 USERNAME RETRIEVAL FAILED error. However I can connect with iSQL and Oracle Forms. Go figure? Everything was working well on Friday. Our systems person cannot find anything in the logs to indicate other changes that might have been made to our environment.
    I've changed all occurrences of manitoba to me in the c:\oracle\ora92\network\admin\tnsnames.ora, listner.ora and snmp_rw.ora files as well as any others of the same name in other directories (just in case).
    This has not solved the problem. Can anyone suggest what else might need fixing/editing???? Registry??
    I activated the logs and traces but don't understand them well enought to find clues to the problem.
    At the same time, we also experienced problems with our oracle servers, but they are now back on line. I was told that the listners stopped working.
    I still cannot connect to my personal oracle, so any help/suggestions would be very much appreciated
    Thank you
    glenn

    problem has been solved by changing
    sqlnet.authentication_services=(NTS)
    to
    sqlnet.authentication_services=(none)
    BUT: I still don't know why our two servers and my personal oracle got derailed all on the same weekend. I'd still appreciate some suggestions.
    glenn

  • Kerberos Authentication between Sharepoint 2013 Foundation - SSRS 2012 - Oracle 11g failing with ORA-12638: Credential retrieval failed

    I have set up SharePoint 2013 Foundation, SharePoint Reporting Services and SQL Server 2012 in a single server. I then created a Data Connection to Oracle 11g. Upon testing the connection, it throws the error “ORA-12638: Credential retrieval failed”.
    Given below are the steps of installation and configuration.
    Installation till basic authentication:
    The installation has been done in a
    single server.
    Installed SQL Server 2012 (Developer version).
    Selected only the following features:
    Database Engine Services
    Analysis Services
    Reporting Services – SharePoint
    Reporting Services Add-in for SharePoint Products
    Management Tools – Basic
    - Management Tools - Complete
      2. Installed SQL Server 2012 SP1.
      3. Installed SQL Server 2012 SP2.
      4. Installed SharePoint Foundation 2013.
      5. Created web application (without Kerberos; we did not even create the SPNs).
          The application pool has been configured to use Reporting Services account since it is a single server installation. This account has been registered as a managed
    account.
      6. Created Site Collection.
      7. Verified that Reporting Services is not installed.
      8. Installed SharePoint Reporting Services from SharePoint 2013 Management Shell.
      9. Verified that Reporting Services is installed.
     10. Created a new SQL Server Reporting Services Service Application and associated the Web Application to the new SQL server Reporting Services Service Application.
      11. Verified that SQL Server Reporting Services Service Application and its proxy have started. Reset IIS.
      12. Created a Site.
      13. Created a Data Connection library with “Report Data Source” content type.
      14. Created a Report Model library with “Report Builder Model” content type.
      15. Created a Report library with “Report Builder Report” content type.
      16. Uploaded an SMDL to the Report Model library.
      17. Added the top level site to Local Intranet instead of as a Trusted Site in the browser settings.
      18. Able to create and save a report using Report Builder.
    Hence, basic authentication is working and SSRS is able to connect to Oracle database.
    Next we have to configure Kerberos settings between SharePoint and SQL Server.
    Implementation of Kerberos authentication
    In the Report Server machine, opened the file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config  and added the Authentication Types of RSWindowsNegotiate
    and RSWindowsKerberos.
     2.  Set up the following SPNs.
                   a) SQL Server Database Engine service (sqlDbSrv2):
                    setspn -S MSSQLSvc/CER1110:1433 CERDEMO\sqlDbSrv2
                    setspn -S MSSQLSvc/CER1110.cer.demo.com:1433 CERDEMO\sqlDbSrv2
                 In the Delegation tab of the account, selected "Trust this user for delegation to any service (Kerberos only)".
    b) Account: SharePoint Setup Admin account (spAdmin2)
         setspn -S HTTP/CER1110:9999 CERDEMO\spAdmin2
                    setspn -S HTTP/CER1110.cer.demo.com:9999 CERDEMO\spAdmin2
                    In the Delegation tab of the account, selected "Trust this user for delegation to any  service
    (Kerberos only)".
    c) Account: SQL Server Reporting Service account (sqlRepSrv2)
                       setspn -S HTTP/CER1110 CERDEMO\sqlRepSrv2
                       setspn -S HTTP/CER1110.cer.demo.com CERDEMO\sqlRepSrv2
                       In the Delegation tab of the account, selected "Trust this user for delegation to any service
    (Kerberos only)".
      3. Configure the Web Application to use “Negotiate (Kerberos)”.
      4. Logged in as SharePoint Administrator to the SharePoint server and opened the top level site in the IE browser.
         The Event Viewer logged the login process for the SharePoint Administration account as
    Negotiate and not Kerberos.
      5. Implemented Kerberos for Oracle database and client.
         Able to connect to the Oracle database via Kerberos authentication using SQL Plus.
      6. Turn on Windows Firewall.
      7. While testing the site's data connection using Kerberos settings, got the error
    “Can not convert claims identity to windows token. This may be due to user not logging in using windows credentials.”
          Note: The Data Connection for basic authentication still worked.
      8. Created a Claims to Windows Token Service account (spC2WTS2).
      9. Started the Claims to Windows Token Service.
     10. Registered the Claims to Windows Token Service account as a Managed Account.
     11. Changed the Claims To Windows Token Service to use the above managed account.
     12. Verified that the Claims to Windows Token Service account (spC2WTS2) is automatically added to the WSS_WPG local group on the SharePoint box.
          Note: The Reporting Services service account is also a part of the WSS_WPG local group.
     13. Added the Claims to Windows Token Service account (spC2WTS2) to the Local Admin Group on the machine having the SharePoint App Server.
     14. In the SharePoint box, added the Claims to Windows Token Service account (spC2WTS2) in the Act as part of the operating system policy right.
     15. The Claims to Windows Token Service account (spC2WTS2) has the WSS_WPG group configured.
          When the C2WTS service was configured to use the managed account Claims to Windows Token Service account (spC2WTS2) earlier, the spC2WTS2 account was automatically
    added to the WSS_WPG local group on the SharePoint box. The WSS_WPG group in turn is configured in c2wtshost.exe.config file.
     16. Verified that the Reporting Services account is a managed account and part of the WSS_WPG group.
     17. Earlier Service Application Pool - SQL Server Reporting Services App Pool service was associated with the SharePoint Admin account.
          Changed this to associate the Reporting Service account with the Service Application Pool - SQL Server Reporting Services App Pool service.
     18. Changed the delegation of the Reporting Service account to constrained delegation with Protocol Transitioning. This is because we are transitioning from one authentication scheme (Claims) to another (Windows Token).
          For this, the delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use
    any authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
          Note: The Reporting Service account already had an HTTP SPN.
     19. Next, the goal was to make the Claims To Windows Token Service account match the Reporting Service account.
           For this, we created a fake SPN for the Claims To Windows Token Service account since the delegation tab was missing.
           The delegation has been changed to "Trust this user for delegation to specified services only". Also, selected the sub radio button "Use any
    authentication protocol". Selected the Oracle Kerberos service as the service to which this account can present delegated credentials.
     20. Restarted the SharePoint server.
     21. Tested the data connection with the Kerberos settings again.
           Got the error
    “ORA-12638: Credential retrieval failed”.
    Can anyone tell me what is wrong with this setup?

    http://www.freeoraclehelp.com/2011/10/kerberos-authentication-for-oracle.html
    Problem4: ORA-12638: Credential retrieval failed
    Solution:  Make sure that SQLNET.KERBEROS5_CC_NAME is set in sqlnet.ora and okinit has been run before attempting to connect to the database.
    Do check 
    http://webcache.googleusercontent.com/search?q=cache:5a2Pf3FH7vkJ:externaltable.blogspot.com/2012/06/kerberos-authentication-and-proxy-users.html+&cd=5&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • ORA-12638 CREDENTIAL RETRIEVAL FAILED

    Yesterday when I started my server after holiday it gives error ORA-12638 Credential Retrieval Failed,
    Can anyone help. I have taken export backup of my schema before holiday. I can load that but I need advice what should I do to recover. To me its login connectivity problem.

    check the file sqlnet.ora where the database is installed for an entry like SQLNET.AUTHENTICATION_SERVICES= (NTS). If so, disable it.

  • Can't connect to sql*net, ORA-12638: Credential retrieval failed

    after installed oracle9i, I can use sqlplus, but when I try to use sql navigator, I can't connect to sql*net.
    I found out the following error message in logfile:
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=BEQ)
    (PROGRAM=oracle)
    (ARGV0=oracleoms)
    (ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))
    (CONNECT_DATA=(SID=oms)(CID=(PROGRAM=c:\oracle\ora92\bin\ORACLE.EXE)(HOST=JZQGG31)(USER=OraUser))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 11-MAR-2004 17:04:17
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12638
    TNS-12638: Credential retrieval failed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    =============================================
    Hope somebody can help me! Thanks!

    change in sqlnet.ora file
    find under oracle home\network\admin\sqlnet
    and
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    CHANGE TO
    SQLNET.AUTHENTICATION_SERVICES = (NONE)
    hope it will solve u r problem
    kuljeet pal singh

  • ORA-12635 Credential Retrieval Failed

    Hi All
    When I try to install the Oracle database enterprise edition 8.1.7(release 3) on windows NT client(with service pack 5) it stopped at configuration assistant with an error ORA-12635 Credential failed with prompt to Ignore or Abort, when i chose ignore it hangs , so i cancelled the Installation and redo again. but the same error came out and i am unable to continue installation.
    when i try to connect database using SQLPlus as scott/tiger it gives an error TNS:12560-Protocol adaptor error.
    Thanks in anticipation for the reply
    M.Ayub

    Install the Oracle Server without any database and
    after try to create the database through the assistant.
    I recommend you to apply servipack6 for NT which is
    the lastest servipack for that OS.
    Joel P�rez

  • 11.2g Installation error on Win7:  ORA-12638 Credential Retrieval Failed

    I'm attempting to install an Oracle instance on my computer, which is Windows 7, 64-bit. In the middle of the installation I got an error fro Credential Retrieval. I've looked for solutions and they all related to modifying sqlnet.ora. However, at this point in the installation, there does not appear to be such a file on my system, so I can't very well change it. What can I do to install this? Thanks. I thought this might take thirty minutes, not my entire work day.
    Ken
    Edited by: user639117 on Aug 29, 2011 3:34 PM

    Here is the last 100 lines of the installation log. First, though, I have an Oracle client to use to talk to the Oracle database behind PeopleSoft, but I don't want to touch that database for what I'm doing. I need to have a separate database I can experiment in. Thanks.
    INFO: Launching Oracle Database 11g Release 2 Installer
    INFO: Started executing the flow in INTERACTIVE mode
    INFO: Waiting for completion of background operations
    INFO: Finishing all forked tasks at state prepInstall
    INFO: Waiting for completion all forked tasks at state prepInstall
    INFO: All forked task are completed at state prepInstall
    INFO: Completed background operations
    INFO: Executing action at state prepInstall
    INFO: Completed executing action at state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <prepInstall>
    INFO: Completed validating view at state <prepInstall>
    INFO: Validating state <prepInstall>
    WARNING: Validation disabled for the state prepInstall
    INFO: Completed validating state <prepInstall>
    INFO: Verifying route success
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state decideOCMInstall
    INFO: Completed executing action at state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <decideOCMInstall>
    INFO: Completed validating view at state <decideOCMInstall>
    INFO: Validating state <decideOCMInstall>
    WARNING: Validation disabled for the state decideOCMInstall
    INFO: Completed validating state <decideOCMInstall>
    INFO: Verifying route requireOCM
    INFO: Get view named [OCMDetailsUI]
    INFO: View for [OCMDetailsUI] is oracle.install.ivw.common.view.OCMDetailsGUI@6aa218a5
    INFO: Initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getOCMDetails
    INFO: Completed executing action at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getOCMDetails>
    INFO: Pause Oracle Database 11g Release 2 Installer
    INFO: Resume Oracle Database 11g Release 2 Installer
    INFO: Exit Status is 0
    INFO: Shutdown Oracle Database 11g Release 2 Installer

  • Installation Error - ORA 12631

    During the process of "Oracle Database Configuration Assistant" installation, the error "ORA-12631: Username retrieval failed" popped up. End up I can't find "Enterprise Manager".

    Hi Lynn,
    There is a special forum for installation errors that should give you an answer quickly: Database Installation

  • Credential retrieval failed

    I get Credential retrieval failed when trying to loggin to "run SQL Command" tool:
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Dec 8 16:08:26 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys/<pwd> as sysdba
    ERROR:
    ORA-12638: Credential retrieval failed
    SQL> connect / as sysdba
    ERROR:
    ORA-12638: Credential retrieval failed
    SQL>
    Message was edited by:
    VS1

    You've posted to the wrong forum, this is the Application Express forum.

  • Help .....Credential retrieval failed Error

    Hi all,
    I am geting below error, when i run my application with backend Oracle 9i.
    ORA-12638: Credential retrieval failed
    Please Help.
    Thanks,
    Sam

    I believe this is because of Active Directory servers on your network.
    Essentially, your NT logon information has been lost by the network AD server. You will probably find that you can log on to a single session, but if you try and connect to another session from that one you will get this error. This can sometimes happen if you leave your client machine logged on over long periods of time (days or weeks).
    Try rebooting your client PC, which usually re-registers your credentials with the AD server.
    If it continues, speak to your network admin team.

  • Express edition and Credential retrieval failed - again

    Following a successfull installation of the Express edition, I get the common problems of home page not available and 'credential retrieval failed' when I try to login as the system/sysdba. I have read all the threads I have found and have found no remedies which help. I have also tried the following:
    - sqlnet.ora: removing the (NTS) auth. service. This just creates another error message:'Oracle not available'
    What more is there to check?
    My OS is Windows XP SP3
    Re-installation: tried multiple times as local administrator and user with the admin rights - no change.

    Well, I am not an expert but, after having installed Oracle XE several times on several platforms, and having experienced some problems, I suspect that you should give a try with WXP SP2 instead of WXP SP3...
    Good luck!
    Victor

  • Calling Web Service from PL/SQL (ORA-31011: XML parsing failed)

    hi all,
    i want to invoke a web service from PL/SQL.
    i found a soap_api package from "Tim Hall".
    but it gives error in "ealtas.soap_api.invoke function"
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00007: unexpected end-of-file encountered
    ORA-06512: at "SYS.XMLTYPE", line 48
    ORA-06512: at "EALTAS.SOAP_API", line 135
    ORA-06512: at line 44
    set scan off;
    declare
    P_ADRES_WS VARCHAR2(100) := 'http://<host>:<port>/dswsbobje/qaawsservices/biws?wsdl=1&cuid=AVhBxL14I2dDjz8yFoznRLY';
    P_ENVELOPE VARCHAR2(32767);
    P_FNC VARCHAR2(256) := 'runQueryAsAService';
    ol_req ealtas.soap_api.t_request;
    ol_resp ealtas.soap_api.t_response;
    message varchar2(500);
    BEGIN
    p_envelope := '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:db="DB_SUBS_BUDGET">
    <soapenv:Body>
    <db:runQueryAsAService>
    <db:login>DWH_BO</db:login>
    <db:password>Pass1234</db:password>
    </db:runQueryAsAService>
    </soapenv:Body>
    </soapenv:Envelope>
    ol_req := ealtas.soap_api.new_request(P_FNC, 'xmlns="'||P_ADRES_WS||'"');
    ol_resp := ealtas.soap_api.invoke(ol_req, P_ADRES_WS, p_fnc,P_ENVELOPE);
    ealtas.soap_api.show_envelope(p_envelope);
    message := ealtas.soap_api.get_return_value(ol_resp, 'Db_Timeid', 'xmlns:m="'||P_ADRES_WS||'"');
    DBMS_OUTPUT.PUT_LINE('AAAA -'||message);
    end;
    thanks.
    ealtas.

    AlexAnd thanks for your help.
    ACL is ok.
    can you help me about how can i edit this function. i tried many times but i could not do it :( .
    web service url : <host>:<port>/dswsbobje/qaawsservices/biws?WSDL=1&cuid=AVhBxL14I2dDjz8yFoznRLY
    what must be these variables values ?
    l_url :=
    l_namespace :=
    l_method :=
    l_soap_action :=
    l_result_name :=
    this is the xml;
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="DB_SUBS_BUDGET" xmlns:tns1="dsws.businessobjects.com" targetNamespace="DB_SUBS_BUDGET" xmlns="http://schemas.xmlsoap.org/wsdl/" name="queryasaservice">
    - <types>
    - <s:schema elementFormDefault="qualified" targetNamespace="DB_SUBS_BUDGET">
    - <s:element name="runQueryAsAService">
    - <s:complexType>
    - <s:sequence>
    <s:element name="login" type="s:string" />
    <s:element name="password" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:complexType name="Row">
    - <s:sequence>
    <s:element name="Db_Timeid" type="s:string" nillable="true" />
    <s:element name="Db_Tariff" type="s:string" nillable="true" />
    <s:element name="Grossadds" type="s:double" nillable="true" />
    <s:element name="Cancellations" type="s:double" nillable="true" />
    <s:element name="Netadds" type="s:double" nillable="true" />
    <s:element name="Subs" type="s:double" nillable="true" />
    <s:element name="Churn_P" type="s:double" nillable="true" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="Table">
    - <s:sequence>
    <s:element name="row" maxOccurs="unbounded" type="s0:Row" />
    </s:sequence>
    </s:complexType>
    - <s:element name="runQueryAsAServiceResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element name="table" type="s0:Table" />
    <s:element name="message" type="s:string" />
    <s:element name="creatorname" type="s:string" />
    <s:element name="creationdate" type="s:dateTime" />
    <s:element name="creationdateformated" type="s:string" />
    <s:element name="description" type="s:string" />
    <s:element name="universe" type="s:string" />
    <s:element name="queryruntime" type="s:int" />
    <s:element name="fetchedrows" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="QaaWSHeader">
    - <s:complexType>
    - <s:sequence>
    <s:element name="sessionID" type="s:string" minOccurs="0" maxOccurs="1" nillable="true" />
    <s:element name="serializedSession" type="s:string" minOccurs="0" maxOccurs="1" nillable="true" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </types>
    - <message name="runQueryAsAServiceSoapIn">
    <part name="parameters" element="s0:runQueryAsAService" />
    <part name="request_header" element="s0:QaaWSHeader" />
    </message>
    - <message name="runQueryAsAServiceSoapOut">
    <part name="parameters" element="s0:runQueryAsAServiceResponse" />
    </message>
    - <portType name="QueryAsAServiceSoap">
    - <operation name="runQueryAsAService">
    <documentation>Get Web Service Provider server info</documentation>
    <input message="s0:runQueryAsAServiceSoapIn" />
    <output message="s0:runQueryAsAServiceSoapOut" />
    </operation>
    </portType>
    - <binding name="QueryAsAServiceSoap" type="s0:QueryAsAServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <operation name="runQueryAsAService">
    <soap:operation soapAction="DB_SUBS_BUDGET/runQueryAsAService" style="document" />
    - <input>
    - <soap:header message="s0:runQueryAsAServiceSoapIn" part="request_header" use="literal">
    <soap:headerfault message="s0:runQueryAsAServiceSoapIn" part="request_header" use="literal" />
    </soap:header>
    <soap:body use="literal" parts="parameters" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="DB_SUBS_BUDGET">
    <documentation />
    - <port name="QueryAsAServiceSoap" binding="s0:QueryAsAServiceSoap">
    <soap:address location="http://<host>:<port>/dswsbobje/qaawsservices/queryasaservice?&cuid=AVhBxL14I2dDjz8yFoznRLY&authType=secEnterprise&locale=en_US&timeout=60&ConvertAnyType=false" />
    </port>
    </service>
    </definitions>

Maybe you are looking for

  • Apple is often very hot, What should I do?

    The joints of my MacBook Air power will be hot, Then, it will sound. How should I do?

  • Mm-service entry sheet

    hi gurus, pls guide me in this issue While Creating Service Entry Sheet Error occured that Qty entered   exceeded by Qty in PO rgds

  • Elements 12 will not open

    When I try to open my paid copy of elements12 I get the message "trial has expired". I own this copy and when I install the program I put the serial number or (Key code) when it asks, but still get the message. Also when I boot my pc I get the messag

  • Problems trying to open a Pages document

    Have been working on a document on my ipad for a few days now and now can not open the document. I can see the preview of the document, I can duplicate the document (and can not open the duplicate either) but I cannot export or email the document in

  • Ifs webui dont work

    hello, i try to run 9ifs on a linux server. everthing works, i can connect for examble via ftp. but if i want to enter the webui i get a jsp error message. it i try the exambles of the apache und jserv everything works. may someone can help me. jsp e