TaskQueryService fault ORA-30010

To all,
I want to use the TaskQueryService Web Service to access the default worklist operations:
http://localhost:8888/integration/services/TaskQueryService/TaskQueryService
Except for the authentication and destroyWorkflowContext operations, every other operation I tried I got a task taskQueryService Fault Response:
ORA-30010:Error in creating reply message for WSIF Java Web Services. Error in creating reply message for WSIF Java Web Services. Contact oracle support if error is not fixable.
I know the worklist is working because I have successfully queried the worklist via a Java client. The problem is the TaskQueryService endpoint getting a NullPointerException while creating a reply message. Here is the error from the opmn log file:
<ERROR> <oracle.bpel.services.workflow> <::>
java.lang.NullPointerException
     at oracle.xml.parser.v2.XMLDocument.importNode(XMLDocument.java:1960)
     at oracle.bpel.services.common.util.XMLUtil.cloneNode(XMLUtil.java:196)
     at oracle.bpel.services.workflow.verification.impl.VerificationService.createWorkflowContextFromWSRequest(VerificationService.java:754)
     at oracle.bpel.services.workflow.query.impl.TaskQueryServiceWSIF.getWFContextFromElem(TaskQueryServiceWSIF.java:426)
     at oracle.bpel.services.workflow.query.impl.TaskQueryServiceWSIF.queryTasks(TaskQueryServiceWSIF.java:163)
     at oracle.bpel.services.workflow.query.soap.TaskQueryServiceSOAP.queryTasks(TaskQueryServiceSOAP.java:109)
     at oracle.bpel.services.workflow.query.soap.runtime.TaskQueryServiceSOAPBinding_Tie.invoke_queryTasks(TaskQueryServiceSOAPBinding_Tie.java:182)
     at oracle.bpel.services.workflow.query.soap.runtime.TaskQueryServiceSOAPBinding_Tie.processingHook(TaskQueryServiceSOAPBinding_Tie.java:747)
I am using a stand alone OC4J 10.1.3.3.1. I have applied MLR#7 6869621 for the BUG 6781561 - TASKMETADATASERVICE THROWS WSIF ERROR AND TASKQUERYSERVICE THROWS INVALID TOKEN. But it made no difference.
Any idea on how to fix this error?
Thanks in advance

Ive solved it. It has something to do with the xml message structure. When I replace the soap message body with e.g. this one it works fine.
<env:Body xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<taskListRequest xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
<workflowContext xmlns="http://xmlns.oracle.com/bpel/workflow/common">
<credential xmlns="http://xmlns.oracle.com/bpel/workflow/common">
<login xmlns="http://xmlns.oracle.com/bpel/workflow/common">jcooper</login>
<identityContext xmlns="http://xmlns.oracle.com/bpel/workflow/common">jazn.com</identityContext>
</credential>
<token xmlns="http://xmlns.oracle.com/bpel/workflow/common">c9pHcmBFtc4q7/EY3xGAv/6hhfa6Hf5tllCb8ZYKtdSA/8/y0exRcwpjy0vWiWGgBPzuIh5Ur+l+ZHDNe0PKb09+hfoM5f7Oq3JRxjGuU1QatxW4GHIRJcZBjvSTlowGlY35AKQfc6RT4bqYmJFYfXEl/w69euFEPSa6bV7BMbeueGeC0d039w95koVyGA2EdR1LhR3tX0yOgvJwvHLsrw==</token>
</workflowContext>
<taskPredicateQuery startRow="0" endRow="0" xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<displayColumnList xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">CREATOR</displayColumn>
<displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">TITLE</displayColumn>
<displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">CREATEDDATE</displayColumn>
<displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">EXPIRATIONDATE</displayColumn>
<displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">PRIORITY</displayColumn>
<displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">TASKNUMBER</displayColumn>
<displayColumn xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">OUTCOME</displayColumn>
</displayColumnList>
<optionalInfoList xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery"/>
<predicate xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<assignmentFilter xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">My+Group</assignmentFilter>
</predicate>
<ordering xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<clause xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">
<column xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">taskNumber</column>
<sortOrder xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">ASCENDING</sortOrder>
<nullFirst xmlns="http://xmlns.oracle.com/bpel/workflow/taskQuery">false</nullFirst>
</clause>
</ordering>
</taskPredicateQuery>
</taskListRequest>
</env:Body>
Verry Strange but it's a workaround ;)

