Binding XML to java types generated using Oracle Class Gen

Hi,
how can you bind an XML to the java types generated using the class gen provided byOracle.
I am using oracle 9i production. as part of my design, i have to read an xml input in my java class and use the contents to create some records and send a response xml back.
The latter part of i can do as the java types provide setter methods to set the data and conversion to xml.
Jaxb can be using to bind xml to java datatypes but its not supported in Oracle9i.
What are the alternatives for achieving the same?
Thanks
Ashwin

Hi Ashwin,
This is a bit outside my area of expertise, but I did run an older version of TopLink in the Oracle database java VM a few years back so I'll base my advice on that. Hopefully other forum members can correct me if I steer you wrong.
First you will need to set up your XML environment:
I believe the Oracle 9i database includes a JDK 1.3 VM. You will first need to determine if the VM includes any JAXP APIs. I believe there is an SQL query that allows you to query the classes available in the VM. First check if javax.xml.parsers.DocumentBuilderFactory is present.
If the JAXP APIs are already present in the database you will need to do the following. First load the class javax.xml.namespace.QName into the database. You can extract this from xmlparserv2.jar or from Suns Java Web Service Developer Pack jax-qname.jar. Then you will need to load the JAXB APIs. You can load xml.jar or jaxb-api.jar from Sun's JWSDP.
If the JAXP APIs are not present you will need to load the 10.1.3 version of the XDK jars (these are shipped with the 10.1.3 TopLink install). Load xmlparserv2.jar and xml.jar into the database.
Second you will need to setup your TopLink environment:
Load toplink.jar into the database. If the JAXP APIs were already present and you didn't load the 10.1.3 XDK jars into the database you will need to set the following System property.
toplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform-Blaise

