XML mapping inheritance problem; missing class indicator field
Hi! I am currently working on a project which involves mapping a large domain model on a XSD schema. For this we use Toplink 10.1.3.1 which is mostly great. But now I have a problem while wanting to use class inheritance. In my XSD I have the following defined <xs:complexType name="Traject"> <xs:sequence> <xs:element name="SoortTraject" type="SoortTraject"/> </xs:sequence> </xs:complexType> <xs:complexType name="SpecialTraject"> <xs:complexContent> <xs:extension base="Traject"> <xs:sequence> [some elements] </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>My XML is an implementation of this XSD and looks like this <Trajecten> <Traject xsi:type="SpecialTraject"> [implementation of the elements] </Traject> </Trajecten>My domain model corresponts to the XSD, so there is a Traject object and an inherited SpecialTraject object. In the mapping I used the Advanced properties->inheritance on both descriptors telling the Traject descriptor that it was the 'Root Parent Descriptor' ('Use class indicator field' -> 'use XML Schema Type attribute', 'Use class indicator dictionary') and the SpecialTraject what it Child Descriptor was ('Traject'). When I test my mapping it always results in the same error (no matter how I configure this inheritance mapping). It says : [TOPLINK-44] missing class indicator field Descriptor: XMLDescriptor(Traject --> )What am I doing wrong? Does anybody know a sollution? Best regards, Jouke Stoel Developer
This is the changed XML descriptor file. When I deploy the file it automaticly overrides the old file so it ain't possible that I was still using the wrong file
</toplink:class-indicator-mappings>I have posted the stacktrace but I had to translate a bit because my exception was in Dutch :)
Locale is a great invention
Exception [TOPLINK-44] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
Exception description: Missing class indicator field of database row [UnmarshalRecord()].
Descriptor: XMLDescriptor(Traject --> )
Hello, I am using inheritance on the following class hierarchy. I am using a class indicator field. AbstractBase -->Concrete_1 -->Concrete_2 I have an existing Concrete_1 and need to change it to Concrete_2, but without deleting Concrete_1 and creat
Hello, Using the VA02 to create a subsequent retun order results in a complete return order created. However, when I use BAPI BAPI_CUSTOMERRETURN_CREATE to create the return order, the incompletion log identifies a missing address indicator (VBPA-A
When I make a change to the xml file it is not picking up the change in my published swf file. When I open the project in CX and refresh the mapping updates. So it is connected but when I click on "refresh" on the sxf it is not updating. I have
Hi all, Iam getting an unusual error in the J2EE stack in XI. And the message is: 006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Er
Hi All, I have installed SOA Suite 11g and deployed AIA3.1 O2C Comms PIP. After deployment, on invoking any service i get the below error and the transaction fails. Can someone tell if there is any other configuration required. Any information would
Hi When I deploy my ear file on a newly installed OracleAS 10.1.3 I get the following error. I used to deploy the same ear file on previous version of OracleAS 10.1.2 and it worked fine. Please let me know how to fix this problem. Thanks in advance.
Can anyone throw any light on what appears to be a missing class from the javax.swing package? When CelsiusConverter.java from The Swing Tutorial (code fragment shown below) is compiled the JFrame class can't be found. import java.awt.*; import java.
This is a Bursting problem under EBS 5.6.3. In production we have 5.6.2 and since our development system to 5.6.3 has been upgraded, the following error occurs on every single Burst being done using the Concurrent Manager only: Caused by: oracle.xml.
Can I turn off missed calls indicator, but keep indicator for other messages? i.e. voicemails etc. Yes you can. Press the green dial key to enter the call log > Menu key > Options > Call Logging and set the logging to NONE and save. 1. If any po
Hi, do you have any ideas how we can improve the class-loading performance on a weblogic 12c running on jrockit? We spend about 20-30 ms per request in class-loading due to the way hibernate criteria API works (it tries to load quite a lot of missing
Hi all experts, we have requirement that user will enter Usage indicator field at header of sales order. We need to copy that to all line item and on bases of this we have to determin price. so in which user exit i shoul copy header value to line ite
Hi all, I need to read the web.xml file fron a standard class in a web project. I know how to do it from a servlet or a jsp page, but is it possible to do from a non-servlet class? Thank you, GabrieleIt's a XML file. So best approach would be to use
Hi, I'm trying to create a scenario that if exist an error in the message mapping step this error will be inserted in a Ztable. I'm thinking in to call to the message mapping from a java class to catch the exception and this java class will be used i
I'm using mapviewer. I create a stored procedure in oracle that uses the utl_http package to make the map request. The omserver response with an error but when i make a map request via internet explorer the server response its ok and show me the corr
Hi, Our environment is Oracle APPS R12. We need to send an electronic payment information to HSBC bank. So this will be generated 'like' a check from the payments process, but for payment types of WIRE, ACH, etc...and the output is an XML file in a
Hi I am having a problem having a column field in the Header.I followed the instructions in the help i.e creating a field and then referencing it with a boiler text(&<field name>).But When I run the report I get the error message "REP-1317:
Hi. While creating infoobject I switch master data access from Default to Own implementation, after this screen is redisplayed and only Name of Master Data Read Class field become enabled. I need Master Data Read Class Parameters field, but it is d
Q<XMLM-26> Is it possible to insert some logic in XML maps? A<XMLM-26> Since you have the flexibility to defined the map yourself then yes, you certainly can provide some logic. For more complex situations Workshop also provides you with the f