Nested schema usage in JDeveloper

We are building a BPEL process that makes use of a schema nested to multiple levels. Some schema types have an extension to other base types.
When trying to create variables for such types, JDeveloper throws an error "Problem building schema" with message "Exception: invalid derivation from base type "extension"".
We tried having local copies of schema as well as having the schemas hosted on orabpel/xmllib folder and accessing them using an URL.
Any pointers to resolving this issue? Thanks. Please let me know if you need more information.

Hi , I am pasting excerpts from the XSD that has ProcessOrderType, which extends BusinessObjectDocumentType
     <complexType name="ProcessOrderType">
          <annotation>
               <documentation>
                    Type definition of the ProcessOrder BOD.
               </documentation>
          </annotation>
          <complexContent>
               <extension base="oa:BusinessObjectDocumentType">
                    <sequence>
                         <element name="DataArea" type="ord:ProcessOrderDataAreaType">
                              <annotation>
                                   <documentation>Data area of the ProcessOrder BOD.</documentation>
                              </annotation>
                         </element>
                    </sequence>
               </extension>
          </complexContent>
     </complexType>
     <complexType name="ProcessOrderDataAreaType">
          <annotation>
               <documentation>Type definition of the ProcessOrder BOD's data area.</documentation>
          </annotation>
          <sequence>
               <element ref="oa:Process">
                    <annotation>
                         <documentation>The Process verb.</documentation>
                    </annotation>
               </element>
               <element minOccurs="0" maxOccurs="unbounded" ref="ord:Order">
                    <annotation>
                         <documentation>The Order noun.</documentation>
                    </annotation>
               </element>
          </sequence>
     </complexType>
Here is BusinessObjectDocumentDataType complextype definition
<xsd:complexType name="BusinessObjectDocumentType">
<xsd:annotation>
<xsd:documentation>Is the schema based inheritance for all BODs. The logical model would also include the DataArea.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="ApplicationArea"/>
</xsd:sequence>
<xsd:attribute name="releaseID" type="NormalizedStringType" use="required">
<xsd:annotation>
<xsd:documentation>OAGIS Release this BOD Instances belongs or the OAGIS release that the derivative work is based on.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="versionID" type="NormalizedStringType" use="optional">
<xsd:annotation>
<xsd:documentation source="http://www.openapplications.org/oagis/9">Indicates the version of the given BOD defintion.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute default="Production" name="systemEnvironmentCode" type="SystemEnvironmentCodeContentType" use="optional">
<xsd:annotation>
<xsd:documentation source="http://www.openapplications.org/oagis/9">Indicates whether this BOD is being sent in a "Test" or a "Production" mode. If the BOD is being sent in a test mode, it's information should not affect the business operation. However, if the BOD is sent in "Production" mode it is assumed that all test has been complete and the contents of the BOD are to affect the operation of the receiving business application(s).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute default="en-US" name="languageCode" type="LanguageCodeType" use="optional">
<xsd:annotation>
<xsd:documentation source="http://www.openapplications.org/oagis/9">Indicates the language that the contents of the BOD is in unless otherwise stated.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
When I try to paste all other referenced types, the message size is too large to post.