Similar Messages

  • Version 3.1 fault - ORA-06502 error when creating SQL Report Region/Page

    I usually perfect my query in SQL*PLUS before I create a new report region.
    Consequently, I copy the code into the region wizard to create the new page. However, since we have upgraded to Version 3.1, virtually every report I have tried to create has created the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    It would appear that a maximum of 960 characters can be used to create the region/page. Perversely, once the page/region has been created, I can then edit the source and include as much code as I want (so far I've not run up against a limit)
    As it's just annoying, but not stopping me doing what I wanted to do, I've not got around to mentioning this error previously, but it occurred to me that I should (so I am!)
    David

    Hi David,
    Thank you for reporting this. Unfortunately, this was a regression introduced in Application Express 3.1. The workaround is to edit the region, as you suggested. This has been filed as Bug 6956070 and will be corrected in the forthcoming Application Express 3.1.1 patch set.
    Joel

  • Calling TaskQueryService as a Web Service from c#

    I am currently trying to call the Task Query Service as a web service from a c# application.
    Within Visual Studio, I have set up the web reference QueryTasks to the WSDL, and have the following piece of code:
    QueryTasks.task[] GetTasks()
    QueryTasks.task[] tasks = null;
    try
    // Authenticate
    QueryTasks.credentialType credential = new QueryTasks.credentialType();
    credential.login = m_username;
    credential.password = m_password;
    credential.identityContext = m_context;
    QueryTasks.TaskQueryService tqs = new QueryTasks.TaskQueryService();
    QueryTasks.workflowContextType taskContext = tqs.authenticate(credential);
    // create predicate for all tasks assigned to this authenticated user
    QueryTasks.taskPredicateQueryType taskPredicateQuery = new QueryTasks.taskPredicateQueryType();
    QueryTasks.taskPredicateType predicate = new QueryTasks.taskPredicateType();
    predicate.assignmentFilter = QueryTasks.assignmentFilterEnum.My;
    predicate.assignmentFilterSpecified = true;
    QueryTasks.predicateClauseType clause = new QueryTasks.predicateClauseType();
    clause.column = "STATE";
    clause.@operator = QueryTasks.predicateOperationEnum.EQ;
    clause.Item = "ASSIGNED";
    QueryTasks.predicateClauseType[] clauses = new QueryTasks.predicateClauseType[1];
    clauses[0] = clause;
    predicate.clause = clauses;
    taskPredicateQuery.predicate = predicate;
    // Specify the fields we will want populated for subsequent retrieval
    taskPredicateQuery.displayColumnList = new string[] { "TITLE", "STATE", "EXPIRATIONDATE", "TASKNUMBER" };
    taskPredicateQuery.optionalInfoList = new QueryTasks.taskOptionalInfoEnum[] { QueryTasks.taskOptionalInfoEnum.Actions,
    QueryTasks.taskOptionalInfoEnum.Attachments,
    QueryTasks.taskOptionalInfoEnum.Comments,
    QueryTasks.taskOptionalInfoEnum.CustomActions,
    QueryTasks.taskOptionalInfoEnum.GroupActions};
    // Build the request
    QueryTasks.taskListRequestType taskListRequest = new QueryTasks.taskListRequestType();
    taskListRequest.workflowContext = taskContext;
    taskListRequest.taskPredicateQuery = taskPredicateQuery;
    // query for the tasks
    tasks = tqs.queryTasks(taskListRequest);
    catch (Exception e)
    throw e;
    return tasks;
    When this code is run, it returns the correct number of records for the query in the tasks array, but each individual task record in the array contains nothing but null's in all it's fields.
    I have found a number of references when calling this web service in Java regarding switching on serialization for the Predicate object, however as far as I am aware this is already switched on in the automatically generated code within Visual Studio (unless anyone knows different?)
    Does anybody have any other ideas / suggestions as to where to go next?
    Thanks
    Dave

    Hi Dave,
    I am attempting a similar operation from C# and having exactly the same problems. Apparently the xml parser on the bpel engine is really odd. I found someone experiencing a similar issue in this thread Re: TaskQueryService fault ORA-30010
    Did you manage to get around this problem at all?
    Cheers
    Steven

  • Issue in invoking authenticate method of TaskQueryService(thru web service)

    Hi,
    I am running the latest version of SOA (11.1.1.4).I am trying the get the IWorkflowContext through authenticate method exposed by Task Query Service (http://<host>:<port>/integration/services/TaskQueryService/TaskQueryService?WSDL) I tried testing the web service from the browser and getting the following error.
    <b>Input XML Message
    =============</b>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header>
              <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   <wsse:UsernameToken>
                        <wsse:Username>weblogic</wsse:Username>
                        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">weblogic1</wsse:Password>
                   </wsse:UsernameToken>
              </wsse:Security>
         </soap:Header>
         <soap:Body xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/common">
    <ns1:credential>
    <ns1:login>weblogic</ns1:login>
    <ns1:password>weblogic1</ns1:password>
    <ns1:identityContext>jazn.com</ns1:identityContext>
    <ns1:onBehalfOfUser></ns1:onBehalfOfUser>
    </ns1:credential>
    </soap:Body>
    </soap:Envelope>
    <b>Output XML Message
    ==============</b>
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
         <env:Header/>
         <env:Body>
              <env:Fault>
                   <faultcode>env:env:Receiver</faultcode>
                   <faultstring/>
                   <faultactor/>
                   <detail>
                        <taskQueryServiceFaultResponse xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
                             <message xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
                                  <b>ORA-30501:Error in authenticating user.
                                  Error in authenticating and creating a workflow context for user weblogic.
                                  Verify that the user credentials and identity service configurations are correct. </b>
                             </message>
                        </taskQueryServiceFaultResponse>
                   </detail>
              </env:Fault>
         </env:Body>
    </env:Envelope>
    Can someone help me in identifying the issue here? Is there any configurations to be done. Tried the same from Java API and it is working fine.
    Thanks in Advance...!!!
    Arul
    Note: I tried using the authenticateUser through the web service exposed by Identity Service (http://host:port/integration/services/IdentityService/identity?WSDL). I am able to invoke it and get a response without any errors with the same details.

    Resolved. You need to pass different user for the header and the payload. Sample payload for reference.
    Input
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header>
              <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   <wsse:UsernameToken>
                        <wsse:Username>testuser</wsse:Username>
                        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">weblogic1</wsse:Password>
                   </wsse:UsernameToken>
              </wsse:Security>
         </soap:Header>
         <soap:Body xmlns:ns1="http://xmlns.oracle.com/bpel/workflow/common">
              <ns1:credential>
                   <ns1:login>weblogic</ns1:login>
                   <ns1:password>weblogic1</ns1:password>
                   <ns1:identityContext>jazn.com</ns1:identityContext>
              </ns1:credential>
         </soap:Body>
    </soap:Envelope>
    Output
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
         <env:Header/>
         <env:Body>
              <workflowContext
    xmlns="http://xmlns.oracle.com/bpel/workflow/common">
                   <credential>
                        <login>testuser</login>
                        <identityContext>jazn.com</identityContext>
                   </credential>
                   <token>86082d60-b680-4d01-a7df-e5d65f960e1b;;RJyrRqmZYWuhtR461ceGRVsrByUVLPRZFY184usAAiLUJh8wnHfPw3kXlQRFizmtZoH793j2BDt8LKyF1W6U65fiKUx5BIzVJOfz2mU6iTrBe9uskaBKiD+LKFtPYCrki+yFUV2RwM+5ITckanBKhHcQuXtsmkUuCnSj+KbYmTEBKDSg/s0eBuGoP5rJzXiRxb6LZWmAtuXrjHrR/3TCKRe9JufhgL+n8mDPzypp4KtO9QhOP49IXF/DSDMkC/hy</token>
                   <locale>en_US#en_US</locale>
                   <timeZone>Asia/Calcutta</timeZone>
              </workflowContext>
         </env:Body>
    </env:Envelope>
    Note: You need to UnCheck "Include In Message" checkbox for all input fields for which you did not provide any value

  • Date format for Task Predicate Query

    Does anyone know the correct format the task query is expecting when testing against flex field data e.g. dateAttribute1?
    I the following query ->
    <tas1:taskListRequest xmlns:com="http://xmlns.oracle.com/bpel/workflow/common" xmlns:tas="http://xmlns.oracle.com/bpel/workflow/taskQuery" xmlns:task="http://xmlns.oracle.com/bpel/workflow/task" xmlns:tas1="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
        <tas:taskPredicateQuery startRow="0" endRow="200">
          <tas:displayColumnList>
            <tas:displayColumn>textAttribute1</tas:displayColumn>
            <tas:displayColumn>textAttribute2</tas:displayColumn>
            <tas:displayColumn>textAttribute3</tas:displayColumn>
            <tas:displayColumn>textAttribute4</tas:displayColumn>
            <tas:displayColumn>numberAttribute1</tas:displayColumn>
            <tas:displayColumn>dateAttribute1</tas:displayColumn>
          </tas:displayColumnList>
          <tas:optionalInfoList>
            <tas:taskOptionalInfo>Payload</tas:taskOptionalInfo>
          </tas:optionalInfoList>
          <tas:predicate>
            <tas:assignmentFilter>All</tas:assignmentFilter>
            <tas:clause joinOperator="AND" ignoreCase="true">
              <tas:column>STATE</tas:column>
              <tas:operator>EQ</tas:operator>
              <tas:value>ASSIGNED</tas:value>
            </tas:clause>
            <tas:clause joinOperator="AND">
              <tas:column>TITLE</tas:column>
              <tas:operator>EQ</tas:operator>
              <tas:value>Index Case</tas:value>
            </tas:clause>
            <tas:clause joinOperator="AND">
              <tas:column>dateAttribute1</tas:column>
              <tas:operator>BEFORE</tas:operator>
              <tas:value>2014-12-05T12:00:00</tas:value>
            </tas:clause>
          </tas:predicate>
        </tas:taskPredicateQuery>
      </tas1:taskListRequest>
    And get the following error ->
    <taskQueryServiceFaultResponse  xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
          <message>
               ORA-30961:Invalid value specified in predicate clause.
              The value 2014-12-05T12:00:00 for column wfn.dateAttribute1 is invalid for the columns  data type.
              Specify a value that is of the correct type, or is another column with a matching  data type.
          </message>
    </taskQueryServiceFaultResponse>
    I have tried a number of formats and always get the same error!

    Of course you're right, thor_b. My point is that Oracle's "to_date" can convert a string to a date, but that's not how Access or SQL Server or any other RDBMS do it. They're all different. If you hardwire "to_date" into your SQL you'll have to rewrite the whole thing if you move from Oracle to SQL Server.
    I like the PreparedStatement because it takes care of all that for me.
    Performance penalty? Over Statement? I've read some stuff about that, but I find it hard to believe.
    Whenever you send SQL to a relational database it has to parse the SQL, determine if the tables and columns exist and have the right types, optimize the query, and then execute it. You have to do that whether you're using Statement or PreparedStatement. If PreparedStatement allows the RDBMS to do all that work once and then store it, I can't see how you'll do worse. - MOD

  • OCCI: ORA-21500 [17099] seg faults on 10.2.0.4.1 client

    Hi,
    I've been getting this seg fault using OCCI, my environment:
    Oracle client 10.2.0.4.1 x86_64 (jul 2009) on rhel5.4
    Oracle database 9.2.0.8 x86_64 on rhel4.8
    I've written a g++ multi thread app that is making use of Connection Pooling, within 5 minutes of my app starting it seg faults with:
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    Errors in file :
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    Errors in file :
    ORA-21500: internal error code, arguments: [], [], [], [], [], [], [], []
    ORA-21500: internal error code, arguments: [17099], [], [], [], [], [], [], []
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    calling call entry argument values in hex
    location type point (? means dubious value)
    Cannot seek to string table section header in /proc/8712/exe.
    Cannot seek to string table section header in /proc/8712/exe.
    Segmentation fault
    its compiled against gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
    I've tried the following:
    Installing the occi download from http://www.oracle.com/technology/tech/oci/occi/occidownloads.html and compiling with gcc-3.4.6
    I'm using the following commands to compile & link:
    g++ -DMOXA_DEBUG -I/database/u00/app/oracle/product/10.2.0/db_1/rdbms/demo -I/database/u00/app/oracle/product/10.2.0/db_1/rdbms/public -I/database/u00/app/oracle/product/10.2.0/db_1/plsql/public -I/database/u00/app/oracle/product/10.2.0/db_1/network/public -O0 -g3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"src/DB_Table.d" -MT"src/DB_Table.d" -o"src/DB_Table.o" "../src/DB_Table.cpp"
    g++ -L/database/u00/app/oracle/product/10.2.0/db_1/rdbms/lib -L/database/u00/app/oracle/product/10.2.0/db_1/lib -shared -o"libmoxa.so" ./src/DB_Table.o ./src/Dialup.o ./src/Modem.o ./src/Rtu.o ./src/Rtu_Type.o ./src/Session.o ./src/Session_Log.o ./src/Soe_Point.o ./src/Soe_Point_Event.o ./src/Thread.o ./src/Utils_Time.o ./src/db.o -locci10_343 -lclntsh -ldl -lm
    I've tried to do a -locci10 instead of the -locci10_343, still nothing..
    Intesting to note, the older version of the application on the same environment doesn't have this problem..
    I do know OCCI is a bit tempremental, especially when creating threads, as i've had to put a 100ms delay otherwise i get other errors
    the back trace looks like, it allways core dumps when releasing the connection..
    #0 0x00002b01b9fd8cae in slrac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    (gdb) bt
    #0 0x00002b01b9fd8cae in slrac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #1 0x00002b01b9fd8b3d in kgdsaaddr () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #2 0x00002b01b9fd83b8 in kgdsdst () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #3 0x00002b01b9c7f0b0 in skgudmp () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #4 0x00002b01b9fb27ac in kgeriv () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #5 0x00002b01b9fb2fab in kgesiv () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #6 0x00002b01b9fb2ace in kgesic0 () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #7 0x00002b01b9ace52d in kpuhhfre () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #8 0x00002b01b9ad9a3a in kpuhmcfre () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #9 0x00002b01b9a6ca5a in kputac () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #10 0x00002b01b9b8265a in kpuspsessionrelease () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #11 0x00002b01b9be1d6f in OCISessionRelease () from /database/u00/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
    #12 0x00002b01b95452f1 in oracle::occi::ConnectionImpl::do_destroy () from /home/fep/moxa_1.3/libmoxa/Debug/libmoxa.so
    #13 0x00002b01b954d78c in oracle::occi::ConnectionPoolImpl::terminateConnection () from /home/fep/moxa_1.3/libmoxa/Debug/libmoxa.so
    #14 0x00002b01b953c47c in DB::release_connection (conn=0xed36498) at ../src/db.cpp:126
    I'm downloading the 11.2g client in the hope it works there without a hitch..
    Any help/suggestions whould be much appreciated..
    Cheers
    James

    Shiyer,
    libmoxa.so is the library I have created which is performing the oracle queries..
    The pool is created from the main thread by:
    Environment _env = Environment::createEnvironment (Environment::DEFAULT);
    ConnectionPool connectionpool = _env->createConnectionPool(
    username, passwd, tnsname, 1, 10, 1);
    And then each query is used run inside a connect initiated with:
    Connection *conn = connectionpool->createConnection(_username.c_str(), passwd.cstr());
    Statement *stmt = conn->createStatement("select 1 from dual;");
    ResultSet *rset = stmt->executeQuery();
    while( rset->next() == rset->DATA_AVAILABLE ) {
    std::cout << rset->getInt(1) << std::endl;
    stmt->closeResultSet (rset);
    conn->terminateStatement (stmt);
    and connection released with:
    connectionpool->terminateConnection(conn);
    Hope this helps!
    cheers
    James

  • Apex_web_service.make_request throws ORA-29273: HTTP request failed. How to get the soap fault XML?

    I am trying to call a web service using apex_web_service.make_request function.
    It works fine when all the parameters are correct. However, when something is wrong in the request XML, it throws an exception instead of returning the soap:fault message:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1369
    ORA-29269: HTTP server error 500 - Internal Server Error
    ORA-06512: at "APEX_040200.WWV_FLOW_WEBSERVICES_API", line 130
    ORA-06512: at line 37
    I need to get back the soap:fault and parse it to display a proper error message to the users (e.g. what was wrong with the input), yet the call throws an exception instead of returning it.
    I am trying the exact same request from soapUI and it returns me the soap:fault below:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
       <soap:Body>
          <soap:Fault>
             <soap:Code>
                <soap:Value>soap:Receiver</soap:Value>
             </soap:Code>
             <soap:Reason>
                <soap:Text xml:lang="en">Fault occurred while processing.</soap:Text>
             </soap:Reason>
             <soap:Detail>
                <ns1:RegisterFault xmlns:ns1="http://www.exchangenetwork.net/wsdl/register/1">
                   <description xmlns:ns2="http://www.exchangenetwork.net/wsdl/register/1">The security token has expired.</description>
                   <errorCode xsi:type="ns2:RegisterErrorCode" xmlns:ns2="http://www.exchangenetwork.net/wsdl/register/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">E_TokenExpired</errorCode>
                </ns1:RegisterFault>
             </soap:Detail>
          </soap:Fault>
       </soap:Body>
    </soap:Envelope>
    How do I get this back from APEX?
    Thanks!

    Hi,
       I've just run into this.
       If the webservice returns a fault, such as:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>INVALID_REQUESTER_INFO</faultstring></soap:Fault></soap:Body></soap:Envelope>
       then the user gets presented with an unfriendly error message and there's no chance to output a more friendly one.
       The response above is seen when testing the webservice, when run from the Form/Report page, we get something like:
    soap:ServerINVALID_REQUESTER_INFO
    Contact your application administrator.
    OK
       When OK button is clicked everything is rolled back and we don't even get the fault XML.
       It would be good if Apex could be optionally set to not give the unfriendly messages, so that we could code such a message ourselves.
       Unless anybody has a workaround for this, I guess that I'll have to see if I can code this in PLSQL.
    Regards,
    Chris

  • Fault management - ora-human-intervention - help

    Folks,
    I am playing with Fault management framework and everything went fine so far. However when I changed action to 'ora-huma-intervention' I am not seeing the desired output.
    My version - 10.1.3.3
    Here is my audit :
    [2009/05/07 15:13:58] [FAULT RECOVERY] Marked Invoke activity as "pending manual recovery".
    [2009/05/07 15:13:58] "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.More...
    [2009/05/07 15:13:58] "BPELFault" has not been caught by a catch block.
    [2009/05/07 15:13:58] BPEL process instance "3320518" cancelled
    According to audit, invoke activity is marked to 'Pending manual recovery', but the last line shows process instance is cancelled. I believe instance must not be cancelled in this stage and it must appear under activities tab if this work correctly ...
    Not sure if the problem is related,I see the below error in opmn log about the missing table 'wi_fault'.
    The process domain was unable to update the fault entry for the activity "3320518-BpInv0-BpSeq0.3-2" from the datastore. The exception reported is: ORA-00942: table or view does not exist
    Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: SELECT COUNT(*) FROM wi_fault WHERE cikey = ? AND node_id = ? AND scope_id = ? AND count_id = ?
    Any guidance will be appreciated ...
    Ron

    That SQL error ORA-00942: table or view does not exist is caused because you haven't install the SQL scripts after performing the upgrade.
    The scripts that need to be run can be found
    E:\Oracle\product\soa\10.1.3\bpel\system\database\scripts
    run the scripts that are relevant to your upgrade.
    If you are running olite the SQL prompt is found
    E:\Oracle\product\soa\10.1.3\bpel\bin\polsql.cmd
    the fault management was introduced in 10.1.3.3 and requires these database changes.
    Also make sure your JDev version is the same as SOA Suite version.
    cheers
    James

  • Acrobat XI Pro crashing, faulting module: TOUCHUP.API

    Acrobat XI Pro 11.0.4.63 (running on W7 Pro + SP1, 64-bit) has suddenly begun to crash when moving text fields in forms. I am now unable to add or edit any text in text fields of any PDF form. No updates, installations or system changes were made prior to, or at the onset of, this issue
    I have attempted: Disable antivirus; use safe mode; repair install; remove faulting plugin from reference path and repair install; uninstall + CClean registry + full reinstall; and full reinstall without any updates. Acrobat software is unusable in its current state. I would appreciate some help!
    Other Adobe products currently installed:
    AIR 3.5.0.1060
    Download Assistant 1.2.5
    Flash Player 11 ActiveX 11.9.900.117
    Flash Player 11 Plugin 11.9.900.117
    Reader XI 11.0.05
    Error from event logs:
    Log Name:      Application
    Source:        Application Error
    Date:          11/15/2013 11:44:48
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Description:
    Faulting application name: Acrobat.exe, version: 11.0.4.63, time stamp: 0x52288928
    Faulting module name: TouchUp.api, version: 11.0.4.63, time stamp: 0x5228881c
    Exception code: 0xc0000005
    Fault offset: 0x00018640
    Faulting process id: 0x16e0
    Faulting application start time: 0x01cee221f2859d70
    Faulting application path: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
    Faulting module path: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\TouchUp.api
    Report Id: 3d30639b-4e15-11e3-966b-1803732675a0

    I have the same problem with KERNELBASE.dll but the procedure is the same, I change into something thanks
    Nome dell'applicazione che ha generato l'errore: Acrobat.exe, versione: 11.0.4.63, timestamp: 0x52288928
    Nome del modulo che ha generato l'errore: KERNELBASE.dll, versione: 6.1.7601.18409, timestamp: 0x53159a86
    Codice eccezione: 0xc06d007e
    Offset errore 0x0000c42d
    ID processo che ha generato l'errore: 0x18ec
    Ora di avvio dell'applicazione che ha generato l'errore: 0x01cf833d351b70ed
    Percorso dell'applicazione che ha generato l'errore: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
    Percorso del modulo che ha generato l'errore: C:\Windows\syswow64\
    Nome dell'applicazione che ha generato l'errore: Acrobat.exe, versione: 11.0.4.63, timestamp: 0x52288928
    Nome del modulo che ha generato l'errore: KERNELBASE.dll, versione: 6.1.7601.18409, timestamp: 0x53159a86
    Codice eccezione: 0xc06d007e
    Offset errore 0x0000c42d
    ID processo che ha generato l'errore: 0x18ec
    Ora di avvio dell'applicazione che ha generato l'errore: 0x01cf833d351b70ed
    Percorso dell'applicazione che ha generato l'errore: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
    Percorso del modulo che ha generato l'errore: C:\Windows\syswow64\KERNELBASE.dll
    ID segnalazione: 730f9cd2-ef30-11e3-a912-00269e8fad5f
    ID segnalazione: 730f9cd2-ef30-11e3-a912-00269e8fad5f

  • Forms application returns "ORA-01403 no data found" exception on Windows 7

    Hi everyone,
    I am currently involved in an application compatibility project for an O/S migration from Windows XP to Windows 7.
    We have a legacy Oracle Dev6i P18 Forms application that has been working perfectly on Windows XP for the last decade or so. When we installed the same application on Windows 7, it returned a pop-up error message with the text: "ORA-01403 no data found" when performing a certain operation (clicking on a Submit button in a specific form). The same operation works successfully on Windows XP displaying the message "Submit has been successful".
    This error is well documented and the solution involves adding an exception handler to the faulting SQL statement(s) in order to handle the ORA-01403 exception. Unfortunately, the application is composed of compiled forms (.FMX) and we no longer have the source code so I can't implement this solution.
    I ran a file comparison utility (WinDiff from the Windows SDK) and confirmed that all the files in the application folder and the Oracle Dev6i P18 folder are identical on both the Windows XP and Windows 7 systems.
    I enabled tracing in SQLNet.ORA by configuring TRACE_LEVEL_CLIENT=SUPPORT (I know, too verbose) and other related settings on both systems and have uploaded the traces to my SkyDrive for public viewing:
    http://sdrv.ms/10BNYtI
    The traces show that the "ORA-01403" exception occurs many times on both Windows XP and Windows 7 systems as a result of various SQL statements being executed, for instance:
    SELECT TASK_ID,TASK_DETAIL_STATUS,ASSIGNED_DATE FROM TASK_DETAILS WHERE TASK_ID = :b1 AND TASK_DETAIL_STATUS = (SELECT ID FROM V_TASK_STATUS WHERE ABBREVIATION = 'PLANNED' ) FOR UPDATE OF TASK_DETAIL_STATUS,ASSIGNED_DATE
    UPDATE TASK_DETAILS SET ASSIGNED_DATE=NTMS_UTIL.GET_SERVER_DATE,TASK_DETAIL_STATUS=(SELECT ID FROM V_TASK_STATUS WHERE ABBREVIATION = 'ASSIGNED' ) WHERE ROWID = :b1
    ORA-01403: no data found.
    So the same error happens on both Windows XP and Windows 7.
    On Windows XP, the error is somehow handled, and does not cause the "Submit" operation to fail.
    On Windows 7, however, the error bubbles to the surface and is displayed to the user, thus halting the "Submit" operation.

    Thank you. I'm well aware that adding an exception handler is the classic solution to the ORA-01403 error. However, like I mentioned in my original post, I don't have the source code. All I have are the compiled .FMX forms so I can't implement such a solution:
    From my original post:
    This error is well documented and the solution involves adding an exception handler to the faulting SQL statement(s) in order to handle the ORA-01403 exception. Unfortunately, the application is composed of compiled forms (.FMX) and we no longer have the source code so I can't implement this solution.

  • ORA-02070: database PSQL_REPORT does not support some function in this cont

    [oracle@stdb ~]$ sqlplus / as sysdba
    SQL*Plus: Release *10.2.0.5.0* - Production on Tue Mar 20 13:15:35 2012
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    Session altered.
    Elapsed: 00:00:00.00
    13:23:36 SQL> desc "report_accident_detail"@PSQL_REPORT
    Name                    Null? Type
    id                    NOT NULL NUMBER(10)
    accident_master_id          NOT NULL NUMBER(10)
    subscriber_id               NOT NULL NUMBER(10)
    unit_id               NOT NULL NUMBER(10)
    event_number                    NUMBER(10)
    reg_number                    VARCHAR2(254)
    vin                         VARCHAR2(254)
    servertime_begin               NUMBER(10)
    servertime_end                NUMBER(10)
    event_datetime                DATE
    event_address                    VARCHAR2(254)
    event_location                VARCHAR2(254)
    latitude                    FLOAT(53)
    longitude                    FLOAT(53)
    area_id                    NUMBER(3)
    area_kind                    NUMBER(1)
    ignition_state                NUMBER(5)
    accel_value_x                    FLOAT(53)
    accel_value_y                    FLOAT(53)
    accel_value_z                    FLOAT(53)
    vehicle_speed                    FLOAT(53)
    call_to_customer_datetime          DATE
    is_customer_confirmed_accident      NUMBER(10)
    note                         VARCHAR2(254)
    gen_datetime                    DATE
    1* select count(*) from "report_accident_detail"@PSQL_REPORT
    13:21:33 SQL> /
    COUNT(*)
    150
    1 row selected.
    Elapsed: 00:00:00.01
    1* select * from "report_accident_detail"@PSQL_REPORT
    13:21:57 SQL> /
    ERROR:
    ORA-02068: following severe error from PSQL_REPORT
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.1.4)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=PSQL_REPORT)))
    no rows selected
    Elapsed: 00:00:00.09
    initPSQL_REPORT.ora
    HS_FDS_CONNECT_INFO = PSQL_REPORT
    HS_FDS_TRACE_LEVEL = 255
    HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbc.so
    HS_LANGUAGE = AMERICAN_AMERICA.CL8MSWIN1251
    HS_FDS_SQLLEN_INTERPRETATION=32
    set ODBCINI = /etc/odbc.ini
    set ODBCINSTINI = /etc/odbcinst.ini
    Oracle Database CHARACTER SET CL8MSWIN1251
    Postgres Database
    CREATE DATABASE "3st_reports"
    WITH OWNER = sysdba
    ENCODING = 'UTF8'
    TABLESPACE = pg_default
    LC_COLLATE = 'ru_RU.UTF-8'
    LC_CTYPE = 'ru_RU.UTF-8'
    CONNECTION LIMIT = -1;
    Listener:
    [oracle@stdb ~]$ cat /u01/app/oracle/product/11.2.0/Gateway_x64/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/Gateway_x64/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    GATEWAY_X64 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.1.4)(PORT = 1522))
    SID_LIST_GATEWAY_X64 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = PSQL)
    (PROGRAM = dg4odbc)
    (SID_NAME = PSQL)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/Gateway_x64)
         (ENVS=LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/Gateway_x64/lib)
    (SID_DESC =
    (GLOBAL_DBNAME = PSQL_REPORT)
    (PROGRAM = dg4odbc)
    (SID_NAME = PSQL_REPORT)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/Gateway_x64)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/Gateway_x64/lib)
    #INBOUND_CONNECT_TIMEOUT_GATEWAY_X64 = 0
    ADR_BASE_GATEWAY_X64 = /u01/app/oracle
    strace shows me 'Segmentation fault':
    2807 write(7, " SQLFetch: row: 1, column 22, bf"..., 51) = 51
    2807 write(7, " SQLFetch: row: 1, column 22, bf"..., 63) = 63
    2807 write(7, " SQLFetch: row: 1, column 23, bf"..., 50) = 50
    2807 write(7, " SQLFetch: row: 1, column 23, bf"..., 62) = 62
    2807 write(7, " SQLFetch: row: 1, column 24, bf"..., 53) = 53
    2807 write(7, " SQLFetch: row: 1, column 24, bf"..., 82) = 82
    2807 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    2807 rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
    2807 chdir("/u01/app/oracle/product/11.2.0/Gateway_x64/rdbms/log") = 0
    2807 mkdir("hs_core_2807", 0750) = 0
    2807 chdir("hs_core_2807") = 0
    2807 open("/u01/app/oracle/product/11.2.0/Gateway_x64/rdbms/log/hs_core_2807/hs_core_trace_2807.trc", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10
    2807 fstat(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
    2807 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaab616000
    PSQL_REPORT_agt_2903.trc
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- TUESDAY MAR 20 2012 13:13:17.733
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    HOSGIP returned value of "UCS2" for HS_NLS_NCHAR
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    HOSGIP returned value of "32" for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "PSQL_REPORT"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:PSQL_REPORT
    SQLFetch: row: 1, column 20, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    0: C1CAA145 B6F3ED3F [...E...?]
    SQLFetch: row: 1, column 21, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 21, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    0: 00000000 00005440 [......T@]
    SQLFetch: row: 1, column 22, bflsz: 16, bflar: -1
    SQLFetch: row: 1, column 22, bflsz: 16, bflar: SQL_NULL_DATA
    SQLFetch: row: 1, column 23, bflsz: 4, bflar: -1
    SQLFetch: row: 1, column 23, bflsz: 4, bflar: SQL_NULL_DATA
    SQLFetch: row: 1, column 24, bflsz: 65537, bflar: 0
    SQLFetch: row: 1, column 24, bflsz: 65537, bflar: 0, (bfl: 65536, mbl: 1000000)
    [root@stdb ~]# cat */etc/odbc.ini*
    [ODBC Data Sources]
    PSQL_REPORT = PostgreSQL
    [PSQL_REPORT]
    Driver = PostgreSQL
    Description = PostgreSQL_DSN
    DSN = PSQL
    Servername = 172.16.1.6
    Username = sysdba
    Password = ***
    Database = 3st_reports
    ReadOnly = No
    Servertype = postgres
    Port = 5432
    #FetchBufferSize = 1000
    #EnableQuotedIdentifiers = 1
    #TDS_Version = 8.0
    Trace=Yes
    TraceFile=/tmp/odbc.log
    [root@stdb ~]# cat */etc/odbcinst.ini *
    [ODBC]
    Trace=Yes
    TraceFile=/tmp/odbc.log
    # Included in the unixODBC package
    [PostgreSQL]
    Description     = ODBC for PostgreSQL
    Driver          = /usr/lib64/psqlodbcw.so
    Setup          = /usr/lib64/psqlodbcw.so
    FileUsage     = 1
    Debug = 1
    Edited by: 922067 on 20-Mar-2012 03:21

    Thank you for the answer.
    The table definition in postgres db:
    CREATE TABLE report_accident_detail
    id serial NOT NULL,
    accident_master_id integer NOT NULL,
    subscriber_id integer NOT NULL,
    unit_id integer NOT NULL,
    event_number integer,
    reg_number character varying(15),
    vin character varying(30),
    servertime_begin numeric(10,0),
    servertime_end numeric(10,0),
    event_datetime timestamp without time zone,
    event_address character varying(250),
    event_location character varying(23),
    latitude double precision,
    longitude double precision,
    area_id numeric(3,0),
    area_kind numeric(1,0),
    ignition_state smallint,
    accel_value_x double precision,
    accel_value_y double precision,
    accel_value_z double precision,
    vehicle_speed double precision,
    call_to_customer_datetime timestamp without time zone,
    is_customer_confirmed_accident integer,
    note character varying(4000),
    gen_datetime timestamp without time zone DEFAULT transaction_timestamp(),
    CONSTRAINT pk_accident_detail PRIMARY KEY (id ),
    CONSTRAINT fk_accident_detail_1 FOREIGN KEY (accident_master_id)
    REFERENCES report_accident_master (id) MATCH SIMPLE
    ON UPDATE RESTRICT ON DELETE RESTRICT DEFERRABLE INITIALLY DEFERRED
    WITH (
    OIDS=FALSE
    ALTER TABLE report_accident_detail OWNER TO sysdba;

  • SOAP Fault when returning null from a Native Web Service Stored Procedure

    I have a stored procedure which I can successfully invoke via soapUI
    However, if one of the Stored Procedure's OUT arguments is set to null the native web service returns the following fault :
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>Error processing input</faultstring>
    <detail>
    <OracleErrors xmlns="http://xmlns.oracle.com/orawsv/faults">
    <OracleError>
    <ErrorNumber>ORA-19202</ErrorNumber>
    <Message>Error occurred in XML processing</Message>
    </OracleError>
    <OracleError>
    <ErrorNumber>ORA-01405</ErrorNumber>
    <Message>fetched column value is NULL</Message>
    </OracleError>
    </OracleErrors>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>I can see how to control the processing of null values when invoking orawsv (using the null_handling element).
    Is there an equivalent for Stored Procedures ?
    Thanks,
    PD
    versions as follows :
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE     11.2.0.1.0     Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

  • Java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist while invoking a DBAdapter

    I have a WebService which is invoked , the request is routed through the mideator to the DBAdapter .DBAdapter interacts with the database and replies the result.
    I send in the CreditCardNumber in the request and recieve its Status (VALID,INVALID). i get this error every time . i have tried almost every thing to fix this . Please help me with same .
    Below is the complete error stacktrace.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Thanks in advance

    Can you please check the following
    a. check the JNDI Configuration. ( check for the value used for XADatasourceName )
    b. check the Data source created for the User.
    c. Incase you have updated the existing JNDI then you need to update the adapter with the New Deployment Plan.
    Thanks,
    Sunil Gopal

  • ORA-20001 FLEX-ID DOES NOT EXIST

    Hi Experts,
    Please am having this issue when running create Grade api for HCM of Oracle EBS.
    When i execute this script below to existing Business Group( Vision University 1759 or Vision Corporation 202 ) data is transferred to per_grades and per_grade_definitions tables
    But when i execute this same script pointing to a Business Group  (TEST  BG 7891) we created by ourself  it gives error code ORA-20001 FLEX-ID DOES NOT EXIST
    I have a strong feeling that creating our Business Group and setting up the Grade Flexfield has a problem, but i can 't trace the fault, am not EBS expert
    Please can you please advice where am going wrong !!
    Thanks,
    Kwesi
    SCRIPT BELOW:
    Procedure Create_Grade
    is
    l_Validate  Boolean := FALSE;
    l_Business_Group_id Number(15,2);
    l_Date_From Date;
    l_Sequence  Number(15,2);
    l_Grade_id  Number(15,2);
    l_Object_Version_Number Number(15,2);
    l_Grade_Definition_id Number(15,2);
    l_Name  Varchar2(100);
    l_OVN Number(15,2) := 1;
    i Number;
    Begin
    For Grad In (Select * from chr_Grades where OVN IN l_OVN) loop 
    Begin
    apps.hr_grade_api.Create_Grade(
    p_Validate => l_Validate,
    p_Business_Group_id =>7891,
    p_Date_From => to_Date(sysdate,'DD-MM-YYYY'),
    p_Sequence => 11,
    p_Grade_id => l_Grade_id,
    p_Object_Version_Number => l_Object_Version_Number,
    p_Grade_Definition_id => l_Grade_Definition_id,
    p_Name => l_Name,
    p_segment1 => Grad.Grade_id,
    p_segment2 => Grad.Grade_Name,
    p_segment3 => Grad.Grade_Description
    Update chr_Grades Set OVN = 2
       where Grade_id  = Grad.Grade_id;
          End;
    End loop;
    Commit;
    End Create_Grade;

    Well, i found the solution to my problem, and is just creating the segment you want to use in your flexfield without PASSING ANY VALUESET.

  • Getting "ora-20005 task is modified" error while updating task payload

    Hi,
    I am trying to update a task's payload using the Task Service. But I am getting the following error :-
    "IRC_SOAINFRA.WFTASKPKG_111160", line 2932
    ORA-20005:
    ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
    Thanks,
    Rahul

    Hi,
    I am trying to update a task's payload using the Task Service. But I am getting the following error :-
    "IRC_SOAINFRA.WFTASKPKG_111160", line 2932
    ORA-20005:
    ORA-06512: at line 1I am using the task element which I got back by calling the TaskQueryService's getTaskById operation. At a loss why this is happening!!! Any help is much appreciated.
    Thanks,
    Rahul

Maybe you are looking for

  • Mac Mini Server (Announced October 20, 2009) - Does it do RAID1?

    Apple announced the Mac Mini Server today for $999. It comes with two SATA hard drives, but there is no mention of RAID1. Does it do RAID1? This would be a good enough reason to get it. This could be a perfect media device - iTunes server, streaming

  • Multiple Animations in a PDF

    I have followed a tutorial on animations in .pdfs made by Right Hemisphere and have got things working.... ...however, the tutorial plays back ALL of the animations in the u3d at once. I have created a u3d file with Deep Creator which has mutiple ani

  • How can I load Tiger os (DVD) into an iBook g4 that has a CD drive?

    Hi there, I just bought an iBook off e-bay with no os.  I have Tiger on a DVD but the iBook has CD drive.  You see my problem here. Thanks in advance, Mike

  • Quality of photos

    Since the last iOS update I have been unhappy with many of the interior pictures I have taken with my iPad.  They are grainy and almost pixelated. This never happened under previous versions of iOS.  Any suggestions?

  • Problem Using BrowserLab on an Intranet site.

    I am trying to use BrowserLab to access an intranet site and I keep receiving the message that the URL is invalid.  Is it possible to use this tool in this manner?  I am not using Dreamweaver for development.