Bug in Data control generation against top link xml mapping class

I encountered serious problem when generating data control from a revised version of our xml schema (top link classes).
We change the structure by inserting element representing a node before the element that occurs more than once.
The structure is now
<xs:element name="classification-language-list">
<xs:annotation>
<xs:documentation xml:lang="fr">Liste des langues supportées par la classification</xs:documentation>
</xs:annotation>
<xs:complexType mixed="false">
<xs:sequence>
<xs:element name="classification-language" type="classification-languageType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="fr">Langue gerée par la classification</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
As you can see the element that represent the list is not inherited from a type. It is described locally in the schema. This mean that top link generate a class in the parent implementation class. In our case classification-language-list is defined in the interface ClassificationType.java and in the class ClassificationTypeImpl.java.
The data control xml file for Classification class is as below:
<?xml version="1.0" encoding="UTF-8" ?>
<JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.39.14"
id="Classification"
BeanClass="classification.toplinkInterface.Classification"
Package="classification.toplinkInterface" isJavaBased="true">
<Attribute Name="schemaVersion" Type="java.lang.String"/>
<AccessorAttribute id="classificationCategoryList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationCategoryListType"/>
<AccessorAttribute id="classificationEntryList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationEntryListType"/>
<AccessorAttribute id="classificationExternalSystemList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationExternalSystemListType"/>
<AccessorAttribute id="classificationLanguageList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"/>
<AccessorAttribute id="classificationNameList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationNameListType"/>
<AccessorAttribute id="classificationVersionList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationVersionListType"/>
</JavaBean>
The data control xml file for ClassificationLanguageListType class is as below:
<?xml version="1.0" encoding="UTF-8" ?>
<JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.39.14"
id="ClassificationLanguageListType"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"
Package="classification.toplinkInterface.ClassificationType"
isJavaBased="true">
<Attribute Name="schemaVersion" Type="java.lang.String"/>
<AccessorAttribute id="classificationCategoryList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationCategoryListType"/>
<AccessorAttribute id="classificationEntryList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationEntryListType"/>
<AccessorAttribute id="classificationExternalSystemList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationExternalSystemListType"/>
<AccessorAttribute id="classificationLanguageList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationLanguageListType"/>
<AccessorAttribute id="classificationNameList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationNameListType"/>
<AccessorAttribute id="classificationVersionList" IsCollection="false"
BeanClass="classification.toplinkInterface.ClassificationType.ClassificationVersionListType"/>
</JavaBean>
This last data control definition is completely wrong.
Here is the corresponding interface in ClassificationType.java:
public interface ClassificationLanguageListType
java.util.List<ClassificationLanguageType> getClassificationLanguage();
The type was added manually.
Here is the corresponding interface
public interface ClassificationLanguageType
public void setClassificationLanguageCode(java.lang.String value);
public java.lang.String getClassificationLanguageCode();
public void setClassificationLanguageLabel(java.lang.String value);
public java.lang.String getClassificationLanguageLabel();
It seem like a big bug ... in data control generation

Solve the problem by generating a data control for the implementation class also. This will cause the data control xml file to be created for the java class also (if not only the interface will have a data control xml file generated).