Similar Messages

  • Nested query in BPEL JDeveloper

    Hi,
    Can anyone help me with nested query writing in BPEL (JDeveloper)
    the query is :
    SELECT LENGTH, WIDTH, HEIGHT, WEIGHT,
    LENGTH*WIDTH* HEIGHT AS ITEM_CUBE
    FROM ITEM_SUPP_COUNTRY_DIM
    WHERE ITEM= &lt;Level1 item&gt;
    AND DIM_OBJECT= (SELECT CASE_NAME FROM ITEM_SUPPLIER WHERE ITEM=&lt;Item&gt; AND PRIMARY_SUPP_IND = &lsquo;Y')
    Please help me with the steps.
    Many thanks

    Hi,
    For the following query:
    SELECT S.STORE, S.STORE_NAME, A.ADD_1, A.ADD_2, A.ADD_3, A.CITY,A.STATE, A.POST, A.COUNTRY_ID, A.CONTACT_PHONE, A.CONTACT_NAME,S.STORE_OPEN_DATE, S.STORE_CLOSE_DATE, S.REMODEL_DATE, S.TRANSFER_ZONE,S.DISTRICT,S.STORE_TYPE
    FROM STORE S, ADDR A
    WHERE S.STORE= #store
    AND to_char(S.STORE) = #keyValue1
    AND A.MODULE = #module
    AND A.ADDR_TYPE = #type
    AND A.PRIMARY_ADDR_IND=#addrType
    the DB adapter shows this xml:
    &lt;?xml version = '1.0' encoding = 'UTF-8'?&gt;
    &lt;xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/WMSStoreDataLookUp" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/WMSStoreDataLookUp" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;xs:element name="WMSStoreDataLookUpInput" type="WMSStoreDataLookUpInput"/&gt;
    &lt;xs:complexType name="WMSStoreDataLookUpInput"&gt;
    &lt;xs:sequence&gt;
    &lt;xs:element name="store" type="/&gt;<br /><br /> &lt;xs:element name="keyValue1" type="/&gt;
    &lt;xs:element name="module" type="/&gt;<br /><br /> &lt;xs:element name="type" type="/&gt;
    &lt;xs:element name="addrType" type="/&gt;<br /><br /> &lt;/xs:sequence&gt;<br /><br />&lt;/xs:complexType&gt;<br /><br />&lt;xs:element name="WMSStoreDataLookUpOutputCollection" type="WMSStoreDataLookUpOutputCollection" nillable="true"/&gt;<br /><br />&lt;xs:complexType name="WMSStoreDataLookUpOutputCollection"&gt;<br /><br />&lt;xs:sequence&gt;<br /><br />&lt;xs:element name="WMSStoreDataLookUpOutput" type="WMSStoreDataLookUpOutput" minOccurs="0" maxOccurs="unbounded"/&gt;<br /><br />&lt;/xs:sequence&gt;<br /><br />&lt;/xs:complexType&gt;<br /><br />&lt;xs:complexType name="WMSStoreDataLookUpOutput"&gt;<br /><br />&lt;xs:sequence&gt;<br /><br />&lt;xs:element name="S_STORE" type="xs:decimal" nillable="true"/&gt;<br /><br />&lt;xs:element name="S_STORE_NAME" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_ADD_1" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_ADD_2" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_ADD_3" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_CITY" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_STATE" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_POST" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_COUNTRY_ID" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_CONTACT_PHONE" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_CONTACT_NAME" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="S_STORE_OPEN_DATE" type="xs:dateTime" nillable="true"/&gt;<br /><br />&lt;xs:element name="S_STORE_CLOSE_DATE" type="xs:dateTime" nillable="true"/&gt;<br /><br />&lt;xs:element name="S_REMODEL_DATE" type="xs:dateTime" nillable="true"/&gt;<br /><br />&lt;xs:element name="S_TRANSFER_ZONE" type="xs:decimal" nillable="true"/&gt;<br /><br />&lt;xs:element name="S_DISTRICT" type="xs:decimal" nillable="true"/&gt;<br /><br />&lt;xs:element name="S" type="xs:string" nillable="true"/&gt;<br /><br />&lt;xs:element name="A_PRIMARY_ADDR_IND__addrType" type="xs:string" nillable="true"/&gt;<br /><br />&lt;/xs:sequence&gt;<br /><br />&lt;/xs:complexType&gt;<br /><br />&lt;/xs:schema&gt;<br /><br /><br /><br />Please, look at the last few lines of XML and let me know if this is correct..

  • XML Schema validation in JDeveloper 10.1.3.2.0 - is it namespace-aware?

    Hi everybody
    Look at the following simple xml schema:
    <?xml version="1.0" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="num" type="xsd:string"/>
    <xsd:element name="amount" type="xsd:integer"/>
    <xsd:element name="invoice">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="num"/>
    <xsd:element ref="amount"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="invoices">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="xsd:invoice" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    When I open it in JDeveloper 10.1.3.2.0 and choose "Validate XML", validation executes without errors.
    In spite of bad namespace declaration in <xsd:element ref="xsd:invoice" ...
    For example, in XML Spy validation of this schema ends with error: "'xsd:invoice' must refer to an existing element".
    If there any option on JDeveloper to turn on namespace-aware validation to prevent the above situation?

    hi
    Indeed, the "Validate XML" menu option only shows "Validate XML: 0 errors, 0 warnings.".
    But, if you look at the "Design" tab for your schema, the "invoices" element node contains an "xsd:invoice" sequence shown in red. If you change "xsd:invoice" to "invoice" this becomes white and the node can be expanded.
    One other thing, registering an XML Schema in JDeveloper like the one you posted, isn't possible without an "oracle.xml.parser.schema.XSDException" (without further details).
    regards
    Jan Vervecken

  • Does weblogic suppports nested Schema ComplexType and BTP.

    hi,
    in unsupported features they have mentioned "XML Schema complex data type inheritance
    by restriction ", what inheritance means here(is it nested complex types.)
    and in latest white paper "Web Services and the BEA Weblogic E-Business Platform"
    in the heading "The BEA Difference" have mentioned for transaction support.does
    any one has tried this feature or have some sample example.
    regards,
    Jainendra

    Hi,
    I'm assuming the paper you are speaking about is:
    http://www.bea.com/products/weblogic/server/paper_webservices.shtml
    It speaks specifically about: "BEA WebLogic Integration™ - This open and extensible
    product integrates trading partners across the Web and enables complex Web Services to be
    deployed with transactional integrity, security, and reliability while supporting the
    emerging ebXML and BTP standards. BEA WebLogic Integration builds on simple Web Services
    to offer the more sophisticated services required for complex B2B commerce and
    integration."
    Check out the documentation for this product:
    http://e-docs.bea.com/wlintegration/v2_1/index.html
    Hope this helps,
    Bruce
    Jainendra wrote:
    hi,
    in unsupported features they have mentioned "XML Schema complex data type inheritance
    by restriction ", what inheritance means here(is it nested complex types.)
    and in latest white paper "Web Services and the BEA Weblogic E-Business Platform"
    in the heading "The BEA Difference" have mentioned for transaction support.does
    any one has tried this feature or have some sample example.
    regards,
    Jainendra

  • Trouble finding schema type in JDeveloper XPath editor

    Has anyone seen an issue where the JDeveloper XPath editor does not expose all XML schema types from a WSDL? The WSDL in question has a flattened WSDL with 4 different schema's (all having a different namespace). The xml elements in question have the nillable attribute set to "true" so I'm not sure if this could be causing the issue. Each schema does include namespace imports (<import namespace="" />) as well.
    note: I will be unable to post wsdls as they contain proprietary info however they do validate in a XML validation tool.
    JDeveloper version 10.1.3.3

    It seems as if the xsd:extension element is not properly interpreted in JDeveloper. Post XPath query error - xml extension in schema gives a bug number but that was initiated in 2006 and it does not seem to be resolved. Does anyone know if this will be fixed in JDeveloper 11G. A workaround is to put all extension types within their parent or base type but it will probably break the web service and is almost impossible with size of the WSDLs I am working with.
    Basically if this functionality is not fixed, it would eliminate developers from implementing any type of inheritance within web services. This needs to be fixed!

  • Create a wsdl file - with schemas inline - in JDeveloper

    Hi,
    We are trying to create a wsdl file using schemas in jdeveloper 11.1.1.3. We could generate the wsdl file using options available in jdeveloper, but the wsdl generated contains <types> element that has schemas referenced by only an "import" statement as below.
    <types>
    <xsd:schema>
    <xsd:import schemaLocation="../../../Test.xsd" namespace="http://www.openuri.org"/>
    </xsd:schema>
    </types>
    But, I would like get the schemas inlined or embedded within the wsdl instead of just an import statement.. This helps me in using the wsdl anywhere (creating webservices or use in my applications or give it to some one to use) without worrying about the actual schema definition files. The <types> element within the wsdl must have the schemas embedded, something like below.
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://testWSDLproject/type" elementFormDefault="qualified">
    <xsd:element name="testIn">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="value" type="xsd:integer"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </types>
    Is there any way forward, with the Jdeveloper to create wsdl files with schemas inline ?

    Hi Vohra,
    The schema snippet pasted previously was just a sample.
    In actual, there are mulitple cross referencing xsd files that must be embedded within my wsdl file. Sometimes, such manual editing of wsdl (embedding so many schema definitions) is prone to errors.
    If there is an option in Jdeveloper which automatically does this embedding for us, then it becomes more handy. Have you come across any such options ?

  • Create DB schema for ORACLE JDeveloper 11g

    I'd like to learn ADF. For this reason I've installed:
    JDeveloper 11
    ORACLE XE
    And I've extracted : FOD_11.zip
    To follow the demo application I have to create DB schema.
    How I have to define: jdbc.driver
              jdbc.urlBase
    Execution : Run Ant Target -> Build All done errors:
    1.
    <target name="createDatabase">
    <ant antfile="build.xml" dir="../DBSchema"
    target="createDatabase" inheritrefs="true"/> <<<< Here error
    </target>
    2.
    <sqlRunner username="@{username}" password="@{password}"
    script="${sqlrunner.tempfile}" onerror="@{onerror}"/> <<<< Here error
    3.
    <sequential>
    <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="@{username}"
    password="@{password}" classpathref="oracle.jdbc.path"
    src="@{script}" onerror="@{onerror}"/> <<<< Here error
    </sequential>
    I’m sorry but I have no experience in the installation software.

    I'd like to learn ADF. For this reason I've installed:
    JDeveloper 11
    ORACLE XE
    And I've extracted : FOD_11.zip
    To follow the demo application I have to create DB schema.
    How I have to define: jdbc.driver
              jdbc.urlBase
    Execution : Run Ant Target -> Build All done errors:
    1.
    <target name="createDatabase">
    <ant antfile="build.xml" dir="../DBSchema"
    target="createDatabase" inheritrefs="true"/> <<<< Here error
    </target>
    2.
    <sqlRunner username="@{username}" password="@{password}"
    script="${sqlrunner.tempfile}" onerror="@{onerror}"/> <<<< Here error
    3.
    <sequential>
    <sql driver="${jdbc.driver}" url="${jdbc.url}" userid="@{username}"
    password="@{password}" classpathref="oracle.jdbc.path"
    src="@{script}" onerror="@{onerror}"/> <<<< Here error
    </sequential>
    I’m sorry but I have no experience in the installation software.

  • Schema Objects for JDeveloper 10.1.3 tutorials

    Dear Anyone
    Does anyone know where I can download 'up to date' Sample Schemas for JDeveloper 10.1.3 tutorials. The latest sample schemas for 10g DB seem to have extra objects (like the oe.promotions table) that are required for the tutorials. I only have a 9i DB and don't want to have to download and install a 10g DB instance.
    Thanks

    I have tried this link already. It takes you the install instructions which require you to have the scripts already available from a 10g DB install.
    "The Sample Schemas script directories are located in $ORACLE_
    HOME/demo/schema."
    It seems the only way is to install a 10g DB instance and take them from there ?

  • Sampling scheme: usage indicator dependency

    1.) I have removed the last reference to a sampling scheme X in a sampling procedure
    2.) Table QDSV is not showing any references to scheme X any longer
    3.) Nevertheless QDP2/3 is still showing "Used in procedure" as checked
    Does anyone have an idea why this is the case? Will this flag never go away, even if no references exist any longer?
    Thanks
    Martin

    Hello Sandip,
    can you also tell me from where SAP gets the information that the scheme is still used in old inspection plans/lots? The reference itself over the procedure is not there any longer...so there has to be a different place where this information is still present, right?
    Digging a bit in the ABAP coding, I could only find the place where the indicator is set(MQDSVF10):
    FORM BUCHEN_QDSV_STPRPLAN_VW_KZ.
    * QDPK nachlesen.
      CALL FUNCTION 'QDTA_QDPK_READ'
           EXPORTING  I_STPRPLAN = QDSV-STPRPLAN
           IMPORTING  E_QDPK     = QDPK
           EXCEPTIONS NOT_FOUND  = 1.
    *      Fehlerbehandlung
           IF SY-SUBRC EQ 1.
             MESSAGE E224 WITH QDSV-STPRPLAN.
           ENDIF.
    * Verbuchung des Kennzeichens anstossen, wenn nocht nicht gesetzt.
      IF QDPK-KZVWPKSV IS INITIAL.
        MOVE KREUZ TO QDPK-KZVWPKSV.
        CALL FUNCTION 'QDBU_QDPK_USAGE_IND_POST' IN UPDATE TASK
             EXPORTING I_QDPK = QDPK.
      ENDIF.
    ENDFORM.
    And there is only a place where the usage indicator is deactivated, that is when you copy the sampling scheme in a new one (MQDSPF10).
    --> So I rather wonder if SAP has really planned that the indicator is reset at all. I assume that it is rather a "one time used, indicator is checked for ever".
    Regards
    Martin

  • Basic schema usage question

    I have an application, called APP and I have two users USER1 and USER2. I create a Role called APP_USER. I assign USER1 and USER2 to the APP_USER Role.
    I log into oracle using APP and create all of the tables/views/stored procedures, etc. I grant SELECT permissions to all of the tables in my APP schema to the APP_USER role.
    I then log into Oracle using USER1. In order to select data from my APP do I always have to do a 'Select * from APP.tablename' or is there some automatic way to say that when I log in as USER1, I already know about all of the tables in the APP schema and I simply enter 'Select * from tablename' (without the APP. used).
    If there is a way to automatically know that using tablename means to look in the APP schema we would like to know what that is. Since our application is dynamically creating and dropping tables along the way, we would like to have some way for this to happen automatically so that USER1 and USER2 (or the role APP_USER) is always aware of the changes to the APP schema.
    We figure there has to be an easy and dynamic way that this occurs in oracle, but we can't seem to find any specific documentation on how this would happen.

    You can use either Views or synonms. For synonyms, you can create synonyms for the tables in the APP schema. These can either be public synonyms - meaning you do it once for all users, or they are private synonyms - meaning you define it for each user. With views, you can create the view in each user account. You can also modify the view definition when the tables change underneath without having to change the queries.
    Not sure why you are creating and destroying so many tables - you may want to investigate the use of temporary tables. Nevertheless, to keep your synonyms and tables in synch, you will need to issue the appropriate calls to create and drop the synonyms when you are creating and dropping the tables.

  • Schema Usage

    Hi Group,
    Please tell me can i use different schema's for mapping in OWB10g.
    The scenario:
    Source: CSV Feed file
    Staging Area: OWB 10g with Ora Apps 11i in HP-UX machine.
    FINAL Target: OFSA tables in Ora Apps 11i in HP-UX machine.
    Now let me start the dataflow from source in 3 different Process.
    There are different source systems and let me mention it as A, B and C systems.
    Process 1
    I want the data from the feed file to each respective table in Staging Area. ie.
    "A" feed file data into A table(Direct mapping).
    "B" feed file data into B table(Direct mapping).
    "C" feed file data into C table(Direct mapping).
    Process 2
    From these A,B and C tables i want the data into "OFSA Mirror table". This ETL would have all the transforamtion and business logic.
    Process 3
    From these "OFSA Mirror tables" i want the data into the "Final OFSA table". This ETL would contain all validation logic and error detection.
    I want different schema's for this complete ETL process.
    So my questions are:
    1. Do i need to create tables in different schema for each Process(Process1 & Process 2). If not then how will i handle these 2 proceess?
    2. How will i handle the 3rd Process?. Please be sure that Final tables are OFSA tables. so there is no issue for creating tables and other ETL realted stuff. OFSA intenally has all the desgin for the datawarehouse. Only direct mapping to the target.
    Please help me for a furitful LONG RUN datawarehouse PROCESS.
    Thanks in Advance.
    Regards,
    rem.

    Hi Rem,
    I think you did a pretty good work until now. And I can assure that the rest will be same as your previous one.
    Regarding moving the data from your staging (owb_target) to final target (ofsadw) schema, there are 2 ways -
    1. Registering your "ofsadw" as a target schema in owb. But this will create some OWB specific tables / functions in your "ofsadw" schema. Moreover, as you might have seen with your experience in designing mappings from External tables - MIR tables, OWB creates the Packages (executable code) under the target schema (ie "ofsadw"). If you have no issues with these then, you can happily register the "ofsadw" schema as a Target Schema in OWB using OWB RT Assistant.
    2. The other way is, as I have mentioned in my previous post to create synonyms for all the required tables under "ofsadw" schema in "owb_target" schema. This way you do not have to install owb specific objects into "ofsadw" schema.
    Creating Synonyms would be easy as you have both "owb_target" and "ofsadw" in single database. First, you need to grant privileges (SELECT / INSERT / UPDATE / ALTER / DELETE etc) for all the required "ofsadw" tables to "owb_target" schema. Then under "owb_target" schema create synonyms .
    Now the next step is to create the mappings in OWB. The procedure should be –
    With Option 2.
    It is better to separate the projects , one for moving data into staging and another for moving from staging into “ofsadw”.
    So create a new project
    Create a Oracle Module for source (ie “owb_target” staging tables)
    - Import all the required objects.
    Create another Oracle Module for target ( ie “ofsadw” synonyms under “owb_target”)
    -     Import all the required objects
    -     And Start building the mappings.
    With Option 1.
    Using OWB RT Assistant, register the “ofsadw” schema as your Target Schema.
    Create a new project
    Create an oracle module for source ( ie “owb_target” staging tables)
    Import all the required objects
    Create an oracle module for target (ie “ofsadw” sschema objects)
    Import all the required objects.
    And start creating the objects.
    I hope this will give you some starting point.
    Ta
    Mahesh

  • Assitance on Schemas' Usage

    hi,
    Recently i am working with OWB. i loaded the flat file as source using SQL loader into database(with one login details) .And in OWB i used different login details which is created to work with OWB and i imported tables from database into OWB project. I did mappings. when i am trying to deploy using deployment manager, i am getting as follows....
    RPE-01012:Cannot deploy to target location because it is owned by different runtime platform.
    Please assist on this.
    Thanks,
    Nanda

    Hi Nanda,
    Mappings need to be deployed to a target user. So when logged into OWB, see if you can see the security node in the global explorer. If not make sure to log in with the owner of the repository.
    In that security node register a new user (choose existing db user if you have a user already - but don't use the user that owns the repository to deploy to!).
    Now this new user is your location (so make sure you have one for the module). Now you can deploy mappings to this user. The reason for the registration is to create the required synonyms back to the repository for the mappings to compile. We need to be able to call the logging APIs and logging tables from the mappings.
    JP

  • Using "XML Document from XML Schema" in JDeveloper

    Hi Experts,
    I have a requirement to generate XML Document from XML Schema.
    For this I have used "XML Document from XML Schema" feature in JDeveloper. It is found in File->New->General->XML Document form XML Schema.
    I have registered a schema with jdev and got an XML document output for that successfully.
    Now, I want to implement this feature in my code for generating XML documents when XSD files are provided.
    Can any one please provide me with pointers to do that? I am sure there should be some libraries which can implement this feature.
    Thanks,
    Dilbagh

    Create an XML document from a Schema with the Oracle SchemaClassGenerator.
    import oracle.xml.classgen.SchemaClassGenerator;
    XMLSchema schema=new XMLSchema();
    XSDBuilder builder = new XSDBuilder();
    URL    url =  new URL(schemaUrl);     
    schema = (XMLSchema)builder.build(url);
    SchemaClassGenerator generator = new SchemaClassGenerator();
    Generate the Java classes from the example XML Schema.
    generator.generate(schema);With the java classes construct an XML document.

  • Forms 9i to JDeveloper

    HI Gentlemen,
    I studied carefully the whitepaper on migrating forms to Java. However, I do not clearly see, what happens with my server model in Designer 9i? Should I further build ER diagrams, transform them and generate them out to real DB tables? And migrate that set of tables to JDeveloper? Or is it possible to migrate an ER diagram and work with it entirely in JDelepoer further on? (Stated otherwise: Does JDeveloper replace both Designer and Developer after successful migration?)
    Thank you for a bit of assistance,
    Kind regards from
    Miklos HERBOLY

    Miklos,
    JDeveloper has an extension that allows a user to connect to a Designer repository and generate ADF Business Components based on the modules in the Designer repository. After the next production release of JDeveloper, the team will be releasing a further extension to connect to a Designer repository and capture the table definitions stored in the Designer repository. Until that extension is released the mechanism you should use is to connect to the live database and import the schema definitions into JDeveloper. JDeveloper offers various methods to do this.
    To answer your specific question: "Does JDeveloper replace both Designer and Developer after successful migration?"
    The answer is "it depends..." It depends on how much you have in Designer and how much you will use in JDeveloper. There are many users who only use Designer to build tables and so JDeveloper is a good alternative today.
    We are starting to build up a new web site on OTN (http://otn.oracle.com/formsdesignerj2ee) to help folk who are starting to work with these three tools, Designer, Forms and JDeveloper. there may be a few pieces there of interest to you.
    Regards
    Sue Harper

  • Schema Diagram error when drop new database objects

    Hi All,
    I am following the document to ad database objects to the Schema Diagram using JDeveloper 11.1.1.4. But when I drag a view to the diagram, it gives me this error.
    An error was encountered
    CAR_REFERENCE_CODES_V.CODE
    Name CODE is already in use.
    Here CAR_REFERENCE_CODES_V is the name of my view and CODE is the column name in the view.
    What should I do?
    Thanks

    Hello,
    There is a Connect item related to this issue. This is the link of that Connect item:
    https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
    Try the workarounds posted there (Workarounds section).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for