Similar Messages

  • SQL types over PLSQL types while using Oracle Applications adapter in BPEL

    Use SQL types over PL/SQL types while using Oracle Applications adapter
    in BPEL/ ESB
    This document will be focusing on Oracle Applications adapter. However Database adapter is much like OA adapter (even OA adapter uses DB Adapter), so the readers who are interested to explore DB adapters, can relate things with this document and go further as well.
    Some Guidelines for writing PL/SQL APIs for OA Adapter
    As we know when we create a partner link from the OA adapter wizard it sometimes writes some wrapper script supportive to the OA Adapter WSDL which contains below
    * Object type for PL/SQL RECORD
    * Nested table of the given type for PL/SQL TABLE. For example, the nested table of NUMBER.
    * INTEGER substituted for PL/SQL BOOLEAN
    * Wrapper Script for converting above three set of data types . (PLSQL to SQL and SQL to PLSQL conversion functions)
    In runtime this wrapper script for converting PL/SQL to SQL and SQL to PL/SQL is an extra overhead.
    So the first advice would be to avoid the use of the below as parameters of PLSQL API being called by OA Adapter.
    * PL/SQL RECORD
    * PL/SQL TABLE. For example, the nested table of NUMBER.
    * PL/SQL BOOLEAN
    In other way we can say we should try to use only SQL data types in arguments if we are planning to call any PL/SQL API from the OA Adapter.
    If the requirement is to use a table or record uses the Object type. In place of BOOLEAN better to use VARCHAR or INTEGER what ever fulfills your requirement. Following this guideline we can reduce a huge number of Line of codes to be run each time the adapter being called.
    Generally, Oracle E-Biz standard APIs use PL/SQL record types and table types so when there is a requirement to call these API’s from OA Adapter (this is a common requirement in development), and if we directly browse the API in OA Adapter Configuration Wizard and create the partner link, again a huge number of code is written by the wizard in the wrapper script (a number of extra mapping of fields which are not being used in the interface).
    In this case better would be to create an Object type with only the required fields which are being used in that call and use them as parameters for the PLSQL API.

    Find the complete document
    http://www.4shared.com/file/167171882/29525116/Use_SQL_types_over_PLSQL_types.html

  • Simple Java Bean Generator use

    Hello everybody,
    I'd like to know if someone managed to use the Simple Java Bean Generator, useful tool for web dynpro application in order to import complete database model.
    I read the doc, and I think it's usable for SQLServer database. My command is as follows :
    java -D com.sap.test.DBTest com.microsoft.jdbc.sqlserver.SQLServerDriver sa 123erty TSP c:\GenerateDB CONFIG
    where CONFIG is my database name, sa/123erty the couple login/pwd, and TSP the pattern (what does it mean pattern in this case ?).
    When executing this command, the response is : datasouce not found and driver not specified...
    I don't understand, can someone help me please ??
    Thanx.
    Message was edited by: Sistiaga Marc

    Thanks about your answer.
    Without code modifying I wan't to use it with a Maxdb database.
    Which driver is ucurrently used ? com.sap.dbtech.jdbc.DriverSapDB ?
    Where do i have to launch this script knowing that my J2EE engine is installed in a linux platform ?
    My command become :
    java -D com.sap.test.DBTest com.sap.dbtech.jdbc.DriverSapDB SAPNW1DB SAPNW1DB CC_ c:\GenerateDB CONFIG_DB
    and i always get the response : datasource not found,n driver not specified...
    Am I wrong to try this generator in a windows platform where j2ee engine is in a linux platform ??
    Thanx a lot in advance !

  • How to retrieve Xml column in a table using Oracle Answers

    Hi,
    I am using a table with column consisting of Xml file.
    I have to retrieve all the data's from the XML file in Oracle Answers and display it in a table format.
    Help me to resolve this issue.
    Thanks in advance.

    You could write a view over the table that has the XML column and use Oracle XML DB functions to extract and represent the data in a table format. You can then map this view in Oracle BI Administration.
    I think stuff like XML transformations and extraction etc. is no task for Oracle BI and is best left to the Oracle Database.
    Thanks,
    Nilanshu.

  • Howto dynamicly bind XML element to a TextInput using BindingUtils?

    The question is: Howto dynamicly bind XML element to a
    TextInput component using BindingUtils?
    Now I use following codes:
    <!--
    [Bindable] private var xml: XML =
    <item><label>list1</label></item>;
    // initialize code for application's initialize event
    private function init(): void {
    BindingUtils.bindProperty(txtDemo, "text", xml, "label");
    //click event
    private function test(): void {
    xml.label = "something";
    // txtDemo.executeBindings(); //---- no use anymore
    -->
    <mx:TextInput id="txtDemo"/>
    <mx:Button label="Test" click="test()"/>
    My really idea is when bindable xml property is changed, then
    the textinput will be updated as hoped. However, no update happens
    to me when I click the Test button.
    But, if I make codes like that:
    <mx: TextInput id="txtDemo" text="{xml.label}"/>
    the text will updated when xml changs.
    So, what happened, I indeed need the dynamicly bind to the
    textinput compont.
    Help me. thanks.

    You could use an ObjectProxy since all subproperties will
    then be bindable:
    private var _xml:XML =
    <item><label>list1</label></item>;
    private var _opXML:ObjectProxy = new ObjectProxy(_xml);
    then in your init() function you declare _opXML as the host
    object with the bindable property "label"...
    // initialize code for application's initialize event
    public function init(): void {
    BindingUtils.bindProperty(txtDemo, "text", _opXML, "label");
    //click event
    private function test(): void {
    _opXML.label = "something";
    You'll notice that if you check your original _xml.label
    property with ChangeWatcher.canWatch(), it returns false. But if
    you create a dedicated object with a property that can be declared
    as bindable, canWatch() returns true. You'd probably be best off to
    write a lightweight class that can act as your model if you want to
    work with dynamic XML binding using Actionscript. This will allow
    you to use a bindable getter and setter that will give you the
    dynamic functionality you're looking for.
    Hope that helps.

  • Extracting XML tags and its values using ORACLE PL/SQL

    I need help to create a procedure that receive a XML string and insert it into the table after parsing it.
    If the XML has 10 tags then it should insert into the table 10 rows. Table will be having tag name and value. This will be plain XML tags without attributes in tags.

    Hi,
    I am able to retreive the values of the tags using extract function (example: lv_xml.EXTRACT ('/ROWSET/EMPLOYEE/EMPNO/text()').getstringval() ). But could you help me to find some way to extract the tags also since we have no idea what the tags are and how many tags are there, in advance.
    Anybody's help will be a releif!
    Thanks in advance,
    Leslie
    Message was edited by:
    user544830

  • Sql_trace does not work for Java app using Oracle JDBC thin driver

    Hi,
    I'm using Oracle 8.1.7. I enabled sql trace at instance level by setting sql_trace and timed_statistics to true in init.ora. I restarted the db instance. I wrote a stand-alone java application which used Oracle JDBC thin driver(classes12.zip) to make a connection to my db instance, do some select statements, and close the connection. There were no trace files generated in the folder specified by udump_dest variable. However, if I used sqlplus or dba studio, I saw trace files generated. Has anyone got Oracle sql trace work for JDBC calls from java apps.
    Thanks in advance!

    Hi,
    I'm using Oracle 8.1.7. I enabled sql trace at instance level by setting sql_trace and timed_statistics to true in init.ora. I restarted the db instance. I wrote a stand-alone java application which used Oracle JDBC thin driver(classes12.zip) to make a connection to my db instance, do some select statements, and close the connection. There were no trace files generated in the folder specified by udump_dest variable. However, if I used sqlplus or dba studio, I saw trace files generated. Has anyone got Oracle sql trace work for JDBC calls from java apps.
    Thanks in advance!

  • XML queries... Change the code from using Oracle db into MS SQL

    Hi, I am a new begginer in this field. I came accross to an article that focuses in Oracle's XSU approach.
    Currently, i am trying to convert the java code from using Oracle db to MSSQL db. The code has shown below:
    import javax.naming.*;
    import javax.sql.*;
    import java.sql.*;
    import oracle.xml.sql.query.*;
    public class testxml
         public static void main(String args[]) throws SQLException, NamingException
         String tabName = "emp";
         int maxRows = 3;
         Context ctx = new InitialContext ();
         DataSource ds = (DataSource) ctx.lookup ("MyOra");
         Connection conn = ds.getConnection ();
    OracleXMLQuery qu = new OracleXMLQuery (
    conn, "select EMPNO, ENAME from " + tabName);
    qu.setMaxRows (maxRows);
    qu.setRowsetTag ("EMPLOYERS");
    qu.setRowTag ("PERSON");
    String xmlString = qu.getXMLString();
    System.out.println (xmlString);
    conn.close ();
    Currently, i am having difficulties to change the "bold" area that uses Oracle into MS SQL as my current application is using MS SQL as the database.
    Please help and need more advices from all of you. Thank You

    I resolved this issue myself. For the answer please message me.

  • How to archive a Java project that uses an Oracle XE DB?

    Hi,
    As the title suggests, I have a small Java application that uses Oracle XE as the database. Now that I have finished working on the application, I want to archive it and email it to friends and coworkers to test it. However, I know that none of these people have any database software installed. I also can't have them connect remotely to the one on my development machine.
    Is there any way to include the database in my application archive, so that all they have to do is run the application without worrying about its back-end? Should I use another back-end?
    Any help is appreciated.
    Thanks

    Unless your database server is on a remote machine that they can connect to then you can't package the WHOLE DATABASE, software and all and send it via e-mail.
    You can package your application, and also export the contents of your database into a .dmp file and send that.
    The user will NEED Oracle software then to import the contents of your .dmp file.

  • Using java type strings in objective C

    HI all,
    I am into a greater mess of creating a java equivalent string using NSString class. I need to a convert some strings into bytes and then I have to write in streams. The problem is in java the length of character is 2 bytes. But in objective C the length of char is 1 byte. In java they used to convert the the entire sting into char array and then the char array into byte array and then they write in the streams. I need to implement same as java. Using NSString , there are methods available to convert into NSData . from the object of NSData , the byte Array can be obtained. but the length of the byte array compared to the length of byte array in java seems to be half. I have used "NSUTF8StringEncoding" to encode the string into NSData. Is there anyway to obtain the above said scenario using objective C.
    Regards,
    Mohammed Sadiq.

    HI xnav,
    thanks a lot .. Following is my code :
    NSData *data = [@"12C58CE4DB9752C" dataUsingEncoding: NSUnicodeStringEncoding];
    int len = [data length];
    here the value of len is 32 bytes.
    anyway I didn't try out using CString.
    I also like to clarfiy the usage of unichar. Following is the code that i used to convert, to and from NSData using unichar :
    // converting to NSData
    +(NSData *)NSDataFromString:(NSString *)value_
    int len = [value_ length] * sizeof(unichar);
    unichar *buffer = (unichar *)malloc(len);
    [value_ getCharacters:buffer];
    NSData *data = [NSData dataWithBytes:buffer length:len];
    free(buffer);
    return data;
    // converting into NSString :
    +(NSString *)NSDataToString:(NSData *)data_
    unichar *characters = (unichar *)[data_ bytes];
    NSString *value = [NSString stringWithCharacters:characters length:[data_ length]];
    return value;
    I tried converting a sample string with above methods its working. shall i follow the above. does it affects any values that i used to fetch from the server.
    awaiting for your response
    Regards,
    Mohammed Sadiq.

  • Definition class name missing in XML file of type taskFlow

    Hi all,
    I am trying to invoke a bounded taskflow from a region on a jspx page.
    My jspx page has: *<af:region value="#{bindings.citySearchTF.regionModel}" id="r1" />*
    Its page def file has :
    *<taskFlow id="citySearchTF" taskFlowId="/WEB-INF/tfs/bounded/cities/city-search-tf.xml#city-search-tf"*
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
    My taskFlow file is :
    *<?xml version="1.0" encoding="windows-1252" ?>*
    *<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">*
    *<task-flow-definition id="city-search-tf">*
    *<default-activity>search-city.jsff</default-activity>*
    *<data-control-scope>*
    *<shared/>*
    *</data-control-scope>*
    *<view id="search-city.jsff">*
    *<page>/view/bounded/city/search-city.jsff</page>*
    *</view>*
    *<use-page-fragments/>*
    *</task-flow-definition>*
    *</adfc-config>*
    Now, while running this jspx page, I am getting the following errors:
    On Browser : ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
    On WLS Logs :
    oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type taskFlow
         at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:402)
         at oracle.adf.model.binding.DCBindingContainerDef.loadExecutables(DCBindingContainerDef.java:1482)
         at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1278)
         at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
         at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1274)
         at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
         at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
         at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
         at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
         at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
         at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:127)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1089)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:807)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1598)
         at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
         at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:550)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:119)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    There is some issue with PageDef but I am not able to figure it out. Searched a lot on internet but didn't succeed. Thanks in advance.
    Edited by: 965225 on Dec 17, 2012 3:43 AM

    Hi all,
    I am trying to invoke a bounded taskflow from a region on a jspx page.
    My jspx page has: *<af:region value="#{bindings.citySearchTF.regionModel}" id="r1" />*
    Its page def file has :
    *<taskFlow id="citySearchTF" taskFlowId="/WEB-INF/tfs/bounded/cities/city-search-tf.xml#city-search-tf"*
    xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
    My taskFlow file is :
    *<?xml version="1.0" encoding="windows-1252" ?>*
    *<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">*
    *<task-flow-definition id="city-search-tf">*
    *<default-activity>search-city.jsff</default-activity>*
    *<data-control-scope>*
    *<shared/>*
    *</data-control-scope>*
    *<view id="search-city.jsff">*
    *<page>/view/bounded/city/search-city.jsff</page>*
    *</view>*
    *<use-page-fragments/>*
    *</task-flow-definition>*
    *</adfc-config>*
    Now, while running this jspx page, I am getting the following errors:
    On Browser : ADF_FACES-30179:For more information, please see the server's error log for an entry beginning with: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
    On WLS Logs :
    oracle.jbo.PersistenceException: JBO-34000: Definition class name missing in XML file of type taskFlow
         at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:402)
         at oracle.adf.model.binding.DCBindingContainerDef.loadExecutables(DCBindingContainerDef.java:1482)
         at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1278)
         at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
         at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1274)
         at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
         at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
         at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
         at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
         at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
         at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:127)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1089)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:807)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1598)
         at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
         at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:550)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:119)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:63)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:319)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    There is some issue with PageDef but I am not able to figure it out. Searched a lot on internet but didn't succeed. Thanks in advance.
    Edited by: 965225 on Dec 17, 2012 3:43 AM

  • Include-java-types issue

    I have an object that appears as follows:
    Object A
    - X
    - Y
    - Z (List of Object B_
    Object B
    - q
    - w
    When I use * @jws:return-xml include-java-types="transportObjects.A transportObjects.B"
    only the data from the List [a.getZ()] is returned in the test application. When I have just...
    include-java-types="transportObjects.A" and comment out the getZ() I get all the object A data.
    Any ideas on why this is happening. I want both bits of data to show. I am including the annotation on my web service call.
    Cheers.

    /** @common:operation
    * @jws:return-xml include-java-types="'com.x.y.z.dto.OrderDTO"
    Include this statement above the method and try.
    Thanks
    Bala.

  • Calling Java application(forms) from Oracle/Developer

    Hi
    How can i call java application by using Oracle/Developer 10g. Pl. name the methods that i can use.
    regards
    Touseef

    In Oracle a Java stored procedure is a program you write in Java to run in the server, exactly as a PL/SQL stored procedure. You invoke it directly with products like SQL*Plus, or indirectly with a trigger. You can access it from any Oracle Net client—OCI, precompiler, or JDBC.
    Oracle provides a fully-compliant implementation of the Java programming language and JVM. Oracle Database Java Developer's Guide explains how to write stored procedures in Java, how to access them from PL/SQL(or developer), and how to access PL/SQL functionality from Java. -> http://download-uk.oracle.com/docs/cd/B19306_01/java.102/b14187/chfive.htm#BABGCGBG

  • Using ORACLE JMS

    I am trying to send a message that includes XML in the TextMessage body using JMS class.
    My question is how do I trasform XMLDocument into the String so I can use it in the TextMessage body. Later I would like to retrieve that string as XMLDocument.
    If somebody has a sample or suggestion how to do that I would really appreciate it.
    null

    HI Vladimir,
    Converting XMLDocument to String
    ==================================
    I am assuming the XMLDocument you wish to convert to String is in variable d
    java.io.StringWriter sw = new StringWriter();
    d.print(new PrintWriter(sw));
    String returnString = sw.getBuffer().toString();
    Converting String to XMLDocument
    ===================================
    Again the String you wish to convert is asusmed to be in variable xmlString.
    StringReader sr = new StringReader(xmlString);
    DOMParser parser = new DOMParser();
    parser.parse(sr);
    XMLDocument xd = (XMLDocument)parser.getDocument();
    Hope this helps in your work.
    regards
    hemant
    null

  • View Attribute Types shows only Java Types

    Hi,
    when I edit an attribute of a view, normally I can choose it's data type,
    containing Java Types: "BigDecimal", "Integer" ....
    and Oracle Types: Number, Date etc.
    But after having reinstalled the Jdeveloper, the drop down box only shows
    the Java types and the oracle types are missing. I can still enter the FQDN ("oracle.jbo.domain.Number"),
    but when it comes to the View Criterias I cannot choose the operater "Less or equal than", it
    shows me 4 operators only "Equals", "Does not equal", "Is blank" and "Is not blank".
    It seems to be related to the settings of this application because when I open another application (with the
    same Database-Connection), then the oracle types are available.
    Does anybody know why the oracle types are not choosable any more and how to
    reinstall them in this application.
    jdeveloper 11.1.1.4.0 (Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923)
    Thanks in advance
    Yves

    Hi Arunkumar,
    yes, this shows "Java" for Type Map instead of "Oracle". But I cannot change it, because the drop down box
    is disabled.
    Anyway, I think my installation of Jdev is buggy, because in the resource palette I cannot add any new connections.
    When adding any DB-Connections (and it shows "success") it won't show up in the resource palette window.... it just
    remains empty...
    Thank you
    Yves

Maybe you are looking for

  • Cisco ASA 5505 - EasyVPN - ARD can't scan remote Networks

    Hi all, We have been installing Cisco ASA5505 to hook our systems and remote offices together.  Our first install went great, and I can scan the remote network no problem, this network is setup using the site to site VPN setup. Since then we have add

  • Problem with Icon in App Store Browse Screen

    Hi folks, My app just got approved and I can search for and install it fine.  However, when I browse for it on the App Store, I get a black box where my logo should be: <image not shown but it's self-explanatory> Now it's possible that this is becaus

  • Conversion of Decimal to Binary String

    Hello Labview People: I'm rather new to Labview, so this may be a simple-minded question . . . I would like to take a numeric control and have the decimal input converted to a binary string of 8 bits. So, for example, if I were to put in the number '

  • IDVD 5: Previous themes are missing

    I looked at an earlier post to find the lost themes in iDVD 5 (I have been missing 4.0 themes and Old Themes after re-install of OSX 10.4 but everything was there orignially.) The fix was this link: http://docs.info.apple.com/article.html?artnum=3018

  • Process Chain Adhoc schedule

    Dear Experts, I have daily schedule of Process chains . At the time of month end due to offline backup or at the time patch upgradation we need to stop the schedule for that day and next day again put in schedule. Is there any way to define custom sc