Similar Messages

  • Human Task Flow conflict on Data Controls generation

    Hi, I have two distinct human tasks in one process. When I use new-> JSF-> ADF task flow from Human task to create the task flow for the second task to the same public-html/web-INF folder as the first one, after the generation, the data control for the first human task flow will disappear from the data control window.
    I am trying to rebuid my old app into a new app. Although I can create two distinct human task flows in my old app, no luck in the new app. Both apps use JDev 11.1.1.5 and on the same machine. Anybody can give me some hints on the issue?
    Thank you

    Juan C,
    I use JDeveloper 11g Release 1.
    May be I didn't explained my question correctly.
    taskdetails1 is creating, and in Data Controls I have objects of my BPM Human Task Payload.
    But in that file "PackageCreation.task" in source I can't find any link to instantly created TaskFlow.xml in my UI project.
    So, I have
    NEW project "PackageCreationUI" with PackageCreation_TaskFlow.xml in it (and TaskDetails1 file too).
    AND Did't Changed PackageCreation.task in BPM Project.
    If I use *"BPM form creation wizard"*, after creating project and TaskFlow in it I see Changes in PackageCreation.task in BPM Project, something like that:
    <taskFlowFileLocation>file:/C:/JDeveloper/mywork/testApp/PackageCreationUI/public_html/WEB-INF/PackageCreation_TaskFlow.xml</taskFlowFileLocation>

  • Scope of java class used for building data control

    Hello,
    I have tried a sample application where in we are using Datacontrols to render the UI.
    The data control is generated off a simple java class(abc.java) which is used to render a "Page called - Employee". This java class then uses a session bean which in turn talks with the database entities. The database entities(POJO's - employee.java) are then exposed in the abc.java and used to display data on the UI such as employee name, id , etc.
    My question is regarding the scope of abc.java. I presume, that the constructor of this class will be called when the page is rendered.
    Now say i am navigating from some Page-A to Page-Employee. On click of a button in Page A, i want to go to the Database, retrieve a particular employee's details and then place it in the employee entity exposed in abc.java so that it gets displayed when Page-Employee is rendered.
    If the actionlistener method of the button click in Page A has the code of - 1)create new instance of abc - new abc() 2)retrieve employee entity 3) set employee entity in the class level attribute of abc
    But on going to the next page-employee, a new instance of abc is getting created and i am losing the employee that i had retrieved in the previous screen.
    Is there a scope for abc that can be set somewhere similar to managed beans? or is there some other solution.
    -thanks

    Hi,
    Say, on an 'employee create page' we use data controls which are generated from a java class, 'EmployeeService'.
    This java class has the POJO(entity) - Employee whose attributes like name, description are used to create input text boxes on the employee page.
    Now, assume we come to the Employee create page from some other page in the application; where exactly is the best place to make an instance of the employee entity.
    Do we place- Employee emp = new Employee(); in the constructor of the EmployeeService.java class or is there some other way?
    Any pointers would help.
    Thanks
    Edited by: user9935204 on Feb 4, 2010 8:44 PM

  • Toplink  model generates wrong Data Control type in JDev

    I have a model project using Toplink in JDev, and I create Data Control by right clicking on the Java class. The problem is the created <DataControl> in DataControls.dcx used to be
    SubType="DCTopLink",
    but now it became
    SubType="DCJavaBean"
    I don't know how to make it to become SubType="DCTopLink" rather than manually change the DataControls.dcx file.
    Anyone has any idea?

    No luck with new projects. I created a new workspace - selected JSP, Struts, ADF. Created one App Mod in the Model. Created One ViewObject based on a simple select query. Added the ViewObject to the AppMod. Opened the struts-config.xml under the ViewController project. Dragged a DataPage from the component palette. Double clicked the new page. Completed the wizard with default selections. Opened the new JSP in design view. My Data Control Palette shows the app mod with the view under it. I try to drag the View onto the page, and the circle-slash icon appears and does not allow it to be dropped on the page. I can't drag out the attributes, operations, or anything at all from the Data Control Palette. I don't see any text printed on the Java console run from jdev.exe.

  • Bug in generation of Data Controls

    Hi,
    I have a method that returns a Map&lt;Integer,Integer>. JDeveloper generated a Data Control for it (right-click + Create Data Control).
    Here's the relevant section of the resulting XML:
        &lt;Attribute Name="totalDeclared" IsUpdateable="0"
                   Type="java.util.Map&amp;lt;java.lang.Integer,java.lang.Integer>"/>When I ran the application, I was amazed to get this:
    Caused by: java.lang.StackOverflowError
        at java.lang.ClassLoader.findLoadedClass0(Native Method)
         at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:922)
         at oracle.classloader.PolicyClassLoader.findCachedClass(PolicyClassLoader.java:1201)
         at oracle.classloader.SearchPolicy$FindLoadedClass.getClass(SearchPolicy.java:33)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1289)
         at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:68)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1289)
         at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:68)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1289)
         at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:68)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1289)
         at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:68)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:164)However, if I remove the "&amp;lt;java.lang.Integer,java.lang.Integer>" part from the Data Control:
        &lt;Attribute Name="totalDeclared" IsUpdateable="0"
                   Type="java.util.Map"/>then the program gets back to normal and I get no errors.
    So, could anybody tell me if this is a (known) bug or what?
    And most importantly, is there a workaround for this thing? I find it EXTREMELY bad to have to edit the Data Control by hand every time it is generated. Besides, I'm certainly not the only person in the project and it makes no sense to have to teach everybody to make manual modifications to the Data Controls.
    Best regards,
    Bisser

    Can you paste the code for a simple class that will show this behavior?

  • Bug: Creating Web Service data Control

    Hi,
    I am facing a issue while creating a web service data control.
    While creating the data control I have given the path of the wsdl file saved in my filesystem. Once the data control is created, when I expand the created datacontrol in the data control palette, the output parameter is set of string while I expected it to generate ListOfQuote type. Here is the WSDL snippet. Is this a bug in JDeveloper? Please suggest a solution to this as without the proper output parameter, I am not abel to execute the web servce method call.
    WSDL:
    <?xml version="1.0" encoding="UTF-8"?><definitions
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsdLocal1="http://siebel.com/OrderManagement/Quote/Data"
    targetNamespace="http://siebel.com/OrderManagement/Quote/PSP"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://siebel.com/OrderManagement/Quote/PSP"
    <types
    <xsd:schemaelementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsdLocal1="http://siebel.com/OrderManagement/Quote/Data"
    targetNamespace="http://siebel.com/OrderManagement/Quote/Data"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    <xsd:annotation
    <xsd:documentation
    Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation
    </xsd:annotation
    <xsd:elementname="ListOfQuote"
    type="xsdLocal1:ListOfQuote"
    </xsd:element
    <xsd:complexTypename="ListOfQuoteTopElmt"
    <xsd:sequence
    <xsd:elementname="ListOfQuote"
    maxOccurs="1"
    minOccurs="1"
    type="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="ListOfQuote"
    <xsd:sequence
    <xsd:elementname="Quote"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:Quote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="Quote"
    <xsd:sequence
    <xsd:elementname="ShippingStreetAddress"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string200"
    </xsd:element
    <xsd:elementname="ShippingCountry"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="MRCTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NRCTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExchangeDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="AccountContractedProductsOnlyFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="Status"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Revision"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="QuoteType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="QuoteNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="PrimaryOrganizationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="PriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="OpportunityId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="IntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="DueDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Discount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CurrencyCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ContactId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Active"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Name"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShippingState"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string10"
    </xsd:element
    <xsd:elementname="StartDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShippingPostalCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="EndDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ShippingCity"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="AccountLoc"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Account"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string75"
    </xsd:element
    <xsd:elementname="ListOfQuoteItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:ListOfQuoteItem"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:complexTypename="ListOfQuoteItem"
    <xsd:sequence
    <xsd:elementname="QuoteItem"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItem"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="QuoteItem"
    <xsd:sequence
    <xsd:elementname="RootAssetIntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ProductStructureType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="IsPromEligible"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductTypeCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ClassId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UsageAssetProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToState"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToPostalCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToCountry"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ShipToCity"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RootBundleFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="PricingAdjustmentAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MinPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MaxPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="HeaderDiscountAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CoveredProductNetPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CoveredAssetProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Cost"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="AccountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeUpsellMessage"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="VolumeUpsellItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeDiscountItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeDiscountId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UnitofMeasure"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ServicePricePercent"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ServicePriceMethod"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="SalesServiceFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RootQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductXAClassId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromSourceId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromRuleId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromInstanceId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdPromId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProdItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PriceType"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PortItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NRCCxTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="MRCCxTotal"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="LineNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ItemPriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="IntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="QuoteId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ForcastableFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExtendedQuantityRequested"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ExcludePricingFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="ExchangeDate"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="EligibilityStatus"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="EligibilityReason"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string500"
    </xsd:element
    <xsd:elementname="Discount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Description"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string255"
    </xsd:element
    <xsd:elementname="CurrentPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CurrencyCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string20"
    </xsd:element
    <xsd:elementname="CoveredProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="CfgType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="CfgStateCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="AssetIntegrationId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ActionCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="CoveredQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="VolumeUpsellItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="VolumeDiscountItem"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string50"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="SequenceNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductLineId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ProdPromName"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PriceListId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PrePickCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="PostPickCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ParentQuoteItemId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="NeedRefreshBasePrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="InclusiveEligibilityFlag"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="HasGenerics"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="EffectiveTo"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="EffectiveFrom"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="ConfigurationModelId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="UnitPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="SmartPartNumber"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="RollupItemPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="RollupAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Quantity"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ProductId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="PricingComments"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="OrigListPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Name"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    <xsd:elementname="ListPrice"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="DiscountSource"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="DiscountPercent"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="DiscountAmount"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ListOfQuoteItemXA"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:ListOfQuoteItemXA"
    </xsd:element
    <xsd:elementname="QuoteItem"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItem"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    <xsd:attributename="operation"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:complexTypename="ListOfQuoteItemXA"
    <xsd:sequence
    <xsd:elementname="QuoteItemXA"
    maxOccurs="unbounded"
    minOccurs="0"
    type="xsdLocal1:QuoteItemXA"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    <xsd:complexTypename="QuoteItemXA"
    <xsd:sequence
    <xsd:elementname="UnitofMeasure"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Sequence"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Required"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="ReadOnly"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="Attribute"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string75"
    </xsd:element
    <xsd:elementname="LOVType"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Hidden"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string1"
    </xsd:element
    <xsd:elementname="DisplayName"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    <xsd:elementname="ActionCode"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="XAId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Updated"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ObjectId"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="Id"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Created"
    maxOccurs="1"
    minOccurs="0"
    type="xsd:string"
    </xsd:element
    <xsd:elementname="ConflictId"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Validation"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string250"
    </xsd:element
    <xsd:elementname="PropTypeCD"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string30"
    </xsd:element
    <xsd:elementname="Value"
    maxOccurs="1"
    minOccurs="0"
    type="xsdLocal1:string100"
    </xsd:element
    </xsd:sequence
    <xsd:attributename="searchspec"
    type="xsd:string"
    </xsd:attribute
    <xsd:attributename="operation"
    type="xsd:string"
    </xsd:attribute
    </xsd:complexType
    <xsd:simpleTypename="string500"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="500"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string250"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="250"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string50"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="50"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string255"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="255"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string10"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="10"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string75"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="75"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string30"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="30"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string100"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="100"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string1"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="1"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string200"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="200"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    <xsd:simpleTypename="string20"
    <xsd:restrictionbase="xsd:string"
    <xsd:maxLengthvalue="20"
    </xsd:maxLength
    </xsd:restriction
    </xsd:simpleType
    </xsd:schema
    <xsd:schemaelementFormDefault="qualified"
    attributeFormDefault="unqualified"
    targetNamespace="http://siebel.com/OrderManagement/Quote/PSP"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    <xsd:importnamespace="http://siebel.com/OrderManagement/Quote/Data"
    </xsd:import
    <xsd:elementname="CalculatePrice_Input"
    <xsd:complexType
    <xsd:sequence
    <xsd:elementref="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    </xsd:element
    <xsd:elementname="CalculatePrice_Output"
    <xsd:complexType
    <xsd:sequence
    <xsd:elementref="xsdLocal1:ListOfQuote"
    </xsd:element
    </xsd:sequence
    </xsd:complexType
    </xsd:element
    </xsd:schema
    </types
    <messagename="CalculatePrice_Input"
    <partname="CalculatePrice_Input"
    element="tns:CalculatePrice_Input"
    </part
    </message
    <messagename="CalculatePrice_Output"
    <partname="CalculatePrice_Output"
    element="tns:CalculatePrice_Output"
    </part
    </message
    <portTypename="CalculatePricePort"
    <operationname="CalculatePrice"
    <inputmessage="tns:CalculatePrice_Input"
    </input
    <outputmessage="tns:CalculatePrice_Output"
    </output
    </operation
    </portType
    <bindingname="CalculatePricePort"
    type="tns:CalculatePricePort"
    <soap:bindingtransport="http://schemas.xmlsoap.org/soap/http"
    style="document"
    </soap:binding
    <operationname="CalculatePrice"
    <soap:operationsoapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"
    </soap:operation
    <input
    <soap:bodyuse="literal"
    </soap:body
    </input
    <output
    <soap:bodyuse="literal"
    </soap:body
    </output
    </operation
    </binding
    <servicename="CalculatePriceWS"
    <portbinding="tns:CalculatePricePort"
    name="CalculatePricePort"
    <soap:addresslocation="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&amp;SWEExtCmd=Execute&amp;UserName=SADMIN&amp;Password=SADMIN"
    </soap:address
    </port
    </service
    </definitions

    Thanks Frank for your response. It will be of great help if you can tell me what change I should do in data control metadata to make this work. Also, if I change the Complex Type in WSDL to something like below..will it work?
    <!--
    <sequence>
    <element name="el" type="anyType" nillable="true"/>
    </sequence>
    -->
    <sequence>
    <element name="Error_spcCode">
    <complexType>
    <sequence>
    <any/>
    </sequence>
    </complexType>
    </element>
    </sequence>
    Thanks,
    Sudha.

  • Erratic date control / bug in LabVIEW?

    System: LabVIEW 6.0.2, Windows 2000 or NT4, Norwegian or Danish regional settings (have not tested others).
    I have an application (made and built in LabVIEW 6.0.2) where a numeric control with time format is used to select a date...This works fine on 90% of the PCs it is run on...however on some the numeric control has a will on its own...when you enter 10.05.2001 it changes its value to 05.10.2001...and reverse...if you enter 2002 it might change to 2020..11.03 might be changed to 01.03 etc. There is no code writing to a local of the control or anything like that ...the problem seems to be a bug with the control itself.
    I have tried to figure out what could cause this...and it seems that if you choose the date format to be s
    ystem date you can turn on the problem...This could make sense if the control did not accept too high month numbers in the day input and then to tried to guess the intended input switched the two around...but that is not the case...
    Now - is there some regional option or other that can be adjusted to get rid of this...or do I have too build the application again with the control set to use custom format?
    MTO

    Sorry, I guess I didn't understand the problem correctly. It seems that if you enter the date in a format that is different then what LV is expecting then it tries to fit it the best it can. For example on my computer if I enter the year in 4 digits (2002) and its expecting 2 digits LV will just cut off the last two leaving 20 (obviously not what I wanted). I'm not sure why it would change a valid date that you typed in though, maybe you did find a bug. I would try to narrow the problem down by seeing if the problem is linked to certain regional settings that are set on the problem pc and not on the ones it works on. Sorry I can't be of more help.
    Brian

  • How do I get the numbers ipad app to plot a graph of dates against values, where the most recent date is on the right of the graph, but the most recent date is at the top rather than bottom of the rows in the table?

    How do I get the numbers ipad app to plot a graph of dates against values, where the most recent date is on the right of the graph, but the most recent date is at the top rather than bottom of the rows in the table?
    Also how can it be a line graph without plotting a circle at each value?
    Thanks this is very frustrating

    Make a copy of the table and produce your Line chart or Bar chart from the copy. Sort the copy into the order you want to see in your chart.
    Alternately you could use a Scatter Chart...
    Jerry

  • Links to Web Service Data Control for complex data types

    Hello Forum members,
    Could anyone please post good reference links to docs/blogs illustrating how to create and use a Data Control for a Web Serice Proxy Client providing interfcae for a complex xml schema ?
    Any help highly appreciated :)

    http://blogs.oracle.com/shay/2010/05/updateinsert_with_adf_web_serv.html

  • Duplicate top level entries in Data Control Palette

    Hi
    I'm not sure when this happened, but I have just discovered that my local facade is now appearing twice in the Data Control Palette.
    Anyone know why this should be?
    I have made a stab in the dark and checked the DataControls.dcx and similar files in the model project, there only appear to be one reference there.
    Tom

    When you create DataControl from SessionBean parser
    goes through that Bean and adds in interface all the
    methods that have different signatures. Only if you
    use refactoring from the pallete when renaming the
    method signature from session bean method in the
    interface will be refactored too. That's all. I don't
    think it is a bug, but I agree that it could be
    solved in better way.
    Regards.Are you saying that if you don't use refactoring to alter a methods name or arguments then when the Create Data Controls is run it simply looks for new method signatures, ie the name and argument as one, and adds those?
    If this is the case, then surely it should remove ones that no longer exist, ie the old one, thus there would still only be one definition. At the end of the day, manually altering a methods name or argument list is surely no different to using refactoring.
    As has been pointed out if you chose to alter the name/arguments manually unless the interface and class method names/arguments match compilation would fail anyway.
    Tom

  • [BUG] TP3 duplicating imported application module data controls

    Hi,
    I'm using TP3.
    I have an application project A which imports business components from an other project B. Whenever I open JDev (or the project A) the first time, the imported application modules from the other project B get an new entry in A's model.jpx file. This will lead to duplicate data controls in the Data Control panel.
    There might be other possible ways to get duplicate entries, but this one I can reproduce. I'm not sure if there are any implications having duplicate entries (my be longer start up time in OC4J).
    Can anybody confirm my findings?
    Timo

    Hi Frank,
    right now I don't have a test case, but I'll try to set one up. This will take some time. Till then I can only describe in detail what I did.
    I have an older application Module migrated from version 10.1.2.2 via 10.1.3.3 to 11TP3. The application is used to login a user to our application framework. User name and password are checked against a DB table and if correct some user information is compiled into a bean.
    In all of our other applications this login module is used to authenticate a user.
    I added the logingmodule.jar ro the classpath and the used 'file->import->business components' to import the application module into a new ADF Fusion Application (this was the method to import application modules from other projects in versions 10.1.2.1 and also worked in 10.1.3.3).
    Afer importing the jar I can add the login module to the new application module in the 'Data Model-> Application Aodule Instances' shuffle component.
    As far as I found out this triggers an entry in the model.jpx file:  <AppContainee
        Name="ber"
        ObjectType="JboProject">
        <DesignTime>
          <Attr Name="_SourceName" Value="loginModel.jar"/>
        </DesignTime>
      </AppContainee> This entry gets dulicated every time I open the project in JDev 11TP3 the first time.
    I read in the new doc, chapter 31, that there is a new method to reuse application modules (or other objects). This I'm currently checking out. Nonetheless I try to set up a test case.
    Timo

  • BUG: After refreshing 'Data Controls', I can no longer refresh 'Projects'

    If I add a new VO to the data model of my application module, I need to refresh the 'Data Controls' panel to see the new model object. To do this, I right-click on the data control in the Data Controls panel and click refresh. Once I have done this, there is no way to refresh the 'Projects' panel. When I select the Projects panel and click the 'Refresh' button, it refreshes the 'Data Controls' panel instead.
    The only way to re-enable refreshing of the Projects panel is to restart JDeveloper.
    So, steps to replicate:
    - Start JDeveloper
    - Add a new file to your project outside the IDE, click 'Refresh' in the Projects panel and notice that the new file is recognised correctly
    - Right-click on a data control in the Data Controls panel and click refresh
    - Add another new file to your project outside the IDE, click 'Refresh' in the Projects panel and notice that the new file is not found
    Affects 11.1.1.1.0.

    Found a workaround that allows you to refresh the panel without closing the app or restarting JDeveloper.
    Just right-click the project combo-box and choose:
    Close Application -> Close application projects and editors

  • URGENT ! Is it possible to create a  xml data control description file

    We are encountering serious problem when generating data control against java bean build from java classes generated with xml top link mapping.
    As workaround we have created a new xml schema that generate the java classes in a way data control may be generated correctly but we have to declare manually each class for java.util.list attribute that are not types by top link.
    Unfortunately some classes seem not to described by a data control xml files for a reason we cannot understand because others similar classes are correctly described.
    To gain time - we have to finish our development -we would force de data control structure by manually adding class data control definition file that are missing.
    Just adding the file in the pasckage is not sufficient.
    What do we have to update to make this file active ?

    Solved my problem by referencing the parent class correctly so the child class xml definition was created by the data control wizard and editable in the structure window.

  • EJB 3.0 / Data control binding / ADF Faces

    We have a great and very useful tool to generate rich client web application. Generate web component from a data structure is easy but manage the full life cycle is a little bit more complex. This complexity is dramatically increased when tool/platform are offering many models to solve the problem.
    In JDev we have three major choices:
    1) adf business components
    2) top link pojo
    3) ejb3.0
    From the client side and in my point of view (at my current understanding) the first and second choice are the easiest way to manage the persistence because they are what i say "bidirectional", that mean i will use the same data structure to persist and synchronize the database. I may only calll a method from the object to put my changes from the midle-tier into the database.
    EJB 3.0 seem to be more cormplex due essentially to the presence of the session bean that acts like conversational api. I like this architecture because it is the most flexible but from my client i have to manage these api's instead of one data structure. This mean for me to catch/detect every updates, new insert or deletes in my business object and to write the corresponding code to apply to correct entity bean methods from my session bean.
    Why not manage this logic in the data control framework by declaring which methods are to use as finder to get the data and which methods are to used to manage the persistence (persist, merge, remove) at object level.

    Exactly what i mean
    Actually Data Control architecture seem to be business object oriented with native method called from the same object to retrieve (the most part done)/synchronize the data with the database.
    This is fine than your architectue don't provide a service layer like session facade.
    With session facade you will access different business method to retrieve data and synchronize you data with the database not different method from the same object like application module do in adf bc.
    I see two solution, the best is that you extend the data control framework to offer standard crud operation and a tools to map these with one or many methods in the same (has to be the same?this is a question of architecture, i think it has to be the same but the framework may have to permit to use an another one for flexibility) session bean. This may be the same from adf bc or top link but the method may be selected automatically by the tool (wizard).
    The second solution is to build specialized sesssion bean with mandatory standardized methods and map this directly in the framework. The advantage i see is that the updates may be collected only once by the session bean by passing a specialized object manipulated by a specialized method.
    In fact the best solution is something that combines mapping in the data control and a specialized set of methods in the session bean to execute a transaction in a whole at the server level.
    What is to be decided if the framework (data control part) has to maintain a status for attribute (or set of attribute that correspond to a data control node) that are new inserted, updated or deleted and to synchronize only the changes.
    I'm very surprising that something like that it is not already in the framework ?
    How do I have to take care of changes made in a data control node object when i have used it to generate an adf faces by example in master / detail pages with an edit form like in otn examples. I see that the detail list in the detail table is updated so the data control is updated correctly by the edit form when i submit the changes but how to finally get this changes and synchronize with the database ?
    ps i reply previously by mistake by email sorry ... not that the email is not exactly the same as the post here
    Michel

  • Web Service Data Controls don't refresh properly.

    I am runing JDeveloper Studio Edition 10.1.3.2.0.4066
    I have developed several Web Service Data Controls and pages to use them to display output. The pages seem to have a problem refreshing output when the value of the input parameter is changed, but only once data has been successfully fetched once.
    I have tried several settings for the refresh attribute:
    IfNeeded: retrieves data only once. Even if other valid values are put in, displays same data. Values that would retrieve no data show a blank screen UNTIL a data set is retrieved, then goes to same data displayed instead of blank form.Scrolls through multiple records. This is true for every option which has IfNeeded in the name
    Always: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. Scrolling is broken because every time I hit the navigation buttons, the screen refreshes and puts the current row back at the first record.
    PrepareModel: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. It will scroll thru records, but every couple of records I get this error:
    JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[1 ]
    RenderModel: Same as IfNeeded.
    This is the wsdl I used to build the data control:
    http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0/Rqn?wsdl
    Here are the results from the wsdl:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="Rqn" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/Rqn" xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/Rqn">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" location="RqnService.wsdl" />
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="RqnProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="RqnProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    - <message name="RqnRequestMessage">
    <part name="payload" element="ns1:RqnServiceSelect_p_nsnInputParameters" />
    </message>
    - <message name="RqnResponseMessage">
    <part name="payload" element="ns1:RqnAllTabCollection" />
    </message>
    - <portType name="Rqn">
    - <operation name="process">
    <input message="tns:RqnRequestMessage" />
    <output message="tns:RqnResponseMessage" />
    </operation>
    </portType>
    - <binding name="RqnBinding" type="tns:Rqn">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="process">
    <soap:operation style="document" soapAction="process" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="Rqn">
    - <port name="RqnPort" binding="tns:RqnBinding">
    <soap:address location="http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="Rqn">
    - <plnk:role name="RqnProvider">
    <plnk:portType name="tns:Rqn" />
    </plnk:role>
    </plnk:partnerLinkType>
    This is the pageDef file for the output page:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.40.66" id="showRqnPageDef"
    Package="app1.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables" Refresh="always"/>
    <methodIterator id="processIter" Binds="process.result"
    DataControl="ceresRqn" RangeSize="10"
    BeanClass="ceresRqn.process" Refresh="ifNeeded"/>
    <accessorIterator id="RqnAllTabIterator" RangeSize="10" Binds="RqnAllTab"
    DataControl="ceresRqn"
    BeanClass="ceresRqn.process.RqnAllTab"
    MasterBinding="processIter" Refresh="ifNeeded"/>
    <invokeAction id="qryRqn" Binds="process" Refresh="renderModel"/>
    </executables>
    <bindings>
    <methodAction id="process" InstanceName="ceresRqn" DataControl="ceresRqn"
    MethodName="process" RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="ceresRqn.methodResults.ceresRqn_process_result">
    <NamedData NDName="p_nsn" NDValue="${processScope.holdNsn}"
    NDType="java.lang.String" NDOption="2"/>
    </methodAction>
    <attributeValues id="boStatus" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="boStatus"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dob" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dob"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="docDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="docDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dorraRecTyp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dorraRecTyp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="extractDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="extractDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="matlRcptAcknDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="matlRcptAcknDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="modeShp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="modeShp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="nsn" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="nsn"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="quantity" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="quantity"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="rdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="rdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDoc" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDoc"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDocItm" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDocItm"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLin" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLin"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLinDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLinDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdQty" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdQty"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="statusCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="statusCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="suffix" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="suffix"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzdmdCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzdmdCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzfundCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzfundCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zznonStdRdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zznonStdRdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzorigDocNbr" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzorigDocNbr"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzpriCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzpriCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzprojCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzprojCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsigCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsigCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsuppAdrs" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsuppAdrs"/>
    </AttrNames>
    </attributeValues>
    <action id="First" RequiresUpdateModel="true" Action="12"
    IterBinding="RqnAllTabIterator"/>
    <action id="Previous" RequiresUpdateModel="true" Action="11"
    IterBinding="RqnAllTabIterator"/>
    <action id="Next" RequiresUpdateModel="true" Action="10"
    IterBinding="RqnAllTabIterator"/>
    <action id="Last" RequiresUpdateModel="true" Action="13"
    IterBinding="RqnAllTabIterator"/>
    <action IterBinding="RqnAllTabIterator" id="Execute"
    InstanceName="ceresRqn.process.return.RqnAllTab"
    DataControl="ceresRqn" RequiresUpdateModel="true" Action="2"/>
    </bindings>
    </pageDefinition>
    Any help would be welcome.

    After adding a refresh condition, RefreshCondition="${adfFacesContext.postback == false}", to the invokeAction for the Execute operation, I was able to query new data when the parameter changed, and maintain correct scrolling behavior. Thanks to Oracle's Chintan Shah for helping me confirm this solution.
    However, I still have a problem. If I get a set of data and then pass a parameter which would cause the web service to return no data (a null result set), the screen displays the old set of data rather than a blank screen. Does anyone have a solution to this problem?

Maybe you are looking for

  • After upgrading to Windows 8.1 I can't access the iTunes Store

    After purchasing a new HP computer I was prompted to upgrade to Windows 8.1 and my troubles began.  I tried to sync my iPad with 2,566 songs loaded and iTunes 11.1.3 only recognized 590 songs.  Every time I try to access the iTunes Store it fails to

  • Problems with lightbox

        I added a lightbox to a page and it overlaps everything.  All my other pages adjust in size to the other widgets or pictures I have added, however when the lightbox is added the page stays the same and the lightbox covers up the footer.  It does

  • [ANNOUNCE] JSF RI 1.2_05 RC2 has been released!

    Please see this announcement -> https://javaserverfaces.dev.java.net/servlets/NewsItemView?newsItemID=5363

  • Log.properties

    below is the log.properties file but this is not able to generate new log file every hour. so please help me to point out what modification should be needed. # This file is to configure the logs that xellerate produces via log4j. # this file is used

  • Paste content will not delete, even after reset.

    When trying to paste content into an email, I always get the same message that I did prior. Still does this after a reset as well. Any ideas??