ORA-01008 error on page process process

Hi All,
I am getting an "ORA-01008: not all variables bound" error when saving a process in a page. Below is a snapshot of the process. All bind variables are being used in other processes within the same page without any problems.
DECLARE
I_EMAIL_SUBJECT      VARCHAR2(100);
I_EMAIL_BODY         VARCHAR2(4000);
I_EMAIL_RESULT       NUMBER;
I_PROCESS_NAME       VARCHAR2(100)  := 'INPUT - Cancel Form';
I_FORM_NUMBER        NUMBER  := TO_NUMBER(:P12_IFORPSP_KEY,'999999');
I_FORM_VERSION       NUMBER  := TO_NUMBER(:P12_FORM_VERSION,'999999');
I_FUNC_RETURN        VARCHAR2(400)  := NULL;
E_CUSTOM_ERROR       EXCEPTION;
I_ERROR_MSG          VARCHAR2(4000);
BEGIN
   BA_HR_IFO_util_pkg.add_debug_line('-- START --',I_PROCESS_NAME);
   -- Change WF Step to 'Canceled'
   BA_HR_IFO_util_pkg.add_debug_line('Set WF Step to Canceled ',I_PROCESS_NAME);
   -- The function below is triggering the error
   I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no  => I_FORM_NUMBER,
                                                      p_form_ver => I_FORM_VERSION,
                                                      p_created_by => TO_CHAR(:P12_CREATED_BY),
                                                      p_step_status => TO_CHAR('Canceled'),
                                                      p_next_step_name => TO_CHAR('Canceled Form'),
                                                      p_flex_hiring_freeze => TO_CHAR(:F103_FLEX_HIRING_FREEZE));
   IF I_FUNC_RETURN <> 'S' THEN
      -- Set ERROR msg
      BA_HR_IFO_util_pkg.add_debug_line('Error '||I_FUNC_RETURN,I_PROCESS_NAME);
      I_ERROR_MSG := 'Error: '||I_FUNC_RETURN;
      RAISE E_CUSTOM_ERROR;
   END IF;I am using Oracle 11g, APEX 3.2.1
The function is declared on a package in the same schema. All function parameters are included. The error seems to be when calling the function. However, I have use this function and bind variables in other processes.
This is my first post. I hope I included enough information.
Thanks in advance for your help
Carlos

You can try something like :
DECLARE
I_CREATED_BY      varchar2(100); -- enter correct size here
I_F103_FLEX_HIRING_FREEZE varchar2(100); -- enter correct size here
BEGIN
I_CREATED_BY  := v('P12_CREATED_BY');
I_F103_FLEX_HIRING_FREEZE := v('F103_FLEX_HIRING_FREEZE');
   -- The function below is triggering the error
   I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no  => I_FORM_NUMBER,
                                                      p_form_ver => I_FORM_VERSION,
                                                      p_created_by => I_CREATED_BY,
                                                      p_step_status => 'Canceled',
                                                      p_next_step_name => 'Canceled Form',
                                                      p_flex_hiring_freeze => I_F103_FLEX_HIRING_FREEZE);
...Probably it helps.
Lev

