License of Class Generator

Hello,
I want know when the first version of Class Generator will be
released and the license agreements. Another question : at the
actual moment, can I utilize the Class Generator for commercial
purposes ? I've read the license, and I've understood this is
impossible until the new version will be released.
Thank you in advance
Rolando Ramieri
Agenzia ANSA Roma
null

Rolando Ramieri (guest) wrote:
: Hello,
: I want know when the first version of Class Generator will be
: released and the license agreements. Another question : at the
: actual moment, can I utilize the Class Generator for
commercial
: purposes ? I've read the license, and I've understood this is
: impossible until the new version will be released.
: Thank you in advance
: Rolando Ramieri
: Agenzia ANSA Roma
There will be an announcement in a couple of weeks regarding
licensing. Right now it is only a development license.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null

Similar Messages

  • ANN: XML Class Generator for Java Available

    The Oracle XMCL Class Generator for Java is now available as an
    initial beta release on the Oracle Technology Network at
    http://technet.oracle.com. Select 'xml' from the Technology menu.
    The XML Class Generator will generate a set of Java source files
    based on an input DTD. The generated Java source files can then
    be used to construct, optionally validate, and print a XML
    document that is compliant to the DTD specified. This is an early
    beta release and has the following features:
    * Creates Java Classes from DTDs to enable the programmatic
    construction of XML documents.
    * Supports validation mode to assist debugging.
    * Works with the Oracle XML Parser in Java.
    * Creates documents conforming to the W3C XML 1.0
    Recommendation.
    * Supports creating documents in the following encodings:
    UTF-8
    UTF-16
    ISO-10646-UCS-2
    ISO-10646-UCS-4
    US-ASCII
    EBCDIC-CP-US
    ISO-8859-1
    Shift_SJIS
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    Thanks,
    Rob
    Oracle XML Team wrote:
    : First, the link has been fixed. As to your access exception,
    we
    : have traced it to a difference between JDK 1.1.x and JDK 1.2.
    : You can solve it by using a 1.1.x version of the JDK or wait
    till
    : our production version of our XML Parser becomes available
    within
    : a week which will work with 1.2.
    : Oracle XML Team
    : http://technet.oracle.com
    : Rob Edagr (guest) wrote:
    : : 1) The HREF on the download page for the NT version points
    to
    : : the version 102 parser not the classgen.
    : : 2) After downloading and installing the classgen (by
    guessing
    : : what the url was) I ran it and get the following
    : : C:\jdk1.2\xml\ora\classgen\sample>java SampleMain -root
    : : wddxPacket wddx_0090.dtd
    : : Exception in thread "main" java.lang.IllegalAccessError: try
    to
    : : access class oracle/xml/parser/XMLNode from class
    : : oracle/xml/classgen/ClassGenerator
    : : at oracle.xml.classgen.ClassGenerator.generate
    (Compiled
    : : Code)
    : : at SampleMain.main(SampleMain.java:65)
    : : Any idea on what the problem is (same error with sample dtd)
    : : Rob
    : : Oracle XML Team wrote:
    : : : The Oracle XMCL Class Generator for Java is now available
    as
    : : an
    : : : initial beta release on the Oracle Technology Network at
    : : : http://technet.oracle.com. Select 'xml' from the
    Technology
    : : menu.
    : : : The XML Class Generator will generate a set of Java source
    : : files
    : : : based on an input DTD. The generated Java source files can
    : : then
    : : : be used to construct, optionally validate, and print a XML
    : : : document that is compliant to the DTD specified. This is
    an
    : : early
    : : : beta release and has the following features:
    : : : * Creates Java Classes from DTDs to enable the
    programmatic
    : : : construction of XML documents.
    : : : * Supports validation mode to assist debugging.
    : : : * Works with the Oracle XML Parser in Java.
    : : : * Creates documents conforming to the W3C XML 1.0
    : : : Recommendation.
    : : : * Supports creating documents in the following
    encodings:
    : : : UTF-8
    : : : UTF-16
    : : : ISO-10646-UCS-2
    : : : ISO-10646-UCS-4
    : : : US-ASCII
    : : : EBCDIC-CP-US
    : : : ISO-8859-1
    : : : Shift_SJIS
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    : Oracle Technology Network
    null

  • XML Schema Class Generator Problem compiling generated java programs

    Hi,
    I ran oracg on the po.xsd schema from X3Cs XML Schema Part 0: Primer which successfully generated the java codes. I ran into problems when I compile the generated classes. Here's what I'm getting:
    C:\oracle\xml\xdk\demo\java\classgen\Po2>javac -classpath ".;C:\oracle\xml/lib/xmlparserv2.jar;C:\oracle\xml/lib/xschema.jar;C:\oracle\xml/l
    ib/classgen.jar;.;C:\Program Files\VicunaJ521\java\lib\collections.jar;C:\Program Files\VicunaJ521\java\lib\vicunalite.jar;C:\Program Files\
    XConverter\XConverter.jar;C:\Program Files\XConverter\IDLGenerator.jar; c:\jdk1.2.2\lib\dt.jar;c:\jdk1.2.2\lib\jvm.jar;c:\jdk1.2.2\lib\tools
    .jar;c:\oracle\ora81\jdbc\lib\classes12.zip;c:\oracle\ora81\jdbc\nls_charset12.zip;C:\oracle\xml\lib\classgen.jar;C:\oracle\xml\lib\xmlparse
    rv2.jar" *.java
    .\types\PurchaseOrderType.java:75: Type expected.
    public void addComment(null.Comment thecomment)
    ^
    .\types\Items.java:141: Type expected.
    public void addComment(null.Comment thecomment)
    ^
    2 errors
    Running the demo which comes with oracles version of po.xsd was OK. What's the difference between the po.xsd from oracle and the po.xsd from W3C? Are there any W3C recommendation for XML Schema not supported by Oracle's class generator?

    Which po.xsd do you use? Would you post it?
    Thanks. Here's the copy of the po.xsd from the W3C website. (http://www.w3.org/TR/xmlschema-0/#po.xsd)
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:annotation>
    <xsd:documentation xml:lang="en">
    Purchase order schema for Example.com.
    Copyright 2000 Example.com. All rights reserved.
    </xsd:documentation>
    </xsd:annotation>
    <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
    <xsd:element name="comment" type="xsd:string"/>
    <xsd:complexType name="PurchaseOrderType">
    <xsd:sequence>
    <xsd:element name="shipTo" type="USAddress"/>
    <xsd:element name="billTo" type="USAddress"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="items" type="Items"/>
    </xsd:sequence>
    <xsd:attribute name="orderDate" type="xsd:date"/>
    </xsd:complexType>
    <xsd:complexType name="USAddress">
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="street" type="xsd:string"/>
    <xsd:element name="city" type="xsd:string"/>
    <xsd:element name="state" type="xsd:string"/>
    <xsd:element name="zip" type="xsd:decimal"/>
    </xsd:sequence>
    <xsd:attribute name="country" type="xsd:NMTOKEN"
    fixed="US"/>
    </xsd:complexType>
    <xsd:complexType name="Items">
    <xsd:sequence>
    <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="productName" type="xsd:string"/>
    <xsd:element name="quantity">
    <xsd:simpleType>
    <xsd:restriction base="xsd:positiveInteger">
    <xsd:maxExclusive value="100"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="USPrice" type="xsd:decimal"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="partNum" type="SKU" use="required"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <!-- Stock Keeping Unit, a code for identifying products -->
    <xsd:simpleType name="SKU">
    <xsd:restriction base="xsd:string">
    <xsd:pattern value="\d{3}-[A-Z]{2}"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>

  • XML Parser, Class Generator demo problem

    Hello,
    I have downloaded today the XML Parser and the Class Generator. I have successfully compiled the SampleMain.java coming with the kit. When running it there is a problem with the expected DTD filename input.
    The program prints out the needed format as:
    Usage: java SampleMain [-root <rootName>] <fileName>
    fileName Input file, XML document or external DTD file
    -root <rootName> Name of the root Element (required if the input file is an external DTD)
    Whatever I try as DTD filename input fails.
    I work on Windows-NT!
    I have tried running with JDK 1.1.7.a and JDK 1.2.2.
    Thanks, Yigal.

    java SampleMain Widl.xml
    or
    java SampleMain -root WIDL Widl.dtd
    Make you have Widl.xml and Widl.dtd are
    in the current directory. Also, remember
    Java is case sensitive.
    If you are still getting errors, please
    post the error message.
    null

  • Classes generated for Human Task UI

    Hi All,
    I created ADF UI out of a human task (using Automatically generate form option). After generating, I can see lot of .xml files under the HumanTaskForm package, in the newly generated project. I would like to know the way in which these classes (Java Bean) are generated under the HumanTaskForm package.
    Also, when I update some values in the UI page at runtime, I am able to see the change , in the response message of the HumanTask. I would like to know, from where the binding information come from, for those UI components, so that they are able to update!
    Kindly give me some good documents that would explain me regarding the bean classes generated for HumanTask.
    When I searched for the same, I could get the documents regarding the configuration of Human Task only. I need information regarding the Bean classes for Human Task.
    Thanks,
    Sabarisri. N

    Please post on the Jdeveloper and ADF Forum where you will get more help
    JDeveloper and ADF

  • Schema Class Generator Problem

    I'm getting this error msg when I do the following command line:
    $java oracle.xml.classgen.oracg -s MySchema.xsd
    <Line 455, Column -136>: XSD-2028: (Error) Invalid reference: 'http://www.w3.org/2000/10/XMLSchema:dateTime'
    My XSD's header looks like this:
    <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.5">
    Any idea?
    Thanks,
    Peter ;-)
    null

    The problem is due to missing "dateTime" in
    class generator datatypes in 9.0.1. This will be updated and in 9.0.2beta (upcoming in few weeks) release.
    null

  • BADI - Diff. Class generated in Definition and Implementation

    Hi all,
    When we define a BADI,  a BADI class is generated.  When we implement the BADI, another class is generated. 
    1) What is the difference between these 2 classes?
    2) As I know, we use the class generated in Implementation to instantiate and call the BADI method in our program.  What about the class generated in Definition?  What is it used for?
    Thanks.

    I noticed that under Definition, the class generated is with cat= Exit class while under Implementation, the class generated is with cat= general object type.  Both can be instantiated for use in ABAP program.
    What is the difference/usage of these 2 generated classes?

  • Class generated by genInterface ant task does not compile

    I am trying to build a web service from existing wsdl using genInterface and topDownAssemble ant tasks.
    The wsdl contains following type definition. Java class generated from this type (see below) does not compile. The problem is that there are two class members named
    'value'. Is this an issue with Web Services Assembly tool or there is some way to get
    around it?
    <s:simpleType name="quantityType">
    <s:restriction base="s:string">
    <s:enumeration value="summation"/>
    <s:enumeration value="demand"/>
    <s:enumeration value="value"/>
    <s:enumeration value="consumption"/>
    </s:restriction>
    </s:simpleType>
    // Version = Oracle WebServices (10.1.3.3.0, build 070610.1800.23513)
    public class QuantityType implements java.io.Serializable {
    private java.lang.String value;
    private static final String _summationString = "summation";
    private static final String _demandString = "demand";
    private static final String _valueString = "value";
    private static final String _consumptionString = "consumption";
    public static final java.lang.String summation = new java.lang.String(summationString);
    public static final java.lang.String demand = new java.lang.String(demandString);
    public static final java.lang.String value = new java.lang.String(valueString);
    public static final java.lang.String consumption = new java.lang.String(consumptionString);
    public static final QuantityType summation = new QuantityType(_summation);
    public static final QuantityType demand = new QuantityType(_demand);
    public static final QuantityType value = new QuantityType(_value);
    public static final QuantityType consumption = new QuantityType(_consumption);
    Andrei

    Pls set debug attribute of JWSC ant task to true or on, e.g.
    <jwsc srcdir="." destdir="${output.dir}" debug="on" keepGenerated="true">
              </jwsc>

  • XML C++ SDK Class Generator Question

    Hello.
    I have an XML schema definition file where some elements are defined inside other elements. When I generate classes for this schema I don't get classes for such elements (but only for the outermost level elements). How to use the class generator in this situation ? Do I miss something ?
    Thank you.
    Mark

    Questions related to the XDK products should be posted in the Technologies -> XML -> General Forum. If you like I can move you post to that forum.

  • Using class generator

    Hi to all.
    My problem is about how to directly load an existing xml file in an in memory structure without building a procedure that creates node by node and put it in the tree.
    Is this possible?
    Is possible to use the binding mechanism given by the ElementFactory interface of the DOM specification( I think it is not, because the class CGNode does not extend a base class that implements the Element interface
    and it seems that doesn't implement that interface itself)?
    thanks for anyone paing attenction to my request.

    I am aware of the type of input the Clas Generator accepts.
    I have a DTD, let's call it "sample.dtd," and I need to use this DTD with the Class Generator. Can someone please show me how to instantiate the DTD object and use it with the Class Generator for Java? Thank you.
    -Emad
    null

  • How to see the wrapper classes generated for CMP 2.1 in jdeveloper10g

    I have developed CMP entity bean (2.1) using jdeveloper wizard. I want to see the wrapper class generated for the bean. How can I do that in jdeveloper 10g.

    No you got me wrong. I wan't to see the actual implementated classes (extended from the generated bean) by the container. ie the ones that actually run in the container.
    rgds,
    Jatin

  • Java Class Generator

    Hi
    I found an example code for generating Java class based on the xml file.
    i just want to know which package the following classes belongs to.Here the the classes
    1. DTD
    2.ClassGenarator
    Thanks in advance
    Balaji

    Hi !
    I am facing a similar problem
    I am using classgen version 1.0.1.0.0
    and xmlparser version 2.0.0.1.0....
    everythings in the CLASSPATH...
    I could compile the SampleMain.java in the classgen/samples directory .
    But when i run it with any dtd or the provided widl.dtd i get the following error
    XML Class Generator: Error Attribute Value should start with quote
    Attribute Value should start with quote
    at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:191)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:97)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java:135)
    at oracle.xml.parser.v2.NonValidatingParser.parseAttrValue(Compiled Code
    at oracle.xml.parser.v2.ValidatingParser.parseAttr(ValidatingParser.java
    :418)
    at oracle.xml.parser.v2.NonValidatingParser.parseAttributes(Compiled Cod
    e)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(Compiled Code)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:89)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:181)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:142)
    at SampleMain.main(SampleMain.java:45)
    please help !
    thanks
    amit
    null

  • IMPORTANT: XML Class Generator Feature Test

    To Those of you who are using our XML Class Generator, we would
    really like some feedback regarding your tests of the following
    features:
    1) validation -- turn it on/off with DTDs
    2) character set encoding -- ask them to try different ones
    3) DTDs -- included in the XML file and also have it as an
    external DTD;
    4) XML 1.0 conformance -- see if the XML documents created
    conform to the spec;
    5) print methods -- try them out
    We would like to go production in the near future and need this
    feedback.
    Thanks,
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    Posted reply to:
    Re: xml class generator NullPointerException when element type is base64Binary
    -Blaise

  • Classes generated start with "SMALL" letters

    Hi,
    For example if on the server side,
    @WebService
    public class CLASS1
    public void getValue(CLASS2 cls2, CLASS3 cls3)
    The generated classes..specially CLASS2 and CLASS3 are something like cLASS2 and cLASS3. Any way to control this??
    Thanks,
    Vijay

    Yes The classes generated on the client side start with small case letters.
    I am using apt (is that wat u mean when u ask abt the tools?).
    I start from java and when I look at the generated wsdl I do see the classes with small case letters.
    I use jaxws with jaxb.
    I am not sure If I answered your question abt the tools..please let me know.
    Thanks a lot for your time.
    Vijay

  • Java stored proc from proxy Java classes generated from a web service?

    Hi gurus,
    I have searched "Java Stored Procedure" on this forum but could not find what I am looking for, so I have to post again.
    I need to use a web service and my client app is written in PowerBuilder 11 (Sybase), which claims that it will create a datawindow from a web service. Well, it turned out that PB can only handle simple stuff (it works with a very simple wsdl from the internet) but can't handle more complex ones that we need to use. So I am thinking about using Oracle JDeveloper(JDev) to create the web service proxy for the web service and then load it into Oracle as a Java stored procedure so that PowerBuilder can call the procedure. JDev succsfully generated the proxy and a few Java classes. My question is, do I need to load all the classes into the database? If yes, will the reference to the package work? For example, in a JDev generated class (the soap client class), it has package MyJdev.proxy; at the top. Or, will it work if I load all the classes included in package /MyJdev/proxy into the database?
    Thank you very much for any help.
    Ben

    For the java stored proc called from pl/sql, the example above that uses dynamic sql should word :
    CREATE OR REPLACE PACKAGE MyPackage AS
    TYPE Ref_Cursor_t IS REF CURSOR;
    FUNCTION get_good_ids RETURN VARCHAR2 ;
    FUNCTION get_plsql_table_A RETURN Ref_Cursor_t;
    END MyPackage;
    CREATE OR REPLACE PACKAGE BODY MyPackage AS
    FUNCTION get_good_ids RETURN VARCHAR2
    AS LANGUAGE JAVA
    NAME 'MyServer.getGoodIds() return java.lang.String';
    FUNCTION get_plsql_table_A RETURN Ref_Cursor_t
    IS table_cursor Ref_Cursor_t;
    good_ids VARCHAR2(100);
    BEGIN
    good_ids := get_good_ids();
    OPEN table_cursor FOR 'SELECT id, name FROM TableA WHERE id IN ( ' &#0124; &#0124; good_ids &#0124; &#0124; ')';
    RETURN table_cursor;
    END;
    END MyPackage;
    public class MyServer{
    public static String getGoodIds() throws SQLException {
    return "1, 3, 6 ";
    null

Maybe you are looking for

  • Filtering programatically in alv report

    please let me know is it posible to filering in alv report.please respond immediately....

  • I want to replace the SSD in an HP mini 1010nr. i have 30gb Hitatchi 1.8" drive. does not work.

    the drive connects using the cable from the SSD, however; the BIOS does not detect the drive and the drive does not power. Did i waste my time and money buying a hard drive to repalce the SSD?

  • Help in IDOC_INPUT_ORDERS Function module

    Hi, I am writing a program to generate an IDOC using IDOC_INPUT_ORDERS Function module . But I am a little confused as to what has to be passed as input_method,mass_processing which are the import parameters of this function-module . If anyone has a

  • Mail rule or script

    I´m using Mail and OrganizePro on my Mac. I would like to add a script working like if I move an email to a specific folder it should automatic create a task in OrganizePro related to the email. Any ideas how this can be done ? It is possible to crea

  • ComboBox in a Matrix

    Hi, How do I build a Combo box in a matrix? (C#, (or VB)) I have a empty matrix which the user key in data; so after row 1, row 2 has to be created with combo box, etc. Thank you, Rune