Duplicate schema definitions

I have two different Web service data sources that I'm trying to use within a project that both define the same element (with the same name and namespace!) but define it differently. Since changing the Web services to use a different namespaces isn't an option (I don't have any control over these Web services, this is a constraint I have to live with, unfortunately) I'm trying to figure out how to integrate data from both data sources without complaints about duplicate definitions for the same element.
To simplify things (I think) I created two simple .xsd files , SchemaA and SchemaB both which define the same complex element PersonName in the same namespace but with different sub-elements. SchemaA has PersonName defined with FirstName and LastName subelements. SchemaB defines it with a PersonFullName subelement.
I then create an Application in aqualogic and create three Data Services projects within it, ProjectA and ProjectB and ProjectAB and import SchemaA into ProjectA and SchemaB into ProjectB.
In ProjectA, I create a data service ServiceA with a function that returns an instance of the complex type from SchemaA
In ProjectB, I create a data service ServiceB with a function that returns an instance of the complex type from SchemaB.
In ProjectAB I create a data service ServiceAB and configure and select "Create XML Type" to configure it to return a new XML type (in a separate namespace than the one used for SchemaA and SchemaB) I add a function to return this new XML type. In the XQuery Editor View I drag the function from ServiceA and attempt to drag the function from ServiceB but get an error indicating that "PersonName has already been defined" No surprise really.
It makes sense that I can't have two different definitions for the same type within a single XQuery. So, I create a new data service newServiceA in ProjectA This data service uses ServiceA as input and returns a new XML type in a different namespace than the one used by SchemaA.
I now try to create myServiceAB again. I use newServiceA as an input and ServiceB as an input. In theory, since the output of newServiceA and ServiceB are in different namespaces there shouldn't be a conflict right? Well there is. I don't get an exception at design time but get one when I execute it in the Test View. The exception complains that my type has already been imported.
So now I think that maybe I need to isolate SchemaA and SchemaB into two separate applications(EAR). I create a ApplicationA and ApplicationB, and ApplicationAB.
In ApplicationA I create ServiceA and newServiceA as described above (so newServiceA returns XML that conforms to a schema with its own unique namespace)
I do the same thing in ApplicationB
In ApplicationAB I want to create a data service that combines the output from newServiceA and newServiceB. But it doesn't seem that a data service can reference a data service in another application/EAR.
How do I proceed? Has anyone run into anything like this?

I ran into a similar problem that led me to this topic after searching for an answer... I'm not sure it's exactly the same but I figured I'd post here anyways since it seems very similar.
My co-worker has defined a set of subsets to the gjxdm schema representing person, activity, document... etc. .
These are each being used to create a logical data service which I'm then mapping some data to. The problem I'm having is that ALDSP is complaining about duplicates when I build the project.
The way I have it set up is one LogicalView folder under the project with a schema subfolder and several folders under that representing each version of the jxdm subset corresponding to a data service (i.e. person, activity, etc...). LogicalView also has a .ds for each of these schema subsets. Note that there is NO relation between these logical data services which is why I'm confused there is a conflict...
Here are the errors I'm getting:
ERROR: LogicalView/jxdmPerson.ds
ERROR: jxdmPerson.ds:10:: ld:DataServices/LogicalView/jxdmPerson.ds, line 10, column 8: {err}XQ0035: "Type [QName {http://www.it.ojp.gov/jxdm/3.0.3/proxy/xsd/1.0}time] has been already defined!": name previously imported
ERROR: LogicalView/jxdmActivity.ds
ERROR: jxdmActivity.ds:10:: ld:DataServices/LogicalView/jxdmActivity.ds, line 10, column 8: {err}XQ0035: "Type [QName {http://www.it.ojp.gov/jxdm/3.0.3}DocumentControlMetadataType] has been already defined!": name previously imported
ERROR: LogicalView/jxdmLocation.ds
ERROR: jxdmLocation.ds:10:: ld:DataServices/LogicalView/jxdmLocation.ds, line 10, column 8: {err}XQ0035: "Type [QName {http://www.it.ojp.gov/jxdm/3.0.3}TextType] has been already defined!": name previously imported
I'm assuming this has something to do with the fact that some of the elements of the jxdm schema are defined in multiple subsets that I'm using independently for each logical data service but I'm looking for more details on how this works.
Thanks a lot,
Kevin
EDIT: Oh one other interesting detail is that I can run a test on the Person datasource in "test view" (which I have a few basic mappings completed on) and it works - returns the results I expect.
Message was edited by:
kreg77

Similar Messages

  • Duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliver

    Hi all ,
    I am getting this error every time i try to make a new instance of BPEL process using java API .
    The error is thrown on when I do a post using "deliveryService.post("UserTaskSample", "4.0", "initiate", nm);"
    An exception has occured : java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NamingException: Lookup error: javax.naming.NamingException: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar [Root exception is oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar ]; nested exception is: javax.naming.NamingException: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar [Root exception is oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar ] [Root exception is javax.naming.NamingException: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar [Root exception is oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar ]] at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:69) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279) at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299) at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:194) at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:178) at welcome.welcome.doPost(welcome.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Caused by: javax.naming.NamingException: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar [Root exception is oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar ] at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:100) at com.evermind.server.rmi.RMIClientConnection.waitForJndiResponse(RMIClientConnection.java:425) at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:233) at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:302) at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:56) ... 18 more Caused by: oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome Invalid class: com.oracle.bpel.client.ejb.interfaces.IDeliveryBeanHome Loader: orabpel.root:0.0.0 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/orabpel/ejb_ob_engine.jar Configuration: in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\orabpel Dependent class: oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache Loader: oc4j:10.1.3 Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar Configuration: in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2287) at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462) at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167) 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 java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache.getNamedInterfaces(ClientRmiTypeCache.java:98) at oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache.getInterfaceType(ClientRmiTypeCache.java:85) at oracle.oc4j.rmi.ClientRmiTypeCache.getCachedType(ClientRmiTypeCache.java:33) at com.evermind.server.rmi.RMIClientConnection.getBoundObject(RMIClientConnection.java:1018) at com.evermind.server.rmi.RMIClientInputStream.resolveObject(RMIClientInputStream.java:26) at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at com.evermind.server.rmi.RMIClientConnection.handleLookupResponse(RMIClientConnection.java:879) at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:337) at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:296) at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:278) at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152) at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127) at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:109) at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:91) ... 22 more Caused by: java.lang.LinkageError: duplicate class definition: com/oracle/bpel/client/ejb/interfaces/IDeliveryBeanHome at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2241) at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462) at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167) 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 java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache.getNamedInterfaces(ClientRmiTypeCache.java:98) at oracle.oc4j.rmi.ClientRmiTypeCache$InterfaceTypeCache.getInterfaceType(ClientRmiTypeCache.java:85) at oracle.oc4j.rmi.ClientRmiTypeCache.getCachedType(ClientRmiTypeCache.java:33) at com.evermind.server.rmi.RMIClientConnection.getBoundObject(RMIClientConnection.java:1018) at com.evermind.server.rmi.RMIClientInputStream.resolveObject(RMIClientInputStream.java:26) at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1346) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at com.evermind.server.rmi.RMIClientConnection.handleLookupResponse(RMIClientConnection.java:879) at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:337) at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:296) at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:278) at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152) at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127) at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107) ... 2 more ".

    Hi,
    Thanks for the reply since I am quite new to BPEl can you elaborate a bit on this .
    What I did was
    1. I created a Async BPEL process in JDeveloper and in the same project I put my servlet code and html part when I deploy it on the server and ascess it the welcome jsp is displayed when I click submit on wecome.jsp it forwards to servlet and there the error originates .
    2 If instead I deploy the BPEl process seperately and the try to access the BPEL process using my JDeveloper java code I don't get any error it works fine.
    3 I have included config and schema folders in source path . wf_client_config.xml,user-properties.xml and wf-config.xml is also present in the source folder.
    4 Along with this the jars needed have been also added.
    So when I deploy the BPEL process created in 1 above from Jdeveloper it creates a .ear in j2ee\home\applications and the deploys it .This .ear doesn't has any .class files .
    I take bpelclasses.jar from the .jar which is created when I compile the project and put it in the j2ee\home\applib folder and made an entry for it in the server.xml file.After this it is able to get .class files.
    If there is any alternate way to do the same thing kindly tell me .
    Thanks
    Pranay

  • ORA-30937: No schema definition for

    Here are the steps I followed to load the xml
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    SCHEMAURL => 'security.xsd',
    SCHEMADOC => BFILENAME('XML_DIR', 'security.xsd')
    LOCAL => TRUE
    CREATE TABLE TMP_XML_TABLES
    xml_document XMLType
    XMLType COLUMN xml_document
    XMLSchema "security.xsd"
    ELEMENT "security"
    INSERT INTO TMP_XML_TABLES
    VALUES
    xmltype
    BFILENAME('XML_CLOB_DIR', 'sec.xml'),
    nls_charset_id('AL32UTF8')
    I am getting below error.
    ORA-30937: No schema definition for 'fido_flag' (namespace '##local') in parent '/security/security_
    ORA-06512: at "SYS.XMLTYPE", line 295
    ORA-06512: at line 1
    Below is the XSD and XML file. Please let me know what is wrong with it.
    security.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Cary Liu (Cary Liu) -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="security">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="security_row" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="variable_rate_row" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
                   <xs:attribute name="security_count" type="xs:long" use="optional"/>
                   <xs:attribute name="variable_rate_count" type="xs:long" use="optional"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="security_row">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="security_id"/>
                        <xs:element ref="primary_asset_id"/>
                        <xs:element ref="delay_days"/>
                        <xs:element ref="arm_indicator"/>
                        <xs:element ref="camra_abs_und_coll"/>
                        <xs:element ref="camra_abs_und_coll_cpn"/>
                        <xs:element ref="initial_principal_pay_date"/>
                        <xs:element ref="final_principal_pay_date"/>
                        <xs:element ref="mtg_term"/>
                        <xs:element ref="original_face"/>
                        <xs:element ref="pool_number"/>
                        <xs:element ref="principal_pay_frequency"/>
                        <xs:element ref="pay_down_date"/>
                        <xs:element ref="principal_pay_bus_day_rule"/>
                        <xs:element ref="seasoned_mbs"/>
                        <xs:element ref="tba_stlmt_month"/>
                        <xs:element ref="accrual_flag"/>
                        <xs:element ref="accrual_rule"/>
                        <xs:element ref="base_payment_date"/>
                        <xs:element ref="day_count"/>
                        <xs:element ref="ex_interest_bond_code"/>
                        <xs:element ref="ex_days"/>
                        <xs:element ref="ex_div_date"/>
                        <xs:element ref="last_coupon_date"/>
                        <xs:element ref="for_bond_security_type"/>
                        <xs:element ref="dated_date"/>
                        <xs:element ref="issue_date"/>
                        <xs:element ref="first_coupon_date"/>
                        <xs:element ref="second_coupon_date"/>
                        <xs:element ref="mat_date"/>
                        <xs:element ref="interest_accrual_method"/>
                        <xs:element ref="odd_first_coupon_date"/>
                        <xs:element ref="odd_last_coupon_date"/>
                        <xs:element ref="payment_eom_rule"/>
                        <xs:element ref="pay_frequency"/>
                        <xs:element ref="pay_business_day_rule"/>
                        <xs:element ref="yield_day_count"/>
                        <xs:element ref="zero_coupon_type"/>
                        <xs:element ref="analyst"/>
                        <xs:element ref="analyst_recomm"/>
                        <xs:element ref="approval_flag"/>
                        <xs:element ref="camra_sec_type"/>
                        <xs:element ref="class"/>
                        <xs:element ref="comments"/>
                        <xs:element ref="holding_style"/>
                        <xs:element ref="issued_capital"/>
                        <xs:element ref="issued_capital_currency"/>
                        <xs:element ref="min_denomination"/>
                        <xs:element ref="price_multiplier"/>
                        <xs:element ref="pricing_identifier"/>
                        <xs:element ref="quantity_issued"/>
                        <xs:element ref="shares_outstanding"/>
                        <xs:element ref="quantity_type"/>
                        <xs:element ref="redemption_value"/>
                        <xs:element ref="scb_industry"/>
                        <xs:element ref="issue_desc1"/>
                        <xs:element ref="issue_desc2"/>
                        <xs:element ref="issue_desc3"/>
                        <xs:element ref="issue_short_name"/>
                        <xs:element ref="trading_lot_size"/>
                        <xs:element ref="unit_factor"/>
                        <xs:element ref="camra_exercise_date"/>
                        <xs:element ref="camra_expiration_date"/>
                        <xs:element ref="alliance_sector"/>
                        <xs:element ref="alliance_industry"/>
                        <xs:element ref="apace_security_type"/>
                        <xs:element ref="camra_gl_type"/>
                        <xs:element ref="emerg_mkt_ind"/>
                        <xs:element ref="form_13f_flag"/>
                        <xs:element ref="instrument_class"/>
                        <xs:element ref="issue_type"/>
                        <xs:element ref="mortgage_sector"/>
                        <xs:element ref="naic_code"/>
                        <xs:element ref="performance_segment"/>
                        <xs:element ref="program_type"/>
                        <xs:element ref="camra_sic_code2"/>
                        <xs:element ref="camra_sched_d_group"/>
                        <xs:element ref="camra_sched_d_state"/>
                        <xs:element ref="security_form"/>
                        <xs:element ref="security_type_distrib"/>
                        <xs:element ref="camra_sic_code"/>
                        <xs:element ref="structured_note_flag"/>
                        <xs:element ref="underlying_category"/>
                        <xs:element ref="primary_asset_id_type"/>
                        <xs:element ref="superticker"/>
                        <xs:element ref="default_status"/>
                        <xs:element ref="default_date"/>
                        <xs:element ref="accrue_in_default_ind"/>
                        <xs:element ref="ctd_bond"/>
                        <xs:element ref="contract_size"/>
                        <xs:element ref="derivative_type"/>
                        <xs:element ref="delivery_method"/>
                        <xs:element ref="conversion_factor"/>
                        <xs:element ref="flex_option_ind"/>
                        <xs:element ref="leap_option_ind"/>
                        <xs:element ref="orig_strike_price"/>
                        <xs:element ref="otc_flag"/>
                        <xs:element ref="part_paid_percent"/>
                        <xs:element ref="strike_price"/>
                        <xs:element ref="put_call_flag"/>
                        <xs:element ref="strike_price_type"/>
                        <xs:element ref="pay_currency"/>
                        <xs:element ref="rec_currency"/>
                        <xs:element ref="premium_amount"/>
                        <xs:element ref="warrant_style"/>
                        <xs:element ref="pay_status"/>
                        <xs:element ref="tick_amount"/>
                        <xs:element ref="right_warrant_option_type"/>
                        <xs:element ref="underlying_cusip"/>
                        <xs:element ref="var_margin_rule"/>
                        <xs:element ref="nominal_annual_income"/>
                        <xs:element ref="dividend_frequency"/>
                        <xs:element ref="dividend_reinvestment_ind"/>
                        <xs:element ref="dr_sponsoring"/>
                        <xs:element ref="dr_sponsor"/>
                        <xs:element ref="claim_type"/>
                        <xs:element ref="dated_date_cpi"/>
                        <xs:element ref="when_issued_ind"/>
                        <xs:element ref="series"/>
                        <xs:element ref="tranche"/>
                        <xs:element ref="guarantee_type"/>
                        <xs:element ref="deep_discount_ind"/>
                        <xs:element ref="perpetual_flag"/>
                        <xs:element ref="maturity_override"/>
                        <xs:element ref="camra_index_desc"/>
                        <xs:element ref="camra_index_spread"/>
                        <xs:element ref="coupon"/>
                        <xs:element ref="rate_benchmark"/>
                        <xs:element ref="rate_multiplier"/>
                        <xs:element ref="spread_to_benchmark"/>
                        <xs:element ref="rate_reset_frequency"/>
                        <xs:element ref="rate_base_reset_date"/>
                        <xs:element ref="reset_lag_days"/>
                        <xs:element ref="reset_lockout_days"/>
                        <xs:element ref="next_reset_date"/>
                        <xs:element ref="rate_calculate_switch"/>
                        <xs:element ref="rate_reset_bus_day_rule"/>
                        <xs:element ref="rate_reset_eom_rule"/>
                        <xs:element ref="rate_type"/>
                        <xs:element ref="mutual_fund_sponsor"/>
                        <xs:element ref="regulated_flag"/>
                        <xs:element ref="tia_1961_flag"/>
                        <xs:element ref="accumulation_income_flag"/>
                        <xs:element ref="fsa_indicator"/>
                        <xs:element ref="income_dist_policy"/>
                        <xs:element ref="mutual_fund_charge_type"/>
                        <xs:element ref="holdings_flag"/>
                        <xs:element ref="issuer_type"/>
                        <xs:element ref="issuer_id"/>
                        <xs:element ref="parent_issuer_id"/>
                        <xs:element ref="country"/>
                        <xs:element ref="currency"/>
                        <xs:element ref="country_of_origin"/>
                        <xs:element ref="risk_country"/>
                        <xs:element ref="currency_of_earnings"/>
                        <xs:element ref="currency_of_income"/>
                        <xs:element ref="currency_of_trade"/>
                        <xs:element ref="principal_currency"/>
                        <xs:element ref="exchange"/>
                        <xs:element ref="state_code"/>
                        <xs:element ref="muni_insurance"/>
                        <xs:element ref="conduit"/>
                        <xs:element ref="muni_note_type"/>
                        <xs:element ref="muni_issuer"/>
                        <xs:element ref="obligation_type"/>
                        <xs:element ref="oes_next_call_date"/>
                        <xs:element ref="offering_yield"/>
                        <xs:element ref="remarketing_agent"/>
                        <xs:element ref="tax_exempt_region"/>
                        <xs:element ref="fed_wire"/>
                        <xs:element ref="oid_flag"/>
                        <xs:element ref="oid_number"/>
                        <xs:element ref="oi_price"/>
                        <xs:element ref="camra_moody_sector"/>
                        <xs:element ref="restricted"/>
                        <xs:element ref="camra_class_144"/>
                        <xs:element ref="foreign_restriction_ind"/>
                        <xs:element ref="foreign_restriction_req"/>
                        <xs:element ref="sec_144a"/>
                        <xs:element ref="reg_s"/>
                        <xs:element ref="prvt_place_ind"/>
                        <xs:element ref="liquid_flag"/>
                        <xs:element ref="call_protection_period"/>
                        <xs:element ref="call_protection_type"/>
                        <xs:element ref="camra_make_whole_ind"/>
                        <xs:element ref="camra_conversion_price"/>
                        <xs:element ref="convertible_flag"/>
                        <xs:element ref="nra_tax_code"/>
                        <xs:element ref="tax_relief_at_source_ind"/>
                        <xs:element ref="tax_withholding_code"/>
                        <xs:element ref="tax_status"/>
                        <xs:element ref="voting_rights"/>
                        <xs:element ref="votes_per_share"/>
                        <xs:element ref="cum_voting_flag"/>
                        <xs:element ref="coupon_cap"/>
                        <xs:element ref="coupon_floor"/>
                        <xs:element ref="cross_currency_country"/>
                        <xs:element ref="cross_currency_fwd_rate"/>
                        <xs:element ref="cross_rate"/>
                        <xs:element ref="fwd_base_rate"/>
                        <xs:element ref="fwd_rate"/>
                        <xs:element ref="fwd_reset_date"/>
                        <xs:element ref="spot_base_rate"/>
                        <xs:element ref="spot_cross_rate"/>
                        <xs:element ref="fwd_point_difference"/>
                        <xs:element ref="fwd_broker_code"/>
                        <xs:element ref="fwd_side"/>
                        <xs:element ref="redemption_currency"/>
                        <xs:element ref="redenomination_date"/>
                        <xs:element ref="redenomination_flag"/>
                        <xs:element ref="amt_flag"/>
                        <xs:element ref="orig_entrydate"/>
                        <xs:element ref="orig_enteredby"/>
                        <xs:element ref="last_entrydate"/>
                        <xs:element ref="last_enteredby"/>
                        <xs:element ref="credit_family_id"/>
                        <xs:element ref="cusip"/>
                        <xs:element ref="isin"/>
                        <xs:element ref="sedol"/>
                        <xs:element ref="ticker"/>
                        <xs:element ref="apace_accrual_type"/>
                        <xs:element ref="capital_income_flag"/>
                        <xs:element ref="wal_date"/>
                        <xs:element ref="cfb_level_pay"/>
                        <xs:element ref="pending_corp_action"/>
                        <xs:element ref="pending_proxy_vote"/>
                        <xs:element ref="pms_live_indicator"/>
                        <xs:element ref="pms_price_type"/>
                        <xs:element ref="spark_flag"/>
                        <xs:element ref="whittingdale_debt_cat"/>
                        <xs:element ref="whittingdale_rating"/>
                        <xs:element ref="whittingdale_code"/>
                        <xs:element ref="expiration_date"/>
                        <xs:element ref="maturity_price"/>
                        <xs:element ref="commencement_date"/>
                        <xs:element ref="declared_payment_date"/>
                        <xs:element ref="drawer"/>
                        <xs:element ref="fv_volatility"/>
                        <xs:element ref="mv_volatility"/>
                        <xs:element ref="settle_period"/>
                        <xs:element ref="trading_margin"/>
                        <xs:element ref="compound_frequency"/>
                        <xs:element ref="coupon_rounding"/>
                        <xs:element ref="duration_to_reset"/>
                        <xs:element ref="float_rate_index_location"/>
                        <xs:element ref="periodic_basis_point_cap"/>
                        <xs:element ref="weighted_average_coupon"/>
                        <xs:element ref="whittingdale_issuer"/>
                        <xs:element ref="settlement_location"/>
                        <xs:element ref="attachment_lower"/>
                        <xs:element ref="attachment_upper"/>
                        <xs:element ref="exposure_type"/>
                        <xs:element ref="nth2default"/>
                        <xs:element ref="restruct_doc_clause"/>
                        <xs:element ref="swap_counterparty"/>
                        <xs:element ref="swaption_issue_date"/>
                        <xs:element ref="swaption_mat_date"/>
                        <xs:element ref="apace_call_price"/>
                        <xs:element ref="apace_call_date"/>
                        <xs:element ref="apace_callable_flag"/>
                        <xs:element ref="apace_put_price"/>
                        <xs:element ref="apace_put_date"/>
                        <xs:element ref="apace_putable_flag"/>
                        <xs:element ref="apace_day_count"/>
                        <xs:element ref="apace_io_ind"/>
                        <xs:element ref="apace_pass_thru_flag"/>
                        <xs:element ref="apace_price_method"/>
                        <xs:element ref="apace_price_source"/>
                        <xs:element ref="apace_depository_type"/>
                        <xs:element ref="apace_conv_ratio"/>
                        <xs:element ref="apace_floating_rate"/>
                        <xs:element ref="apace_frn_reset_code"/>
                        <xs:element ref="apace_frn_reset_date"/>
                        <xs:element ref="apace_step_conversion_date"/>
                        <xs:element ref="apace_step_conversion_rate"/>
                        <xs:element ref="apace_accrual_date_code"/>
                        <xs:element ref="apace_payment_date_code"/>
                        <xs:element ref="apace_payment_cycle_code"/>
                        <xs:element ref="apace_par_call_date"/>
                        <xs:element ref="apace_prerefund_price"/>
                        <xs:element ref="apace_prerefund_date"/>
                        <xs:element ref="apace_sink_fund_flag"/>
                        <xs:element ref="make_whole_call_flag"/>
                        <xs:element ref="fido_security_type_jvst"/>
                        <xs:element ref="fido_security_type_jstp"/>
                        <xs:element ref="fido_issuer_id"/>
                        <xs:element ref="fido_guarantor_id"/>
                        <xs:element ref="fido_name"/>
                        <xs:element ref="draft_id"/>
                        <xs:element ref="bbsw_at_last_reset"/>
                        <xs:element ref="delta"/>
                        <xs:element ref="price"/>
                        <xs:element ref="benchmark_index_sec"/>
                        <xs:element ref="index_multiplier"/>
                        <xs:element ref="index_spread"/>
                        <xs:element ref="index_link_location"/>
                        <xs:element ref="index_lag"/>
                        <xs:element ref="benchmark_rounding"/>
                        <xs:element ref="index_link_bus_day_rule"/>
                        <xs:element ref="calculation_type"/>
                        <xs:element ref="start_day_of_month"/>
                        <xs:element ref="pms_issue"/>
                        <xs:element ref="pms_name"/>
                        <xs:element ref="camra_cusip"/>
                        <xs:element ref="infoexpress_id"/>
                        <xs:element ref="issuer_desc"/>
                        <xs:element ref="parent_issuer_desc"/>
                        <xs:element ref="lead_mgr"/>
                        <xs:element ref="co_mgr"/>
                        <xs:element ref="superticker_desc"/>
                        <xs:element ref="fmc_id"/>
                        <xs:element ref="spintl_id"/>
                        <xs:element ref="tranche_type"/>
                        <xs:element ref="collateral_type"/>
                        <xs:element ref="ab_fund_desc"/>
                        <xs:element ref="adp_number"/>
                        <xs:element ref="underlying_account_id"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="variable_rate_row">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="security_id"/>
                        <xs:element ref="primary_asset_id"/>
                        <xs:element ref="sedol"/>
                        <xs:element ref="rate_type"/>
                        <xs:element ref="coupon"/>
                        <xs:element ref="effective_date"/>
                        <xs:element ref="delete_flag"/>
                        <xs:element ref="update_flag"/>
                        <xs:element ref="last_enteredby"/>
                        <xs:element ref="last_entrydate"/>
                        <xs:element ref="pms_live_indicator"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="security_id" type="xs:string"/>
         <xs:element name="primary_asset_id" type="xs:string"/>
         <xs:element name="delay_days" type="xs:double" nillable="true"/>
         <xs:element name="arm_indicator" type="xs:string" nillable="true"/>
         <xs:element name="camra_abs_und_coll" type="xs:string" nillable="true"/>
         <xs:element name="camra_abs_und_coll_cpn" type="xs:double" nillable="true"/>
         <xs:element name="initial_principal_pay_date" type="xs:date" nillable="true"/>
         <xs:element name="final_principal_pay_date" type="xs:date" nillable="true"/>
         <xs:element name="mtg_term" type="xs:int" nillable="true"/>
         <xs:element name="original_face" type="xs:double" nillable="true"/>
         <xs:element name="pool_number" type="xs:string" nillable="true"/>
         <xs:element name="principal_pay_frequency" type="xs:string" nillable="true"/>
         <xs:element name="pay_down_date" type="xs:string" nillable="true"/>
         <xs:element name="principal_pay_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="seasoned_mbs" type="xs:string" nillable="true"/>
         <xs:element name="tba_stlmt_month" type="xs:string" nillable="true"/>
         <xs:element name="accrual_flag" type="xs:string" nillable="true"/>
         <xs:element name="accrual_rule" type="xs:string" nillable="true"/>
         <xs:element name="base_payment_date" type="xs:string" nillable="true"/>
         <xs:element name="day_count" type="xs:string" nillable="true"/>
         <xs:element name="ex_interest_bond_code" type="xs:string" nillable="true"/>
         <xs:element name="ex_days" type="xs:int" nillable="true"/>
         <xs:element name="ex_div_date" type="xs:date" nillable="true"/>
         <xs:element name="last_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="for_bond_security_type" type="xs:string" nillable="true"/>
         <xs:element name="dated_date" type="xs:date" nillable="true"/>
         <xs:element name="issue_date" type="xs:date" nillable="true"/>
         <xs:element name="first_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="second_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="mat_date" type="xs:date" nillable="true"/>
         <xs:element name="interest_accrual_method" type="xs:string" nillable="true"/>
         <xs:element name="odd_first_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="odd_last_coupon_date" type="xs:date" nillable="true"/>
         <xs:element name="payment_eom_rule" type="xs:string" nillable="true"/>
         <xs:element name="pay_frequency" type="xs:string" nillable="true"/>
         <xs:element name="pay_business_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="yield_day_count" type="xs:string" nillable="true"/>
         <xs:element name="zero_coupon_type" type="xs:string" nillable="true"/>
         <xs:element name="analyst" type="xs:string" nillable="true"/>
         <xs:element name="analyst_recomm" type="xs:string" nillable="true"/>
         <xs:element name="approval_flag" type="xs:string" nillable="true"/>
         <xs:element name="camra_sec_type" type="xs:string" nillable="true"/>
         <xs:element name="class" type="xs:string" nillable="true"/>
         <xs:element name="comments" type="xs:string" nillable="true"/>
         <xs:element name="holding_style" type="xs:string" nillable="true"/>
         <xs:element name="issued_capital" type="xs:double" nillable="true"/>
         <xs:element name="issued_capital_currency" type="xs:string" nillable="true"/>
         <xs:element name="min_denomination" type="xs:double" nillable="true"/>
         <xs:element name="price_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="pricing_identifier" type="xs:string" nillable="true"/>
         <xs:element name="quantity_issued" type="xs:double" nillable="true"/>
         <xs:element name="shares_outstanding" type="xs:decimal" nillable="true"/>
         <xs:element name="quantity_type" type="xs:string" nillable="true"/>
         <xs:element name="redemption_value" type="xs:double" nillable="true"/>
         <xs:element name="scb_industry" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc1" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc2" type="xs:string" nillable="true"/>
         <xs:element name="issue_desc3" type="xs:string" nillable="true"/>
         <xs:element name="issue_short_name" type="xs:string" nillable="true"/>
         <xs:element name="trading_lot_size" type="xs:double" nillable="true"/>
         <xs:element name="unit_factor" type="xs:double" nillable="true"/>
         <xs:element name="camra_exercise_date" type="xs:date" nillable="true"/>
         <xs:element name="camra_expiration_date" type="xs:date" nillable="true"/>
         <xs:element name="alliance_sector" type="xs:string" nillable="true"/>
         <xs:element name="alliance_industry" type="xs:string" nillable="true"/>
         <xs:element name="apace_security_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_gl_type" type="xs:string" nillable="true"/>
         <xs:element name="emerg_mkt_ind" type="xs:string" nillable="true"/>
         <xs:element name="form_13f_flag" type="xs:string" nillable="true"/>
         <xs:element name="instrument_class" type="xs:string"/>
         <xs:element name="issue_type" type="xs:string"/>
         <xs:element name="mortgage_sector" type="xs:string" nillable="true"/>
         <xs:element name="naic_code" type="xs:string" nillable="true"/>
         <xs:element name="performance_segment" type="xs:string" nillable="true"/>
         <xs:element name="program_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_sic_code2" type="xs:string" nillable="true"/>
         <xs:element name="camra_sched_d_group" type="xs:string" nillable="true"/>
         <xs:element name="camra_sched_d_state" type="xs:string" nillable="true"/>
         <xs:element name="security_form" type="xs:string" nillable="true"/>
         <xs:element name="security_type_distrib" type="xs:string" nillable="true"/>
         <xs:element name="camra_sic_code" type="xs:string" nillable="true"/>
         <xs:element name="structured_note_flag" type="xs:string" nillable="true"/>
         <xs:element name="underlying_category" type="xs:string" nillable="true"/>
         <xs:element name="primary_asset_id_type" type="xs:string"/>
         <xs:element name="superticker" type="xs:string" nillable="true"/>
         <xs:element name="default_status" type="xs:string" nillable="true"/>
         <xs:element name="default_date" type="xs:date" nillable="true"/>
         <xs:element name="accrue_in_default_ind" type="xs:string" nillable="true"/>
         <xs:element name="ctd_bond" type="xs:string" nillable="true"/>
         <xs:element name="contract_size" type="xs:double" nillable="true"/>
         <xs:element name="derivative_type" type="xs:string" nillable="true"/>
         <xs:element name="delivery_method" type="xs:string" nillable="true"/>
         <xs:element name="conversion_factor" type="xs:double" nillable="true"/>
         <xs:element name="flex_option_ind" type="xs:string" nillable="true"/>
         <xs:element name="leap_option_ind" type="xs:string" nillable="true"/>
         <xs:element name="orig_strike_price" type="xs:double" nillable="true"/>
         <xs:element name="otc_flag" type="xs:string" nillable="true"/>
         <xs:element name="part_paid_percent" type="xs:double" nillable="true"/>
         <xs:element name="strike_price" type="xs:double" nillable="true"/>
         <xs:element name="put_call_flag" type="xs:string" nillable="true"/>
         <xs:element name="strike_price_type" type="xs:string" nillable="true"/>
         <xs:element name="pay_currency" type="xs:string" nillable="true"/>
         <xs:element name="rec_currency" type="xs:string" nillable="true"/>
         <xs:element name="premium_amount" type="xs:double" nillable="true"/>
         <xs:element name="warrant_style" type="xs:string" nillable="true"/>
         <xs:element name="pay_status" type="xs:string" nillable="true"/>
         <xs:element name="tick_amount" type="xs:double" nillable="true"/>
         <xs:element name="right_warrant_option_type" type="xs:string" nillable="true"/>
         <xs:element name="underlying_cusip" type="xs:string" nillable="true"/>
         <xs:element name="var_margin_rule" type="xs:int" nillable="true"/>
         <xs:element name="nominal_annual_income" type="xs:double" nillable="true"/>
         <xs:element name="dividend_frequency" type="xs:string" nillable="true"/>
         <xs:element name="dividend_reinvestment_ind" type="xs:string" nillable="true"/>
         <xs:element name="dr_sponsoring" type="xs:string" nillable="true"/>
         <xs:element name="dr_sponsor" type="xs:string" nillable="true"/>
         <xs:element name="claim_type" type="xs:string" nillable="true"/>
         <xs:element name="dated_date_cpi" type="xs:double" nillable="true"/>
         <xs:element name="when_issued_ind" type="xs:string" nillable="true"/>
         <xs:element name="series" type="xs:string" nillable="true"/>
         <xs:element name="tranche" type="xs:string" nillable="true"/>
         <xs:element name="guarantee_type" type="xs:string" nillable="true"/>
         <xs:element name="deep_discount_ind" type="xs:string" nillable="true"/>
         <xs:element name="perpetual_flag" type="xs:string" nillable="true"/>
         <xs:element name="maturity_override" type="xs:string" nillable="true"/>
         <xs:element name="camra_index_desc" type="xs:string" nillable="true"/>
         <xs:element name="camra_index_spread" type="xs:double" nillable="true"/>
         <xs:element name="coupon" type="xs:double" nillable="true"/>
         <xs:element name="rate_benchmark" type="xs:string" nillable="true"/>
         <xs:element name="rate_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="spread_to_benchmark" type="xs:double" nillable="true"/>
         <xs:element name="rate_reset_frequency" type="xs:string" nillable="true"/>
         <xs:element name="rate_base_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="reset_lag_days" type="xs:double" nillable="true"/>
         <xs:element name="reset_lockout_days" type="xs:double" nillable="true"/>
         <xs:element name="next_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="rate_calculate_switch" type="xs:string" nillable="true"/>
         <xs:element name="rate_reset_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="rate_reset_eom_rule" type="xs:string" nillable="true"/>
         <xs:element name="rate_type" type="xs:string" nillable="true"/>
         <xs:element name="mutual_fund_sponsor" type="xs:string" nillable="true"/>
         <xs:element name="regulated_flag" type="xs:string" nillable="true"/>
         <xs:element name="tia_1961_flag" type="xs:string" nillable="true"/>
         <xs:element name="accumulation_income_flag" type="xs:string" nillable="true"/>
         <xs:element name="fsa_indicator" type="xs:string" nillable="true"/>
         <xs:element name="income_dist_policy" type="xs:string" nillable="true"/>
         <xs:element name="mutual_fund_charge_type" type="xs:string" nillable="true"/>
         <xs:element name="holdings_flag" type="xs:string" nillable="true"/>
         <xs:element name="issuer_type" type="xs:string" nillable="true"/>
         <xs:element name="issuer_id" type="xs:string" nillable="true"/>
         <xs:element name="parent_issuer_id" type="xs:string" nillable="true"/>
         <xs:element name="country" type="xs:string" nillable="true"/>
         <xs:element name="currency" type="xs:string" nillable="true"/>
         <xs:element name="country_of_origin" type="xs:string" nillable="true"/>
         <xs:element name="risk_country" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_earnings" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_income" type="xs:string" nillable="true"/>
         <xs:element name="currency_of_trade" type="xs:string" nillable="true"/>
         <xs:element name="principal_currency" type="xs:string" nillable="true"/>
         <xs:element name="exchange" type="xs:string" nillable="true"/>
         <xs:element name="state_code" type="xs:string" nillable="true"/>
         <xs:element name="muni_insurance" type="xs:string" nillable="true"/>
         <xs:element name="conduit" type="xs:string" nillable="true"/>
         <xs:element name="muni_note_type" type="xs:string" nillable="true"/>
         <xs:element name="muni_issuer" type="xs:string" nillable="true"/>
         <xs:element name="obligation_type" type="xs:string" nillable="true"/>
         <xs:element name="oes_next_call_date" type="xs:date" nillable="true"/>
         <xs:element name="offering_yield" type="xs:double" nillable="true"/>
         <xs:element name="remarketing_agent" type="xs:string" nillable="true"/>
         <xs:element name="tax_exempt_region" type="xs:string" nillable="true"/>
         <xs:element name="fed_wire" type="xs:string" nillable="true"/>
         <xs:element name="oid_flag" type="xs:string" nillable="true"/>
         <xs:element name="oid_number" type="xs:int" nillable="true"/>
         <xs:element name="oi_price" type="xs:double" nillable="true"/>
         <xs:element name="camra_moody_sector" type="xs:string" nillable="true"/>
         <xs:element name="restricted" type="xs:string" nillable="true"/>
         <xs:element name="camra_class_144" type="xs:string" nillable="true"/>
         <xs:element name="foreign_restriction_ind" type="xs:string" nillable="true"/>
         <xs:element name="foreign_restriction_req" type="xs:double" nillable="true"/>
         <xs:element name="sec_144a" type="xs:string" nillable="true"/>
         <xs:element name="reg_s" type="xs:string" nillable="true"/>
         <xs:element name="prvt_place_ind" type="xs:string" nillable="true"/>
         <xs:element name="liquid_flag" type="xs:string" nillable="true"/>
         <xs:element name="call_protection_period" type="xs:int" nillable="true"/>
         <xs:element name="call_protection_type" type="xs:string" nillable="true"/>
         <xs:element name="camra_make_whole_ind" type="xs:string" nillable="true"/>
         <xs:element name="camra_conversion_price" type="xs:double" nillable="true"/>
         <xs:element name="convertible_flag" type="xs:string" nillable="true"/>
         <xs:element name="nra_tax_code" type="xs:string" nillable="true"/>
         <xs:element name="tax_relief_at_source_ind" type="xs:string" nillable="true"/>
         <xs:element name="tax_withholding_code" type="xs:string" nillable="true"/>
         <xs:element name="tax_status" type="xs:string" nillable="true"/>
         <xs:element name="voting_rights" type="xs:string" nillable="true"/>
         <xs:element name="votes_per_share" type="xs:int" nillable="true"/>
         <xs:element name="cum_voting_flag" type="xs:string" nillable="true"/>
         <xs:element name="coupon_cap" type="xs:double" nillable="true"/>
         <xs:element name="coupon_floor" type="xs:double" nillable="true"/>
         <xs:element name="cross_currency_country" type="xs:string" nillable="true"/>
         <xs:element name="cross_currency_fwd_rate" type="xs:double" nillable="true"/>
         <xs:element name="cross_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_base_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="spot_base_rate" type="xs:double" nillable="true"/>
         <xs:element name="spot_cross_rate" type="xs:double" nillable="true"/>
         <xs:element name="fwd_point_difference" type="xs:double" nillable="true"/>
         <xs:element name="fwd_broker_code" type="xs:string" nillable="true"/>
         <xs:element name="fwd_side" type="xs:string" nillable="true"/>
         <xs:element name="redemption_currency" type="xs:string" nillable="true"/>
         <xs:element name="redenomination_date" type="xs:date" nillable="true"/>
         <xs:element name="redenomination_flag" type="xs:string" nillable="true"/>
         <xs:element name="amt_flag" type="xs:string" nillable="true"/>
         <xs:element name="orig_entrydate" type="xs:dateTime" nillable="true"/>
         <xs:element name="orig_enteredby" type="xs:string" nillable="true"/>
         <xs:element name="last_entrydate" type="xs:dateTime" nillable="true"/>
         <xs:element name="last_enteredby" type="xs:string" nillable="true"/>
         <xs:element name="credit_family_id" type="xs:string" nillable="true"/>
         <xs:element name="cusip" type="xs:string" nillable="true"/>
         <xs:element name="isin" type="xs:string" nillable="true"/>
         <xs:element name="sedol" type="xs:string" nillable="true"/>
         <xs:element name="ticker" type="xs:string" nillable="true"/>
         <xs:element name="apace_accrual_type" type="xs:string" nillable="true"/>
         <xs:element name="capital_income_flag" type="xs:string" nillable="true"/>
         <xs:element name="wal_date" type="xs:date" nillable="true"/>
         <xs:element name="cfb_level_pay" type="xs:double" nillable="true"/>
         <xs:element name="pending_corp_action" type="xs:string" nillable="true"/>
         <xs:element name="pending_proxy_vote" type="xs:string" nillable="true"/>
         <xs:element name="pms_live_indicator" type="xs:string" nillable="true"/>
         <xs:element name="pms_price_type" type="xs:string" nillable="true"/>
         <xs:element name="spark_flag" type="xs:string" nillable="true"/>
         <xs:element name="whittingdale_debt_cat" type="xs:int" nillable="true"/>
         <xs:element name="whittingdale_rating" type="xs:int" nillable="true"/>
         <xs:element name="whittingdale_code" type="xs:string" nillable="true"/>
         <xs:element name="expiration_date" type="xs:date" nillable="true"/>
         <xs:element name="maturity_price" type="xs:double" nillable="true"/>
         <xs:element name="commencement_date" type="xs:date" nillable="true"/>
         <xs:element name="declared_payment_date" type="xs:date" nillable="true"/>
         <xs:element name="drawer" type="xs:string" nillable="true"/>
         <xs:element name="fv_volatility" type="xs:double" nillable="true"/>
         <xs:element name="mv_volatility" type="xs:double" nillable="true"/>
         <xs:element name="settle_period" type="xs:double" nillable="true"/>
         <xs:element name="trading_margin" type="xs:double" nillable="true"/>
         <xs:element name="compound_frequency" type="xs:string" nillable="true"/>
         <xs:element name="coupon_rounding" type="xs:double" nillable="true"/>
         <xs:element name="duration_to_reset" type="xs:string" nillable="true"/>
         <xs:element name="float_rate_index_location" type="xs:string" nillable="true"/>
         <xs:element name="periodic_basis_point_cap" type="xs:decimal" nillable="true"/>
         <xs:element name="weighted_average_coupon" type="xs:double" nillable="true"/>
         <xs:element name="whittingdale_issuer" type="xs:int" nillable="true"/>
         <xs:element name="settlement_location" type="xs:string" nillable="true"/>
         <xs:element name="attachment_lower" type="xs:double" nillable="true"/>
         <xs:element name="attachment_upper" type="xs:double" nillable="true"/>
         <xs:element name="exposure_type" type="xs:string" nillable="true"/>
         <xs:element name="nth2default" type="xs:double" nillable="true"/>
         <xs:element name="restruct_doc_clause" type="xs:string" nillable="true"/>
         <xs:element name="swap_counterparty" type="xs:string" nillable="true"/>
         <xs:element name="swaption_issue_date" type="xs:date" nillable="true"/>
         <xs:element name="swaption_mat_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_call_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_call_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_callable_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_put_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_put_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_putable_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_day_count" type="xs:string" nillable="true"/>
         <xs:element name="apace_io_ind" type="xs:string" nillable="true"/>
         <xs:element name="apace_pass_thru_flag" type="xs:string" nillable="true"/>
         <xs:element name="apace_price_method" type="xs:string" nillable="true"/>
         <xs:element name="apace_price_source" type="xs:string" nillable="true"/>
         <xs:element name="apace_depository_type" type="xs:string" nillable="true"/>
         <xs:element name="apace_conv_ratio" type="xs:double" nillable="true"/>
         <xs:element name="apace_floating_rate" type="xs:string" nillable="true"/>
         <xs:element name="apace_frn_reset_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_frn_reset_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_step_conversion_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_step_conversion_rate" type="xs:double" nillable="true"/>
         <xs:element name="apace_accrual_date_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_payment_date_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_payment_cycle_code" type="xs:string" nillable="true"/>
         <xs:element name="apace_par_call_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_prerefund_price" type="xs:double" nillable="true"/>
         <xs:element name="apace_prerefund_date" type="xs:date" nillable="true"/>
         <xs:element name="apace_sink_fund_flag" type="xs:string" nillable="true"/>
         <xs:element name="make_whole_call_flag" type="xs:string" nillable="true"/>
         <xs:element name="effective_date" type="xs:date"/>
         <xs:element name="delete_flag" type="xs:string" nillable="true"/>
         <xs:element name="update_flag" type="xs:string" nillable="true"/>
         <xs:element name="fido_security_type_jvst" type="xs:int" nillable="true"/>
         <xs:element name="fido_security_type_jstp" type="xs:string" nillable="true"/>
         <xs:element name="fido_issuer_id" type="xs:int" nillable="true"/>
         <xs:element name="fido_guarantor_id" type="xs:int" nillable="true"/>
         <xs:element name="fido_name" type="xs:string" nillable="true"/>
         <xs:element name="draft_id" type="xs:string" nillable="true"/>
         <xs:element name="bbsw_at_last_reset" type="xs:double" nillable="true"/>
         <xs:element name="delta" type="xs:double" nillable="true"/>
         <xs:element name="price" type="xs:double" nillable="true"/>
         <xs:element name="benchmark_index_sec" type="xs:string" nillable="true"/>
         <xs:element name="index_multiplier" type="xs:double" nillable="true"/>
         <xs:element name="index_spread" type="xs:double" nillable="true"/>
         <xs:element name="index_link_location" type="xs:string" nillable="true"/>
         <xs:element name="index_lag" type="xs:double" nillable="true"/>
         <xs:element name="benchmark_rounding" type="xs:int" nillable="true"/>
         <xs:element name="index_link_bus_day_rule" type="xs:string" nillable="true"/>
         <xs:element name="calculation_type" type="xs:int" nillable="true"/>
         <xs:element name="start_day_of_month" type="xs:int" nillable="true"/>
         <xs:element name="pms_issue" type="xs:string" nillable="true"/>
         <xs:element name="pms_name" type="xs:string" nillable="true"/>
         <xs:element name="camra_cusip" type="xs:string" nillable="true"/>
         <xs:element name="infoexpress_id" type="xs:string" nillable="true"/>
         <xs:element name="issuer_desc" type="xs:string" nillable="true"/>
         <xs:element name="parent_issuer_desc" type="xs:string" nillable="true"/>
         <xs:element name="lead_mgr" type="xs:string" nillable="true"/>
         <xs:element name="co_mgr" type="xs:string" nillable="true"/>
         <xs:element name="superticker_desc" type="xs:string" nillable="true"/>
         <xs:element name="fmc_id" type="xs:string" nillable="true"/>
         <xs:element name="spintl_id" type="xs:string" nillable="true"/>
         <xs:element name="tranche_type" type="xs:string" nillable="true"/>
         <xs:element name="collateral_type" type="xs:string" nillable="true"/>
         <xs:element name="ab_fund_desc" type="xs:string" nillable="true"/>
         <xs:element name="adp_number" type="xs:string" nillable="true"/>
         <xs:element name="underlying_account_id" type="xs:string" nillable="true"/>
    </xs:schema>
    sec.xml
    <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
    <security security_count="1" variable_rate_count="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="security.xsd">
    <security_row><security_id>LZ002359750</security_id><primary_asset_id>B2479G9</primary_asset_id><delay_days xsi:nil="true"></delay_days><arm_indicator xsi:nil="true"></arm_indicator><camra_abs_und_coll xsi:nil="true"></camra_abs_und_coll><camra_abs_und_coll_cpn xsi:nil="true"></camra_abs_und_coll_cpn><initial_principal_pay_date xsi:nil="true"></initial_principal_pay_date><final_principal_pay_date xsi:nil="true"></final_principal_pay_date><mtg_term xsi:nil="true"></mtg_term><original_face xsi:nil="true"></original_face><pool_number xsi:nil="true"></pool_number><principal_pay_frequency xsi:nil="true"></principal_pay_frequency><pay_down_date xsi:nil="true"></pay_down_date><principal_pay_bus_day_rule xsi:nil="true"></principal_pay_bus_day_rule><seasoned_mbs xsi:nil="true"></seasoned_mbs><tba_stlmt_month xsi:nil="true"></tba_stlmt_month><accrual_flag>Y</accrual_flag><accrual_rule>1</accrual_rule><base_payment_date>0831</base_payment_date><day_count>ACT/ACT</day_count><ex_interest_bond_code xsi:nil="true"></ex_interest_bond_code><ex_days xsi:nil="true"></ex_days><ex_div_date xsi:nil="true"></ex_div_date><last_coupon_date>2017-08-31</last_coupon_date><for_bond_security_type>GER</for_bond_security_type><dated_date>2007-08-31</dated_date><issue_date>2007-08-31</issue_date><first_coupon_date>2008-08-31</first_coupon_date><second_coupon_date>2009-08-31</second_coupon_date><mat_date>2017-08-31</mat_date><interest_accrual_method>PER</interest_accrual_method><odd_first_coupon_date xsi:nil="true"></odd_first_coupon_date><odd_last_coupon_date xsi:nil="true"></odd_last_coupon_date><payment_eom_rule>Y</payment_eom_rule><pay_frequency>A</pay_frequency><pay_business_day_rule>BD</pay_business_day_rule><yield_day_count>ACT/ACT</yield_day_count><zero_coupon_type xsi:nil="true"></zero_coupon_type><analyst>SH</analyst><analyst_recomm xsi:nil="true"></analyst_recomm><approval_flag>Y</approval_flag><camra_sec_type xsi:nil="true"></camra_sec_type><class xsi:nil="true"></class><comments xsi:nil="true"></comments><holding_style>BE</holding_style><issued_capital xsi:nil="true"></issued_capital><issued_capital_currency>EUR</issued_capital_currency><min_denomination>50000</min_denomination><price_multiplier>0.01</price_multiplier><pricing_identifier xsi:nil="true"></pricing_identifier><quantity_issued>2250000</quantity_issued><shares_outstanding>2250000</shares_outstanding><quantity_type>PAR</quantity_type><redemption_value>100</redemption_value><scb_industry xsi:nil="true"></scb_industry><issue_desc1>DEUTSCHE BANK AG</issue_desc1><issue_desc2 xsi:nil="true"></issue_desc2><issue_desc3 xsi:nil="true"></issue_desc3><issue_short_name>DEUTSCHE BANK AG</issue_short_name><trading_lot_size>50000</trading_lot_size><unit_factor>1</unit_factor><camra_exercise_date xsi:nil="true"></camra_exercise_date><camra_expiration_date xsi:nil="true"></camra_expiration_date><alliance_sector>230</alliance_sector><alliance_industry>23030</alliance_industry><camra_gl_type xsi:nil="true"></camra_gl_type><emerg_mkt_ind xsi:nil="true"></emerg_mkt_ind><form_13f_flag xsi:nil="true"></form_13f_flag><instrument_class>FI</instrument_class><issue_type>BOND</issue_type><mortgage_sector>ZZ</mortgage_sector><naic_code xsi:nil="true"></naic_code><performance_segment>3</performance_segment><program_type xsi:nil="true"></program_type><camra_sic_code2 xsi:nil="true"></camra_sic_code2><camra_sched_d_group xsi:nil="true"></camra_sched_d_group><camra_sched_d_state xsi:nil="true"></camra_sched_d_state><security_form xsi:nil="true"></security_form><security_type_distrib xsi:nil="true"></security_type_distrib><camra_sic_code xsi:nil="true"></camra_sic_code><structured_note_flag>N</structured_note_flag><underlying_category xsi:nil="true"></underlying_category><primary_asset_id_type>aPACE</primary_asset_id_type><superticker>B2479G9</superticker><default_status>N</default_status><default_date xsi:nil="true"></default_date><accrue_in_default_ind>N</accrue_in_default_ind><ctd_bond xsi:nil="true"></ctd_bond><contract_size xsi:nil="true"></contract_size><derivative_type xsi:nil="true"></derivative_type><delivery_method xsi:nil="true"></delivery_method><conversion_factor xsi:nil="true"></conversion_factor><flex_option_ind xsi:nil="true"></flex_option_ind><leap_option_ind xsi:nil="true"></leap_option_ind><orig_strike_price xsi:nil="true"></orig_strike_price><otc_flag xsi:nil="true"></otc_flag><part_paid_percent xsi:nil="true"></part_paid_percent><strike_price xsi:nil="true"></strike_price><put_call_flag xsi:nil="true"></put_call_flag><strike_price_type xsi:nil="true"></strike_price_type><pay_currency

    Then you hit a bug in your version of Oracle. You may want to investigate and update to a newer version. I get the following error when trying to register your schema in 10.2.0.1
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00246: invalid QNAME "***_voting_flag"
    This error is consistent with Spy 2008 as well (I didn't try Xerces but I've got two that agree so it's good for me).

  • JPA: how to organize multiple databases having the same schema definition?

    Hi there,
    I'm new to Java EE but I could finish some test projects on GlassFish 3 / Java EE 6 platform.
    Now it's time to build the actual system and I need some help in that.
    So, I can't really tell you the exact purpose of this system but let's look at the following example which is very close to what I need.
    Say there is a database schema definition (DDL) for Oracle 11g and this schema is storing the inventory of a shop. So tables like product, category, price etc
    Say there are 50 shops, and I'm getting a new database for each shop every month holding their inventory.
    So every month I'm receiving a SQL file with INSERTs (DML) for every shop for the DDL I mentioned above.
    I'm getting 50 SQL files for the 50 shops every month, so in a year you're talking about 600 SQL files to import.
    If it was php/MySQL I could import them into a separate database each, call it shop1_May11, shop2_May11 etc reflecting the shop name and the month in the database name.
    This is my question how you guys think I should achieve this in Jave EE / Oracle.
    As the DDL is the same I thought to create an Entity for each table and use the Java Persistance API to create the databases and then I'd import the month/shop specific SQL files.
    But this means I'm gonna create 50 new schemas in Oracle every month?
    Or what's the best way to achieve this?
    Thanks in advance
    Edited by: 833519 on May 18, 2011 5:28 AM
    Edited by: 833519 on May 18, 2011 5:29 AM
    Edited by: 833519 on May 18, 2011 5:31 AM

    JPA helps a lot in persisting and retrieving data that has relationships without having to worry about the relationships at a sQL level.
    So you get a java programmer that builds relationships using Java classes (the entities) and a persistence provider worries about the sql required to materialize those relationships.
    You seem to be using SQL inserts for persisting the data and you want to generate the reports from SQL as well.
    You can use it but you won't be gaining much of its advantages for this project.
    Consider reporting applications like the jasperserver for the reports.
    Also, I have seen people get away with using one database for this type of thing and just adding a clientid (and optionally branchid) to each table.

  • Duplicate class definition error while invoking EJB from ADF project

    Hi,
    I am using Jdeveloper TP3 and facing the following problem.
    I have built an EJB project and am ran them successfully in the embedded OC4J via a standalone java program.
    Now I created another project with ADF capabilities and when I tried to ping the EJB i get the following exception
    The application named, current-workspace-app, could not start due to an error.
    duplicate class definition: javax/faces/context/FacesContextFactory Invalid class: javax.faces.context.FacesContextFactory Loader
    This is happenning due to class conflicts between javaee.jar and trinidad-impl.jar/adf-richclient-impl.jar.
    Is there any way of bypassing this class loader issue?

    Hi,
    actually I didn' try the JNDI lookup but used resource injection instead
    In a JSF managed bean I use
    @EJB Ejb30SessionFacadeLocal myLocalInterface;
    public SortableModel getTableModel() {
    List rows = new ArrayList<Employees>();
    rows = myLocalInterface.queryEmployeesFindAll();
    this.tableModel = new SortableModel(rows);
    return tableModel;
    Its a EJB 3.0 session bean that accesses a Local interface. However, if the remote is on the same server then I would think that using @EJB Ejb30SessionFacadeRemote myRemoteInterface; does similar
    Frank

  • Where can I find Adapter Specific Message Attributes ASMA Schema Definition

    Hi all,
    I'm on PI 7.1 and want to use the Mail adapter in XIPAYLOAD mode.
    I want to map to the ASMA schema definition in the Enterprise Service Builder.
    I'm wondering where I can get this "new" schema?
    For example the "old" mail adapter xml schema could be found in Note 748024.
    REgards,
    John
    Note 748024 - XI Mail Adapter XML Schema "Old"
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=748024
    SAP Help Configuring the Receiver mail adapter
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/96cb0fb9335b77e10000000a11466f/frameset.htm
    Note 856599
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856599
    Should I use MailPackage or ASMA?
               A: SP14 introuced the Adapter Specific Message Attributes (ASMA) that can be used to import and export adapter/transport specific headers into and out of XI. This is a generic mechanism for all adapters and other components such as mapping and routing can directly access or manipulate these values. The functionality provided by MailPackage is available in ASMA. Therefore, it is recommended that new scenarios use ASMA instead of MailPackage.

    John,
    the idea behind ASMA is exactly not to depend on modifying the payload to be able to map data that is just relevant to the communication layer, not the application.
    Instead of having a target XSD that you need to map your source message to, filling the communication details, instead you create XI specific message headers (the so called "adapter specific message attributes") that go in the message within the SOAP Header, hence not requiring any modification of the payload whatsoever.
    Notice that not having to modify the payload doesn't mean not having a mapping program, since the mapping can modify both the payload and the header, and sometimes it's a good approach to fill the ASMAs in a mapping, just bypassing the payload to the output unmodified.
    BR,
    Henrique.

  • Bpelc issues with WSDL schema definition

    Hi,
    I have been attempting to deploy a relative simple BPEL example, developed using the BPEL Designer Eclipse plugin and deployed on BPEL Process Manager.
    The BPEL consists of receiving a SOAP message, copying variables using assign from the input message to a message defined in an external WSDL, invoking that WSDL's service and copying the results of that service into the output message.
    To design the external service, I developed a simple Java class in Apache Axis and used the Java2WSDL tool to create all the interfaces. I then copied that WSDL to the BPEL designer and started to design the BPEL.
    The problem is to do with the definition of messages within the WSDL, the following snippet is from the WSDL generated in Apache Axis:
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
         targetNamespace="http://mdsuk.com/wsdl/example/PSP1">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    <complexType name="OutputCT">
    <sequence>
    <element name="message" nillable="true" type="xsd:string"/>
    <element name="paymentReference" nillable="true" type="xsd:string"/>
    <element name="success" nillable="true" type="xsd:boolean"/>
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    I then tried to create the <assign> statement for the External Service Message -> BPEL Output Message using BPEL Designer using the visual editor, it generated the following code:
    <assign name="assign-2">
    <copy>
         <from variable="pspOutput" part="outputCT" query="/message"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:result"/>
    </copy>
    <copy>
         <from variable="pspOutput" part="outputCT" query="/success"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:success"/>
    </copy>
    </assign>
    Trying to compile this generated code resulted in:
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 94 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/message" is invalid, because step 'message' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc]
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 98 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/success" is invalid, because step 'success' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    So, the generated code from BPEL Designer was failing to compile. This resulted in a long check of the code, finally I realised that it expected the inputCT variable to be present in the XPath, so I manually changed the code to
    <assign name="assign-2">
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/message"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:result"/>
    </copy>
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/success"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:success"/>
    </copy>
    </assign>
    This allowed to code to compile, so I deployed the BPEL to the Process Manager, and invoked a query using the Web Interface.
    The BPEL started up fine, it invoked my external Axis Web Service, Axis produced the output (visible via debugging) however Process Manager tried to process the output, it crashed with the following exception:
    06/01/19 16:29:11 com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {null}
    parts: {{summary=<summary>empty variable/expression result.
    xpath variable/expression expression "/outputCT/message" is empty at line 94, when attempting reading/copying it.
    Please make sure the variable/expression result "/outputCT/message" is not empty.
    </summary>}}
    So, the compiled BPEL code, which had the WSDL schema to compare against was failing during execution, I inspected the output from the Axis Web Service, which was:
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <processPaymentResponse xmlns="http://mdsuk.com/wsdl/example/PSP1">
    <outputCT xmlns="">
    <ns1:message xmlns:ns1="http://mdsuk.com/wsdl/example/PSP1">Payment Succesful</ns1:message>
    <ns2:paymentReference xmlns:ns2="http://mdsuk.com/wsdl/example/PSP1">1137688175137</ns2:paymentReference>
    <ns3:success xmlns:ns3="http://mdsuk.com/wsdl/example/PSP1">true</ns3:success>
    </outputCT>
    </processPaymentResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    The key difference was that the message / paymentReference and success attributes were prefixed with the namespace "http://mdsuk.com/wsdl/example/PSP1" , this makes sense as the schema has the attribute targetNamespace="http://mdsuk.com/wsdl/example/PSP1".
    However, when I tried to modify the BPEL to read:
    <assign name="assign-2">
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/nsxml1:message"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:result"/>
    </copy>
    <copy>
         <from variable="pspOutput" part="outputCT" query="/outputCT/nsxml1:success"></from>
         <to variable="output" part="payload" query="/tns:OrderTestResponse/tns:success"/>
    </copy>
    </assign>
    It complained:
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 94 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/outputCT/nsxml1:message" is invalid, because step 'nsxml1:message' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc]
    [bpelc] [Error ORABPEL-10057]: invalid query
    [bpelc] [Description]: in line 98 of "D:\EclipseWorkspace\OrderTest\OrderTest.bpel", query "/outputCT/nsxml1:sucess" is invalid, because step 'nsxml1:sucess' is not valid..
    [bpelc] [Potential fix]: Check the XML schema and make sure your query string is valid.
    [bpelc] .
    So, the BPEL would not validate against the WSDL schema that was being produced, I read up on the W3 Schema specification, and found that the schema can take the attribute elementFormDefault - this attribute takes the values 'qualified' or 'unqualified'. If qualified, then it explicitly states that all children elements should be beloning to the namespace of this element.
    So, I changed the schema to read:
    <wsdl:types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
         targetNamespace="http://mdsuk.com/wsdl/example/PSP1"
         elementFormDefault="qualified">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    <complexType name="OutputCT">
    <sequence>
    <element name="message" nillable="true" type="xsd:string"/>
    <element name="paymentReference" nillable="true" type="xsd:string"/>
    <element name="success" nillable="true" type="xsd:boolean"/>
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    The BPEL compiled and ran succesfully.
    However, the problem/issue here is, Oracle bpelc assumed that if the elementFormDefault attribute was missing from the schema definition, it defaulted to unqualified, even with the targetNamespace attribute present.
    Axis and <oXygen/> XML Editors, in which I tested the WSDL code, assumed that if the elementFormDefault attribute was missing, it defaulted to qualified.
    I cannot find anything in the Schema Specification to say which is correct - can anyone shed any light on this? I also want to make Oracle BPEL users aware of this issue.
    Regards,
    Peter Dolukhanov

    I resolved this issue by adding the following to the 2nd schema in the wsdl
    xmlns:xsdLocal1="urn:/crmondemand/xml/integrationevent"
    inside the 2nd schema
    <xsd:schema
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsdLocal1="urn:/crmondemand/xml/integrationevent"
    targetNamespace="urn:crmondemand/ws/integrationevent/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    and this line immediately below it
    <xsd:import namespace="urn:/crmondemand/xml/integrationevent" />
    I could then create a proxy class using wsdl.exe

  • Product-sku-output-config.xml - Is there a schema definition (XSD or DTD)?

    For the product-sku-output-config.xml file (used to define the set of product and sku attributes that are sent to Endeca from ATG as part of the Baseline Index process, as defined in chapter 4 of the ATGEndecaIntegrationGuide.pdf, 10.1.2 version), is there a schema definition (XSD or DTD) available?
    The format used by product-sku-output-config.xml seems similar to, but not the same as, the format described by http://www.atg.com/dtds/search/indexing-dependency-schema.dtd. For example, p35 of the ATGEndecaIntegrationGuide.pdf gives an example of a product-sku-output-config.xml with a "properties" child element of the top-level "item" element; per that indexing-dependency-schema.dtd, that isn't allowed. (Per that DTD, it should be either "meta-properties" or "text-properties", not "properties".)
    More generally, I'm wondering if there's place that fully defines what can go into the product-sku-output-config.xml file.
    I'm also interested this same question for the category-dim-output-config.xml file.
    Thanks,
    -Jon

    For the product-sku-output-config.xml file (used to define the set of product and sku attributes that are sent to Endeca from ATG as part of the Baseline Index process, as defined in chapter 4 of the ATGEndecaIntegrationGuide.pdf, 10.1.2 version), is there a schema definition (XSD or DTD) available?
    The format used by product-sku-output-config.xml seems similar to, but not the same as, the format described by http://www.atg.com/dtds/search/indexing-dependency-schema.dtd. For example, p35 of the ATGEndecaIntegrationGuide.pdf gives an example of a product-sku-output-config.xml with a "properties" child element of the top-level "item" element; per that indexing-dependency-schema.dtd, that isn't allowed. (Per that DTD, it should be either "meta-properties" or "text-properties", not "properties".)
    More generally, I'm wondering if there's place that fully defines what can go into the product-sku-output-config.xml file.
    I'm also interested this same question for the category-dim-output-config.xml file.
    Thanks,
    -Jon

  • Java.lang.LinkageError: duplicate class definition

    Dear Experts,
    We are in the process of Migrating current Mi2.5 application to NWM7.1.
    We have that 2.5 application properly running in production system but in 7.1 while opening some JSP page of application
    it sometimes opens properly & sometimes gives this error..
    java.lang.LinkageError: duplicate class definition
    The detailed error description is as given below..
    Pls advice..

    Error: 500
    Location: /ZEFL_BP_MI/jsp/stock/bp_technicians_issue_sparesforms.jsp
    Internal Servlet Error:
    java.lang.LinkageError: duplicate class definition: com/sap/BP/bean/TableViewBean
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at org.apache.tomcat.loader.AdaptiveClassLoader.doDefineClass(AdaptiveClassLoader.java:575)
    at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:542)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.beans.Beans.instantiate(Unknown Source)
    at java.beans.Beans.instantiate(Unknown Source)
    at jsp.stock.bp_0005ftechnicians_0005fissue_0005fsparesforms._jspService(bp_0005ftechnicians_0005fissue_0005fsparesforms.java:101)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
    at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:780)
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:281)
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:552)
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:190)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Unknown Source)
    Regards,
    Saptak

  • Error message: 1021: Duplicate function definition.

    Hi All,
    First let me start by saying that I know next to nothing about Flash.  I have inherited a website maintenance project that has a Flash rotating image banner.  I have managed to get the images to fade-in and fade-out correctly, but now I need to make these images clickable - linking images to pages in the website.  I have read many posts here and have reviewed the video tutorials.  I have been able to get the first image clickable using this AS3 action:
    mars_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
    function buttonClickHandler(event:MouseEvent) :void {
            navigateToURL(new URLRequest("http://somewebsite/mars.php"));
            trace("I'm clicked");
    However, when I attempt to make another image clickable by using a different instance of a button I get the error message:
    1021: Duplicate function definition.
    I have a separate instance of a button with this AS3 action:
    jupiter_btn.addEventListener(MouseEvent.CLICK, buttonClickHandler);
    function buttonClickHandler(event:MouseEvent) :void {
            navigateToURL(new URLRequest("http://somewebsite/jupiter.php"));
            trace("I'm clicked");
    Obviously I'm not understanding how I'm supposed to do this so that I don't create a duplicate function definition.  Any help would be most appreciated.

    excuse me , I have a question i hope that you help .. ( im new in here )
    we were asked to create an interactive application on flash in two languages..
    so i created two different fla files same exact codings ... i was wondering how can i combine them so the viewer can be able to choose the language from a button ?
    when i try to combine them i get lots of errors of duplications in the actionscript
    PS : MY MAIN PAGE INCLUDES A CAROUSEL with images ..
    I was thinking of saving one of the fla  as a movie and then add it some how to the second fla and combine it with a button but i can't figure it how..
    i hope i was clear enough.. but is there any possibility to help me please ?!
    when i tend to change names or something it creates error.. ( IM NOT A PRO IN AS3 ) and when i dublicate the scenes it give duplication errors.. WHAT IS THE SOLUTION ??
    this is the code of the actionscript in the main page.. ( the carousel's code i took from someone ) and i used it on my project
    import com.ccanvas.carousel.*;
    var centerX:Number = stage.stageWidth/4;
    var centerY:Number = stage.stageHeight/4;
    var carc:Carousel = new Carousel(centerX, centerY, 256, 75, "icons.xml");
    carc.addTooltip(new tooltip); // use 'tooltip' movieclip for item tooltip
    addChild(carc); // add carousel to stage
    function down(event:MouseEvent):void {
    trace(event.currentTarget.toolText); // simple click interaction
    function destroyCarousel(event:MouseEvent):void {
    carc.destroy(); // remove all item in carousel as well as tooltip
    function removeNextItem(event:MouseEvent):void {
    if(carc.numOfItems > 2) {
      carc.removeItem(2); // remove the item next to the remove item icon
    create.addEventListener("mouseDown", createCarousel);
    function createCarousel(event:MouseEvent):void {
    if(carc.CREATED == false) {
      // recreate the carousel
      carc = new Carousel(centerX, centerY, 256, 75, "icons.xml");
      carc.addTooltip(new tooltip);
      addChild(carc);
    }/* Click to Go to Scene and Play
    Clicking on the specified symbol instance plays the movie from the specified scene and frame.
    Instructions:
    1. Replace "Scene 3" with the name of the scene you would like play.
    2. Replace 1 with the frame number you would like the movie to play from in the specified scene.
    Tools_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene);
    function fl_ClickToGoToScene(event:MouseEvent):void
    MovieClip(this.root).gotoAndPlay(1, "Toolse");
    }/* Click to Go to Scene and Play
    Clicking on the specified symbol instance plays the movie from the specified scene and frame.
    Instructions:
    1. Replace "Scene 3" with the name of the scene you would like play.
    2. Replace 1 with the frame number you would like the movie to play from in the specified scene.
    games_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToGames);
    function fl_ClickToGoToGames(event:MouseEvent):void
    MovieClip(this.root).gotoAndPlay(1, "Gamese");
    }/* Click to Go to Scene and Play
    Clicking on the specified symbol instance plays the movie from the specified scene and frame.
    Instructions:
    1. Replace "Scene 3" with the name of the scene you would like play.
    2. Replace 1 with the frame number you would like the movie to play from in the specified scene.
    Identity_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToIdentity);
    function fl_ClickToGoToIdentity(event:MouseEvent):void
    MovieClip(this.root).gotoAndPlay(1, "Identitye");
    }/* Click to Go to Scene and Play
    Clicking on the specified symbol instance plays the movie from the specified scene and frame.
    Instructions:
    1. Replace "Scene 3" with the name of the scene you would like play.
    2. Replace 1 with the frame number you would like the movie to play from in the specified scene.
    Reviews_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_13);
    function fl_ClickToGoToScene_13(event:MouseEvent):void
    MovieClip(this.root).gotoAndPlay(1, "Reviewse");
    }/* Click to Go to Scene and Play
    Clicking on the specified symbol instance plays the movie from the specified scene and frame.
    Instructions:
    1. Replace "Scene 3" with the name of the scene you would like play.
    2. Replace 1 with the frame number you would like the movie to play from in the specified scene.
    Facts_button.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_20);
    function fl_ClickToGoToScene_20(event:MouseEvent):void
    MovieClip(this.root).gotoAndPlay(1, "Factse");

  • Duplicate function definition error on buttons

    Hi there!
    Ok first I'm a complete beginner when it comes to Flash so please bare with me.
    What I'm looking to do is create a banner that transitions between different photos while there are small square buttons on the side that when the user clicks on them, it jumps to the corrosponding frame where a new photo begins showing. I've seen it a bunch of times on other websites.
    After following the advice found here: http://forums.adobe.com/thread/781826?tstart=0
    Everything was going well until I hit a snag. When trying to preview my movie I got the following error:
    1021: Duplicate function definition
    Now, I know there is a very obvious error here in my button scripts, but as I said, I have no idea what I'm doing. Can someone look at my code and tell me what's wrong and what I should change? I'll post all five scripts.
    The instance names by the way are "sidebutton1" thru "sidebutton5" if that's any help.
    Here's my codes for each of the five buttons (one of these code bits per button):
    sidebutton1.addEventListener(MouseEvent.CLICK,f);
    function f(e:Event):void{
    gotoAndPlay(1);
    sidebutton2.addEventListener(MouseEvent.CLICK,f);
    function f(e:Event):void{
    gotoAndPlay(100);
    sidebutton3.addEventListener(MouseEvent.CLICK,f);
    function f(e:Event):void{
    gotoAndPlay(200);
    sidebutton4.addEventListener(MouseEvent.CLICK,f);
    function f(e:Event):void{
    gotoAndPlay(300);
    sidebutton5.addEventListener(MouseEvent.CLICK,f);
    function f(e:Event):void{
    gotoAndPlay(500);

    sidebutton2.addEventListener(MouseEvent.CLICK,f2);
    function f2(e:Event):void{
    gotoAndPlay(100);
    sidebutton3.addEventListener(MouseEvent.CLICK,f3);
    function f3(e:Event):void{
    gotoAndPlay(200);
    Each function must have a special name...

  • IDOC field schema definition cannot be loaded in the configuration

    hi experts,
    i'm having an issue in the configuration side of the xi server. when i'm trying to access a particular field in an IDOC in the condition editor it is givin me the message the 'schema definition of the corresponding field's parent segment is missing'. But in the design side when i'm using the idoc i'm able to access every field in the mapping as well as wen i'm openin it . i've taken care that i'm using the IDOC of the same software component as in design.
    Any suggestions given will be highly useful.
    thanks in advance,
    regards,
    Rahul

    Hi Rahul,
    Firstly check out this blog by Shabarish, which discusses how you can give the condition in the editor using XPath expression. It also mentions the importance of specifying the correct parent node:-
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    Also, you must've imported the Idoc or an abstract type of the IDoc as the sender interface right?
    Only then you will be able to see it in the condition editor rite?
    Well if its the IDoc itself, just check if you have chosen the right IDoc while defining the rcvr determintation.
    If it is the abstract message interface of the IDoc, then check if you have added the correct IDoc to the message interface in repository and also if you have chosen the correct message interface while configuring the rcvr determination.
    If the above checks are all fine, also do a cache
    Regards,
    Sushumna

  • 1021: Duplicate function definition I am lost... please advise

    I am obviously new to as3... So I have 3 buttons (all in the same scene) that each need to go to a different scene. I put the script's on the same frame. Here is the script's:
    btn_pg.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);function mouseDownHandler(event:MouseEvent):void {
    gotoAndStop(1, "photo_gallery");
    btn_vg.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);function mouseDownHandler(event:MouseEvent):void {
    gotoAndStop(1, "photo_gallery");
    This is the error message it gives me:
    home_1, Layer 'actions', Frame 1, Line 8 1021: Duplicate function definition.
    What do you have to do to use the same function for different buttons to get to different scenes?
    Thank you for any consideration and help,
    Thomas

    I tried to ad another button to that same code and it does not give an error but when i publish it doesn't do anything...
    This is the code after I added:
    btn_pg.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    btn_vg.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    function mouseDownHandler(event:MouseEvent):void
    var nameOfButton:String = event.currentTarget.name;
    if (nameOfButton == "btn_pg")
      gotoAndStop(1, "photo_gallery");
    else if (nameOfButton=="btn_vg")
      gotoAndStop(1, "video_gallery");
    else if (nameOfButton=="btn_b")
      gotoAndStop(1, "blog");
    Can you not have an infinite amount of buttons with this code?
    Thanks again
    Thomas

  • Getting java.lang.LinkageError: duplicate class definition after new build

    I few weeks ago I started getting :
    java.lang.LinkageError: duplicate class definition every time I tried to access a web app that just got a fresh ANT build to the the web server. The error sites the application's primary servlet class. When I bump the server on I-Planet (6.0), the error goes away. I cannot find a duplicate class anywhere, though. I'm stumped.

    I few weeks ago I started getting :
    java.lang.LinkageError: duplicate class definition every time I tried to access a web app that just got a fresh ANT build to the the web server. The error sites the application's primary servlet class. When I bump the server on I-Planet (6.0), the error goes away. I cannot find a duplicate class anywhere, though. I'm stumped.

  • LinkageError: duplicate class definition

    I am getting some error codes in my webserver log which I can't seem to figure out. I use IPlanet 6.0
    Has anyone seen this error before:
    [14/Feb/2002:16:36:29] failure ( 105): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.LinkageError: duplicate class definition: dnt/getNumbers
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
         at com.iplanet.server.http.servlet.NSServletLoader.loadResource(NSServletLoader.java:387)
         at com.iplanet.server.http.servlet.NSServletLoader.loadClass(NSServletLoader.java:429)
         at com.iplanet.server.http.servlet.NSServletLoader.findClass(NSServletLoader.java:174)
         at com.iplanet.server.http.servlet.NSServletLoader.loadClass(NSServletLoader.java:106)
         at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:337)
         at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
         at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:410)
    The interesting thing about this error is that it only happens when the thread is executing for the first time. Which is right after the web server has been started up.
    I've checked that all classes are in the classpath exacty once.
    I have no idea what is causing this.
    Any help would be very appreciated.
    Thank You.
    -Mike

    Hi,
    I hope you have added the classpath in the "context.properties" file, which will be in config directory of your server root directory. You need to restart the server after adding the classpath in the property file.
    Please send me your configuration files, 1)obj.conf 2)magnus.conf 3)error.log 4)jvm12.conf
    Senthil Babu J
    [email protected]

Maybe you are looking for

  • New MB experience :-)

    I saw the new MacBook announcement and called the local Apple store which happened to have some in stock. So I ran down at lunch and picked one up. I am a long time mac user, starting in the 68k days. I have a 15" MB PRO that was one of the W8609 ser

  • Repeating structure through the receiver file adapter

    I wanted to ask wheter it is possible to create repeating structure through the SAP xi receiver file adapter. What I'm trying to accomplish is this: Item1 Item2 Item1 Item2 (variable number of times). I can accomplish the following: Item1 Item1 Item2

  • Openshot + Blender: No frame was found in the Output from Blender

    Can't get this to work. Anyone know why? Using  OpenShot version 1.4.0 blender -v Blender 2.61 (sub 0) build date: 2012-01-05 build time: 10:31:02 build revision: unknown build platform: Linux build type: Release build c flags: -march=x86-64 -mtune=g

  • Finger command in Terminal

    Hello, I tried to use the Unix command 'finger' in the Terminal (Apple Terminal). Via Fast User Switching were three persons logged in but the finger command gave me only one user. Only the user who had a terminal window open was displayed by 'finger

  • App Server Halts during the execution !!! service-passthrough error 500

    We have 1.4 JAVA Application hosted by SunOne Server 7 2004Q2UR5 The setup is that user will first get into sun web server which in turn will do pass through to App server to get /appweb/index.jsp page. We are getting into repeated situation where we