Similar Messages

  • ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing

    Hi,
    I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we are able to generate the POAck for the updated sales order lines. But when i am rejecting one of the PO change lines by checking rejected flag, then order is getting imported successfully(I mean sales order is getting updated successfully) but during the POAck Generation i.e. 865 its raising "*ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00103: Warning: document structure does not match DTD Error at line 1*" at XML Gateway. we are using XML Gateway to process the orders, can somebody help me to get rid of this issue. Thanks in advance.
    Thanks,
    Sunil Chauhan

    Hi Kishan
    Thanks for the reply.
    Because this is an outbound transaction so i can not provide you the XML file as we are facing issue to generate the same. Also we are using oracle seeded PO outbound Ack map.
    In addition i can provide you the DTD file.
    <!-- ==================================================== -->
    <!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
    %RESOURCES;
    <!-- ==================================================== -->
    <!ELEMENT ACKNOWLEDGE_PO_008 (CNTROLAREA, DATAAREA+)>
    <!ATTLIST VERB
         value CDATA #FIXED "ACKNOWLEDGE"
    >
    <!ATTLIST NOUN
         value CDATA #FIXED "PO"
    >
    <!ATTLIST REVISION
         value CDATA #FIXED "008"
    >
    <!ELEMENT DATAAREA (ACKNOWLEDGE_PO)
    >
    <!ELEMENT ACKNOWLEDGE_PO (POORDERHDR, POORDERLIN*)
    >
    <!ELEMENT POORDERHDR ((%DATETIME.DOCUMENT;)?, (%OPERAMT.EXTENDED.T;)?, POID, POTYPE, ACKREQUEST?, CONTRACTB?, CONTRACTS?, DESCRIPTN?, NOTES*, OPRAMTAUTH?, PORELEASE?, TAXWHEXMPT?, USERAREA?, ACKHEADER, ATTCHREF*, CHARGE*, PARTNER*, POTERM*)
    >
    <!ELEMENT ACKHEADER (SENDER, (%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, ACKCODE, DESCRIPTN?, NOTES*, SALESORDID?, USERAREA?)
    >
    <!ELEMENT POTERM (DESCRIPTN?, TERMID?, ((DAYOFMONTH, PROXMONTH) | DAYSNUM), ((%OPERAMT.EXTENDED.T;) | (%QUANTITY.PERCENT;)), USERAREA?)
    >
    <!ELEMENT POORDERLIN ((%QUANTITY.ORDERED;), (%DATETIME.NEEDDELV;)?, (%OPERAMT.UNIT.T;)?, POLINENUM, DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?, NOTES*, PACKING?, POLNSTATUS?, TAXWHEXMPT?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?, ACKLINE*, ATTCHREF*, CHARGE*, DISTRIBUTN*, PARTNER*, POTERM*, POSUBLINE*, POLINESCHD*)
    >
    <!ELEMENT ACKLINE ((%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, (%QUANTITY.ORDERED;)?, ACKCODE, NOTES*, SALESORDID?, USERAREA?)
    >
    <!ELEMENT POSUBLINE ((%QUANTITY.ITEM;), DRAWING?, ITEMRV?, ITEMRVX?, PSBLINENUM?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?)>
    <!ELEMENT POLINESCHD ((%DATETIME.NEEDDELV;), (%QUANTITY.ORDERED;), DESCRIPTN?, PSCLINENUM?, USERAREA?)
    >
    Thanks,S
    --Sunil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L

    Hi There,
    I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <ID>13</ID>
    <TYPE_SEQ>8</TYPE_SEQ>
    <TYPE>B749</TYPE>
    <TYPE_DESC>B758</_TYPE_DESC>
    <EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
    <EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
    <CREATED_BY>958344</CREATED_BY>
    <CREATED_ON>2099-01-01</CREATED_ON>
    <UPDATED_BY>172283</UPDATED_BY>
    <UPDATED_ON>2099-01-01</UPDATED_ON>
    </ROW>
    </ROWSET>
    It throws the following error.
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    Can any one advice the solution please.
    -Sudheer.

    Hi Sudheer,
    This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
    Check it with this code:
    SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
    Check it with:
    SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
      ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
    Rutger

  • ORA-19202: Error occurred in XML processing

    HI,
    I was preparing a support schema which is in synch with the production schema. For one of the UI i am getting the following error when the XML is too large.
    The same code is working in the production schema.
    I did a reconcilation and found the code sources are exactly the same.Pasting the debug lines below.Please help resolving the issue.
    gwpks_service_router.Getting the msg status for
    gwpks_service_router.Inside fn_get_msgstat
    gwpks_service_router.In wot of msg stat extraction: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "REC" does not match start-element tag "FCUBS_BODY"
    Error at line 15697
    gwpks_service_router.l_msgstat:
    gwpks_service_router.Returning
    gwpks_service_router.l_msg_stat:
    gwpks_service_router.p_Process_Stat: S
    gwpks_service_router. fn_service_router return true
    gwpks_service_router.After fn_service_router, msgId:
    gwpks_service_router.Logging begins
    gwpks_service_router.Inside fn_populate_logs
    gwpks_service_router.Inside fn_get_msgstat
    gwpks_service_router.In wot of msg stat extraction: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "REC" does not match start-element tag "FCUBS_BODY"
    Error at line 15697
    gwpks_service_router.l_msgstat:
    gwpks_service_router.Returning
    gwpks_service_router.Msg Status:
    gwpks_service_router.About to start the logging with MsgId:
    gwpks_service_router.fn_populate_logs returning true
    gwpks_service_router.MsgId:
    gwpks_service_router.SysMsgId:
    gwpks_service_router.MultitripId:
    gwpks_service_router.l_process_stat in pr_process_req_msg : S
    gwpks_service_router.GRAND SUCCESS CLOSING DEBUG
    gwpks_service_router.GRAND SUCCESS CLOSING DEBUG 1

    Hi,
    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
    The code is very big.I prepared another schema on another database and the code is working.
    Then v$ version of the working schema is as below:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Still wonder why this works in the second schema but not the first one.

  • ORA-19202: Error occurred in XML processing  ORA-24333: zero iteration coun

    Hi,
    I have a procedure which craetes a sql v_sql dynamically
    IF v_cnt > 0 THEN
    For c1 in v_curr
    LOOP
    v_sql := ''''||'SELECT * from '|| c1.msg_rcrd_src_tbl_nm||' where rowid = '||''''||''''||c1.msg_rcrd_src_tbl_id||''''||''''||'''';
    select DBMS_XMLGEN.getXMLtype(v_sql) into v_xml from dual ;
    gives me a error
    ORA-19202: Error occurred in XML processing
    ORA-24333: zero iteration count
    ORA-06512: at "SYS.DBMS_XMLGEN", line 288
    ORA-06512: at line 1
    Any help greatly appreciated.
    Thanks,
    Raj

    Answered
    Re: Zero iteration error - when processing dynamic sql in dbms_xmlgen

  • Error while processing XML ; ORA-19202: Error occurred in XML processing

    We have an application, which sends an XML to DB for processing.
    While it works in general, it is failing, when special characters are present in the text node
    see example below
    <?xml version="1.0" encoding="UTF-8"?>
    <Query>
    <Group>
    <Value>  %</Value>
    </Group>
    </Query>
    Db throws following error while parsing this xml
    XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00217: invalid character 15573180 (U+EDA0BC)
    How to fix it?

    The following works for me on 11.2.0.2, db charset AL32UTF8 :
    test_sample.xml, encoding UTF-8 :
    <?xml version="1.0" encoding="UTF-8"?>
    <Query>
    <Group>
    <Value>?%</Value>
    </Group>
    </Query>NB : the characters behind the "?" got lost after posting, they're actually 0xF09F 8C82
    Loading...
    SQL> truncate table tmp_xml;
    Table truncated
    SQL>
    SQL> insert into tmp_xml values (
      2   xmltype(
      3     bfilename('TEST_DIR','test_special.xml')
      4   , nls_charset_id('AL32UTF8')
      5   )
      6  );
    1 row inserted
    SQL> set long 500
    SQL> select * from tmp_xml;
    SYS_NC_ROWINFO$
    <?xml version="1.0" encoding="UTF-8"?>
    <Query>
      <Group>
        <Value>🌂%</Value>
      </Group>
    </Query>
    Edited by: odie_63 on 25 sept. 2012 23:00

  • Ora-01008 error with bind variable

    Hi,
    We have a test program which have one bind variable on a column which is varchar2(20), in the test program we've passed a 20 character string to the variable. The program returns error in one of the databases but all others are successful. We've checked the column is same in all of them.
    Exception in thread "main" java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01008: not all variables bound
    Could you please advise how to troubleshoot this issue?
    Regards

    We aren't going to be able to help you if you won't post the database code that is giving the error.
    And now we need the Java code that is constructing the query that you are using.
    Your error is saying there is a second variable that you are not providing a value for.
    And you said
    >
    We have a test program which have one bind variable on a column which is varchar2(20), in the test program we've passed a 20 character string to the variable.
    >
    But you are using a string that is 23 characters long
    "a3g34-b13fd-efaie-f83fk"How does 23 go into 20?

  • ORA-01008 Error while executing VO Query

    HI,
    I have a VO to get the heirarchy for the selected Business. On selecting appropriate business, ppr is fired to build up available heirarchies for that business. The query for VO is
    SELECT pos.name ||' ('||DECODE(pos.primary_structure_flag,'Y','Primary', 'N', 'Non-Primary','')||')' name , posv.org_structure_version_id org_structure_version_id
    FROM per_organization_structures pos,per_org_structure_versions posv
    WHERE pos.business_group_id = :1
    AND pos.organization_structure_id = posv.organization_structure_id
    AND pos.business_group_id = posv.business_group_id
    AND posv.date_to IS NULL
    While executing the query, it throws ORA-01008 exception saying "Not all Variables are bound". During debugging i saw that the selected business group id is available in AM before calling the VO execution.
    Any help will be appreciated.
    Thanks,

    Hi Tapash,
    The following is the information you have requested
    1. VO defn from the xml file
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <ViewObject
    Name="HierarchyVO"
    BindingStyle="Oracle"
    CustomQuery="true"
    RowClass="ge.oracle.apps.per.orghierarchy.poplist.server.HierarchyVORowImpl"
    ComponentClass="ge.oracle.apps.per.orghierarchy.poplist.server.HierarchyVOImpl"
    MsgBundleClass="oracle.jbo.common.JboResourceBundle"
    UseGlueCode="false" >
    <SQLQuery><![CDATA[
    SELECT pos.name ||' ('||DECODE(pos.primary_structure_flag,'Y','Primary', 'N', 'Non-Primary','')||')' name , posv.org_structure_version_id org_structure_version_id
    FROM per_organization_structures pos,per_org_structure_versions posv
    WHERE pos.business_group_id = :1
    AND pos.organization_structure_id = posv.organization_structure_id
    AND pos.business_group_id = posv.business_group_id
    AND posv.date_to IS NULL
    ]]></SQLQuery>
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="9.0.3.12.53" />
    <Attr Name="_CodeGenFlagNew" Value="36" />
    </DesignTime>
    <ViewAttribute
    Name="Name"
    IsPersistent="false"
    Precision="44"
    Type="java.lang.String"
    AliasName="NAME"
    ColumnType="VARCHAR2"
    Expression="NAME"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="44" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="OrgStructureVersionId"
    IsPersistent="false"
    IsNotNull="true"
    Type="oracle.jbo.domain.Number"
    AliasName="ORG_STRUCTURE_VERSION_ID"
    ColumnType="VARCHAR2"
    Expression="ORG_STRUCTURE_VERSION_ID"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    </ViewObject>
    2. the method in AM
    public void getHierarchy(String strBusinessGrpId)
    try
    HierarchyVOImpl vo = getHierarchyVO1();
    Number BusinessGroupId = new Number("0");
    if(strBusinessGrpId!=null && !strBusinessGrpId.equals(""))
    BusinessGroupId = new Number(strBusinessGrpId);
    //vo.setWhereClause(null);
    //vo.setWhereClauseParam(0,BusinessGroupId);
    vo.executeQuery();
    catch(Exception e)
    throw new OAException(e.toString(),OAException.ERROR);
    } //end of getHierarchy
    3. calling code in CO
    if ("changeBusiness".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    String businessGrpId = pageContext.getParameter("BusinessGroup");
    Serializable[] parameters = { businessGrpId };
    mAM.invokeMethod("handleChangeBusiness", parameters);
    mAM.invokeMethod("getHierarchy", parameters);
    Thanks,
    Mohammadi

  • ORA 01008 error on OC4J containers

    I have an application which runs perfectly when orion containers (1.0.2.2.1) are used. But when the same application is deployed and run using oc4j containers (9.0.3.0.0), i get the ORA 01008 exception. I agree that I didnt change any of the settings while changing the containers as I had thought that both the containers act in a similar fashion. Isnt the method of deploying the same in both the containers? Please help me. Thank you.

    Thank you. Here is a part of the error I get:
    Remote Exception: Transaction was rolled back: Database error: java.sql.SQLException: ORA-01008: not all variables bound; nested exception is:
    java.sql.SQLException: ORA-01008: not all variables bound
    com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Database error: java.sql.SQLException: ORA-01008: not all variables bound
    at HelloWorld_EntityBeanWrapper0.setXXX(HelloWorld_EntityBeanWrapper0.java:36269)
    Moreover, the application runs perfectly well when the orion containers are used. So, I dont think that there is any problem at the application side.
    Even then I worked on the ORA error. It has something to do only if some PL/SQL statements are used/executed. But, as you know, I am getting this error eventhough a container managed entity bean is used. I am unable to think of anything else. Please help me.

  • ORA-24816 Error on EDI inbound processing

    We are encountering an issue for EDI X12  inbound data files which have extraneous characters. B2B initially failed throwing  “ Document Protocol Identification error “ .
    To resolve this, we enabled flag  “b2b.edi.enablePeprocess” to true , after which it started processing fine in DEV environment , however it throws below exception in QA environment .
    Internal Exception: java.sql.SQLException: ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
    Error Code: 24816
    Call: INSERT INTO B2B_WIRE_MESSAGE (ID, JOB_ID, ACKNOWLEDGEMENT_MODE, LABEL, ATTRIBUTE2, MESSAGE_DIGEST, ATTRIBUTE4, MESSAGE_ID, ATTRIBUTE3, ATTRIBUTE5, CPST_INST_CREATED_TIME, CREATED, LAST_RESUBMITTED_TIME_STAMP, MODIFIED, LAST_VIEWED_TIME_STAMP, MSG_SIZE, DELIVERED_ENDPOINT, PASSWORD, DIRECTION, PORT, ENCRYPTION_CERTIFICATE, PROTOCOL_COLLABORATION_ID, ERROR_CODE, PROTOCOL_MESSAGE_ID, ERROR_DESCRIPTION_CLOB, PROTOCOL_TRANSPORT_BINDING, ERROR_TEXT_CLOB, REFER_TO_PROTOCOL_MESSAGE_ID, EXCHANGE_REMAINING_RETRY, RESUBMIT_COUNT, FROM_ADDRESS, SIGNING_ALGORITHM, SIGNING_CERTIFICATE, MESSAGE_STATUS, SIGNING_PROTOCOL, LAST_VIEWED_USER_NAME, STATE, DIGEST_ALGORITHM, TO_ADDRESS, ENCRYPTION_PROTOCOL, TRANSPORT_CERTIFICATES, ERROR_TEXT, TRANSPORT_CORRELATION_ID, EXCHANGE_RETRY_INTERVAL, TRANSPORT_HEADERS, ATTRIBUTE1, TRANSPORT_PROTOCOL, CHANNEL_NAME, TRANSPORT_PROTOCOL_VERSION, ERROR_DESCRIPTION, TRANS_SECURITY_PROTOCOL, HOST_NAME, TRANS_SECURITY_PROT_VERSION, ENCRYPTION_ALGORITHM, URL, LAST_RESUBMITTED_USER_NAME, USER_NAME, EXCHANGE_ATTEMPT_COUNT, VERSION, PAYLOAD_STORAGE, PACKED_MESSAGE, RESUBMIT_REF_TO) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
            bind => [A513532C140185965980000010261DFC, null, SYNC, null, null, rLdBG4pYQf76lQXJZdl43gE7QqE=^M
    We checked many options for the differences between Dev & QA , but could not find a root cause . 
    Version : 11.1.1.6

    Hi,
    I am getting the same error.
    Can u please help me on this.
    Thanks and Regards
    Neha Kapoor

  • ORA-19202: Error occurred in XML processingLSX-00023: unknown namespace URI

    Hi there
    I am trying to register an XSD document as an XML schema on the database. I am using Oracle 9i release 9.2.0.5.0 and using the dbms_xmlschema.registerSchema method in PL/SQL.
    I am getting the following error when trying to register:
    ORA-19202: Error occurred in XML processing LSX-00023: unknown namespace URI
    The problem seems to be caused by a local simpleType declared outside of the root element. If I remove the simpleType from the xsd, I can register it successfully as a schema on the database. However, we need the simpleType there as it defines valid values for one of the elements in the xsd.
    The xsd follows the structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://www.oracle.com/VFLOC.xsd"
    xmlns:vfloc="http://www.oracle.com/VFLOC.xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb">
         <xsd:element name="VisionDataExchange">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Credentials">
    ...... etc. etc.
                   </xsd:element>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <!-- Data Types Must complete data type values from database -->
         <xsd:simpleType name="TrueFalseType">
              <xsd:restriction base="xsd:string">
                   <xsd:enumeration value="1"/>
                   <xsd:enumeration value="0"/>
                   <xsd:enumeration value="True"/>
                   <xsd:enumeration value="False"/>
              </xsd:restriction>
              <!-- 1 and 0 are preferred -->
         </xsd:simpleType>
    </xsd:schema>
    Does anyone know how I can register a schema with a targetNamespace and the local simpleType below?
    Any help would be much appreciated.
    Thanks!
    Sonya

    Hi
    I wanted to know
    1)Hw to register a schema
    2) Associate xml files with the schema
    3) hw to do read the xml files
    If you could provide a small exampl, shall appreciate
    Thanks for your help in advance
    Sushil

  • ORA-31011 error over a "?"

    Hi all. I've got a database table which has a CLOB column and a Sys.XMLType column. In order to store the XML data, I insert the record with an EMPTY_CLOB() value, get a reference to the CLOB (as a java.sql.Clob object). Once I have the Java Clob object (the instance of oracle.sql.CLOB), I write my XML data to it. Once it's in the CLOB, I can update the original record by passing the Clob object in as a parameter to the update statement and SYS.XMLType.createXML(clobValue).
    I have an XML file which is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <CMProduct xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.adc.com/schema/cm/v4.0/CMProd
    uct" xsi:schemaLocation="http://www.adc.com/schema/cm/v4.0/CMProduct http://www.adc.com/schema/cm/v4.0/CMProduct
    .xsd">
    <class1>Peterson</class1>
    <class2>1200</class2>
    <class3>110 Minutes</class3>
    <class4>235 grams</class4>
    <class5>$49</class5>
    <comments>This low price means the minimum package cost for new- approved customers who remain connected to th
    e WonderNet? service for 12 continuous months is $454</comments>
    <description>Peterson 1200-110 Minutes-$49</description>
    <imageRef href="CMImage/mppet1200.xml">mp-pet-1200</imageRef>
    <name>MP-PET-1200</name>
    <securityGroup href="CMSecurityGroup/Default.xml">Default</securityGroup>
    </CMProduct>
    I've gone into the code, to see that the Clob value is correct. However, when the createXml is called, I get the error...
    java.sql.SQLException: ORA-31011: XML parsing failed
    ORa-19202: Error occurred in XML processing
    LPX-00217: invalid character 65533 (\uFFFD)
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 1
    When I see what the character \uFFFD is, it turns out to be "?".
    So, the createXML is blowing up because I have a question mark in the XML file ... presumably the
    <?xml version="1.0" encoding="UTF-8"?>
    line. Which to my knowledge is perfectly correct XML.
    It also seems to quite happily accept other XML documents with the "?" in it. So is there any idea as to what's causing this error?
    Thanks,
    Ed

    Hmm, probably doesn't like the ? in the middle of the comments section... :) I'll keep looking....

  • Error while invoking BPEL Process through HTML Page

    Hi ,
    I have created a HTML Page to invoke BPEL synchronous process .
    HTML Page contains :
    <html>
    <head>
    <title>Untitled Document</title>
    <h1>Add Macro Task Input Form </h1>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="cyan" text="#000000">
    <form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
    EmployeeId :
    <input type="text" name="EmployeeId" ><br>
    <br>
    TaskName :
    <input type="text" name="MacroTaskName" >
    <button
    id="identifier"
    class="dialog"
    label="OK"
    accesskey="t"/>
    <br>
    </form>
    </body>
    </html>
    I am able to invoke my BPEL Process named as " AddMacroSync" .
    It also creating instance for this BPEL Process .
    But when I go BPEL Console and check my instance , it is always faulted .
    I am providing two inputs : Employee Id and Taskname through HTML Page .
    These inputs got assigned to their respective output variables .
    But when I click on audit link ..it shows error while invoking the Process .
    It Show error :
    when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
    But this end point address is working when I put this address in URL .
    Please someone help me how to solve this problem .
    Thanks
    Prashant Dwivedi
    Message was edited by:
    Prashant Dwivedi

    Hi Clemens ,
    I changed My HTML ...Now it looks like as :
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
    <input type="hidden" name="msg_part" value="payload">
    <input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
    EmployeeId:
    <input type="text" name="EmployeeId">
    TaskName :
    <input type="text" name="TaskName">
    <input type="submit" name="Submit" value="Submit">
    </form>
    </body>
    </html>
    After this when I try to incoke my BPEL Process through this HTML :
    I am gettign following error :
    500 Internal Server Error
    java.lang.IllegalStateException: IOException: Premature end of POST data
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
         at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
         at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

  • Creating database problem with ORA-01519: error while processing file '' ne

    Dear all,
    I am having rough time with creating database manually. can anyone help me with the following errors.
    ALERT LOGFILE:-
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
    ORA-01519: error while processing file '' near line
    CREATE DATABASE SCRIPT:-
    create database ORACLE5
    user sys identified by bala
    user system identified by bala
    logfile
    group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
    group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
    group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
    maxlogfiles 5
    maxlogmembers 5
    maxloghistory 1
    maxdatafiles 50
    maxinstances 1
    datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
    default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
    character set US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    INIT.ORA FILE:-
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Archive
    log_archive_format=ARC%S_%R.%T
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=oracle5
    # Diagnostics and Statistics
    background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
    core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
    user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
    # File Configuration
    #db_create_file_dest=D:\oracle\product\10.1.0\oradata
    db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.1.0.2.0
    # Pools
    java_pool_size=50331648
    large_pool_size=8388608
    shared_pool_size=83886080
    # Processes and Sessions
    processes=150
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")

    Hi,
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
    Bartek

  • ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401

    I receive the following error by creating dataabse as below sql:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file '/sisdev04/dbs/users01.dbf'
    ORA-27039: create file failed, file size limit reached
    Additional information: 1
    CREATE DATABASE SISDEV04
         LOGFILE GROUP 1 ('/sisdev04/dbs/log01a.dbf','/sisdev04/dbs/log01b.dbf') SIZE 10M,
              GROUP 2 ('/sisdev04/dbs/log02a.dbf','/sisdev04/dbs/log02b.dbf') SIZE 10M
         NOARCHIVELOG
         CHARACTER SET ZHT16BIG5
         NATIONAL CHARACTER SET ZHT16BIG5
         DATAFILE '/sisdev04/dbs/system01.dbf'      
              SIZE 210M AUTOEXTEND OFF
         , '/sisdev04/dbs/rbs01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/temp01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/users01.dbf'
    SIZE 1050M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ivr01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ivr01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
    I have issue df to check the directory sisuat04
    / >df
    Filesystem 512-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 98304 45664 54% 2446 10% /
    /dev/hd2 2097152 78992 97% 30280 12% /usr
    /dev/hd9var 65536 20536 69% 308 4% /var
    /dev/hd3 294912 262432 12% 147 1% /tmp
    /dev/hd1 49152 5712 89% 1290 21% /home
    /dev/mfcobol 81920 25520 69% 608 6% /mfcobol
    /dev/magiclv 81920 22304 73% 346 4% /usr/magic
    /dev/sispro02lv 6553600 6347792 4% 18 1% /sisdev02
    /dev/sispro03lv 6553600 6347784 4% 19 1% /sisdev03
    /dev/sisappllv 229376 173288 25% 1846 7% /sisappl
    /dev/lvbaklog 98304 85552 13% 68 1% /app/bak_log
    /dev/noteslv0 1048576 541352 49% 2195 2% /notes
    /dev/noteslv1 4194304 1479304 65% 5269 2% /notesrv
    /dev/noteslv2 2097152 898128 58% 51 1% /notesrv/sitesch
    /dev/lvoracle 2097152 237240 89% 8280 4% /opt/oracle
    /dev/u01lv 4194304 128720 97% 11697 3% /u01
    /dev/sisdev01lv 4096000 3021552 27% 27 1% /sisdev04
    Is is still a not enough space problem?

    I receive the following error by creating dataabse as below sql:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file '/sisdev04/dbs/users01.dbf'
    ORA-27039: create file failed, file size limit reached
    Additional information: 1
    CREATE DATABASE SISDEV04
         LOGFILE GROUP 1 ('/sisdev04/dbs/log01a.dbf','/sisdev04/dbs/log01b.dbf') SIZE 10M,
              GROUP 2 ('/sisdev04/dbs/log02a.dbf','/sisdev04/dbs/log02b.dbf') SIZE 10M
         NOARCHIVELOG
         CHARACTER SET ZHT16BIG5
         NATIONAL CHARACTER SET ZHT16BIG5
         DATAFILE '/sisdev04/dbs/system01.dbf'      
              SIZE 210M AUTOEXTEND OFF
         , '/sisdev04/dbs/rbs01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/temp01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/users01.dbf'
    SIZE 1050M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ivr01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ivr01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
    I have issue df to check the directory sisuat04
    / >df
    Filesystem 512-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 98304 45664 54% 2446 10% /
    /dev/hd2 2097152 78992 97% 30280 12% /usr
    /dev/hd9var 65536 20536 69% 308 4% /var
    /dev/hd3 294912 262432 12% 147 1% /tmp
    /dev/hd1 49152 5712 89% 1290 21% /home
    /dev/mfcobol 81920 25520 69% 608 6% /mfcobol
    /dev/magiclv 81920 22304 73% 346 4% /usr/magic
    /dev/sispro02lv 6553600 6347792 4% 18 1% /sisdev02
    /dev/sispro03lv 6553600 6347784 4% 19 1% /sisdev03
    /dev/sisappllv 229376 173288 25% 1846 7% /sisappl
    /dev/lvbaklog 98304 85552 13% 68 1% /app/bak_log
    /dev/noteslv0 1048576 541352 49% 2195 2% /notes
    /dev/noteslv1 4194304 1479304 65% 5269 2% /notesrv
    /dev/noteslv2 2097152 898128 58% 51 1% /notesrv/sitesch
    /dev/lvoracle 2097152 237240 89% 8280 4% /opt/oracle
    /dev/u01lv 4194304 128720 97% 11697 3% /u01
    /dev/sisdev01lv 4096000 3021552 27% 27 1% /sisdev04
    Is is still a not enough space problem? i think you have specified 1050m for users01.dbf file, your file system /sisdev04 has something like
    1.5gb of free space. it failed because of lack of free space. may be you can reduce your datafile size or try to
    create in another filesystem.

Maybe you are looking for

  • Photo page won't display properly in safari

    Hi everyone! I'm completely new to building websites and need some of your expert advice? For some reason my photo pages won't display properly in Safari but ok in Firefox? It worked fine a week ago and I can't think what I've done wrong since I repu

  • Send XML by HTTP from ext. System to XI and process

    Hi XI Experts, I want to configure a typical XI Scenario. Send XML by HTTP to XI. I know the URL, to send data to my XI test machine. I'm struggling with the HTTP Parameters and the necessary Configuration in the Integration Directory. In the URL I h

  • [svn:osmf:] 10481: Updated unit tests.

    Revision: 10481 Author:   [email protected] Date:     2009-09-21 18:01:12 -0700 (Mon, 21 Sep 2009) Log Message: Updated unit tests. Modified Paths:     osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/layout/TestDefaultLayoutR enderer.

  • Quicktime help!

    I keep seeing the quicktime symbol with a question mark in the middle, whenever I try to watch a video. Why am I getting this???????

  • Unknown Error 4251 when trying to burn Cd's

    I have tried all night to burn some cd's from itunes and I keep getting error number 4251. Does anyone know anything about this? I cannot find any information under support that will help me clear it up. I have made sure that the setting is audio cd