Problem in mapping with xsd:restriction and xsd:enumeration

Hello All,
Our BPEL process is invoked from a .net client and has a JCA adapter as target. We need to map the input schema to JCA schema and the output should look like the following:
Listing 1:
<callMethod name='F4211FSBeginDoc' app='XMLInterop'
runOnError='no'>
<params>
<param name='mnCMJobNumber' id='1'></param>
<param name='cCMDocAction'>A</param>
<param name='cCMProcessEdits'>1</param>
<param name='szCMComputerID' idref='2'></param>
<param name='cCMUpdateWriteToWF'>2</param>
<param name='szCMProgramID'>XMLInterop</param>
<param name='szCMVersion'>ZJDE0001</param>
<param name='szOrderType'>SO</param>
<param name='szBusinessUnit'> M30</param>
<param name='mnAddressNumber'>4242</param>
<param name='jdOrderDate'>2000/03/29</param>
<param name='szReference'>10261</param>
<param name='cApplyFreightYN'>Y</param>
<param name='szCurrencyCode'></param>
<param name='cWKSourceOfData'></param>
<param name='cWKProcMode'></param>
<param name='mnWKSuppressProcess'>0</param>
</params>
We have our JCA schema as follows:
Listing 2:
<types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:iwaysoftware:jde/services/JDEJAVA_CSALES/B4200310/F4211FSBeginDoc"
xmlns:ns="urn:iwaysoftware:jde/services/JDEJAVA_CSALES/B4200310/F4211FSBeginDoc" elementFormDefault="qualified">
<xsd:element name="jdeRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="callMethod">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="params">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="param" minOccurs="0" maxOccurs="112">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="name" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="mnCMJobNumber"/>
<xsd:enumeration value="cCMDocAction"/>
<xsd:enumeration value="cCMProcessEdits"/>
<xsd:enumeration value="szCMComputerID"/>
<xsd:enumeration value="cCMErrorConditions"/>
<xsd:enumeration value="cCMUpdateWriteToWF"/>
<xsd:enumeration value="szCMProgramID"/>
<xsd:enumeration value="szCMVersion"/>
<xsd:enumeration value="szOrderCo"/>
<xsd:enumeration value="mnOrderNo"/>
<xsd:enumeration value="szOrderType"/>
<xsd:enumeration value="szBusinessUnit"/>
<xsd:enumeration value="szOriginalOrderCo"/>
<xsd:enumeration value="szOriginalOrderNo"/>
<xsd:enumeration value="szOriginalOrderType"/>
<xsd:enumeration value="mnAddressNumber"/>
<xsd:enumeration value="mnShipToNo"/>
<xsd:enumeration value="jdRequestedDate"/>
<xsd:enumeration value="jdOrderDate"/>
<xsd:enumeration value="jdPromisedDate"/>
<xsd:enumeration value="jdCancelDate"/>
<xsd:enumeration value="szReference"/>
<xsd:enumeration value="szDeliveryInstructions1"/>
<xsd:enumeration value="szDeliveryInstructions2"/>
<xsd:enumeration value="szPrintMesg"/>
<xsd:enumeration value="szPaymentTerm"/>
<xsd:enumeration value="cPaymentInstrument"/>
<xsd:enumeration value="szAdjustmentSchedule"/>
<xsd:enumeration value="mnTradeDiscount"/>
<xsd:enumeration value="szTaxExplanationCode"/>
<xsd:enumeration value="szTaxArea"/>
<xsd:enumeration value="szCertificate"/>
<xsd:enumeration value="cAssociatedText"/>
<xsd:enumeration value="szHoldOrdersCode"/>
<xsd:enumeration value="cPricePickListYN"/>
<xsd:enumeration value="mnInvoiceCopies"/>
<xsd:enumeration value="mnBuyerNumber"/>
<xsd:enumeration value="mnCarrier"/>
We are not able to create a valid structure from the above schema. Our output variable looks like
Listing 3:
ns5:jdeRequest
     type
     session
     sessionidle
     ns5:callMethod()
          name
          app
          runOnError
          returnNullData
          trans
          ns5:params
               ns5:param
                    name
No variables are displayed under the 'name' tag.
How can we map the input elements to Listing 2 and produce Listing 1? This is a bit urgent requirement for our client and any help will be greatly appreciated.

Hi,
With reference to your question.
Can any operator perform this task..I don't think any single operator will help you.
I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
Cheers
- Mohammed

Similar Messages

  • Autotype support for xsd import and xsd include statement

    Hi,
    I am using Weblogic 7.0.1. While using autotype for a Schema, I get the error unable to resolve element ref: "qb:WireCenterCLLI. This element exists in an xsd imported in the main XSD which in turn includes a few XSD's. I saw few posts which indicated there were issues with autotype recognising xsd:import and xsd:include statements. Were these issues fixed? If so, what SP were they fixed in?
    My XSD:
    <?xml version = "1.0" encoding = "UTF-8"?>
    <xsd:schema xmlns = "http://www.qwest.com/XMLSchema"
    targetNamespace = "http://www.qwest.com/XMLSchema"
    xmlns:qb = "http://www.qwest.com/XMLSchema/BIM"
    xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
    elementFormDefault = "qualified">
    <xsd:import namespace = "http://www.qwest.com/XMLSchema/BIM" schemaLocation = "/u/skarani/sia_code/xsd/ProjectSpecific/SIA/BIM/AddressValidationInclude_v01_00.xsd"/>
    <xsd:include schemaLocation = "/u/skarani/sia_code/xsd/ProjectSpecific/SIA/Common/AddressValidationCommon_v01_00.xsd"/>
    <xsd:include schemaLocation = "/u/skarani/sia_code/xsd/ProjectSpecific/SIA/Common/RequestMessage_v02_01.xsd"/>
    <xsd:element name = "AddressValidationByServiceIdRequest">
    <xsd:complexType>
    <xsd:complexContent>
    <xsd:extension base = "WebServiceRequestT">
    <xsd:sequence>
    <xsd:element name = "InputData" type = "AddressValidationByServiceIdInputDataT">
    </xsd:element>
    </xsd:sequence>
    </xsd:extension>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name = "AddressValidationByServiceIdInputDataT">
    <xsd:sequence>
    <xsd:element ref = "qb:WireCenterCLLI" minOccurs = "0"/>
    <xsd:element ref = "qb:WireCenterPrimaryNPANXX" minOccurs = "0"/>
    <xsd:element ref = "AdministrativeArea" minOccurs = "0"/>
    <xsd:element ref = "qb:PostalCode" minOccurs = "0"/>
    <xsd:element ref = "qb:BTN"/>
    <xsd:element name = "ParsedAddressFlag" type = "xsd:boolean" minOccurs = "0">
    </xsd:element>
    <xsd:element ref = "qb:CCNA" minOccurs = "0"/>
    <xsd:element name = "CompanyCode" type = "xsd:string" minOccurs = "0">
    </xsd:element>
    <xsd:element ref = "AssignedHouseNumberFlag" minOccurs = "0"/>
    <xsd:element ref = "GSGRqmtFlag" minOccurs = "0"/>
    <xsd:element ref = "TNStatus" minOccurs = "0"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Thanks
    Shekhar

    Hmmmm.... No answers!!!
    Has anyone had success using autotype with an xsd having include and import statements???
    Thanks
    Shekhar

  • Problem in Multisim with transient analysis and initial conditions

    Hello everyone,
    I have a problem in multisim with transient analysis and initial conditions.
    If I do transient analysis with automatically determined initial conditions the circuits works.
    If I do transient analysis with user-defined initial conditions the circuits works in cases.
    --Working with user-defined---
    *## Multisim Component V2 ##*
    vV2 3 0 pwl(0 0 0.001 0 {0.001+1e-008} 3 {0.001+1e-008+1} 3)
    *## Multisim Component R1 ##*
    rR1 3 0 10000 vresR1
    .model vresR1 r( )
    --Working with user-defined----------
    *## Multisim Component V2 ##*
    vV2 1 0 pwl(0 0 0.001 0 {0.001+1e-008} 3 {0.001+1e-008+1} 3)
    *## Multisim Component U1 ##*
    xU1 1 0 MEMRISTOR__MEMS__1__1
    --Not Working with user-defined-------
    *## Multisim Component V2 ##*
    vV2 3 0 pwl(0 0 0.001 0 {0.001+1e-008} 3 {0.001+1e-008+1} -3)
    *## Multisim Component R1 ##*
    rR1 3 1 10000 vresR1
    .model vresR1 r( )
    *## Multisim Component U1 ##*
    xU1 1 0 MEMRISTOR__MEMS__1__1
    The costum component includes something like that:
    .subckt MEMRISTOR__MEMS__1__1 plus minus PARAMS:
    *Parameters values
    +rmin=100 rmax=390 rinit=390 alpha=1E3 beta=0 gamma=0.1 VtR=1.5 VtL=-1.5 yo=0.0001
    +m=82 fo=310 Lo=5
    blah blah ...
    .ends Memristor
    Namely, if I combine the resistor and my custom component in one circuit, transient analysis with user defined initial conditions gives an error (timestep too small).

    Hi  Nik,
    If possible, please post the Multisim file. This way, I can get access to all your settings.
    Tien P.
    National Instruments

  • 997 generation with custom ecs and xsd

    I am able to generate the 997 using the default 997.ecs and 997.xsd. The generated X12 997 has 6 segments but we need to send only 4 segments. I have created a new ecs and xsd (deleted the two segments) using the spec builder. When I use this custom 997 document, it throws below error.
    Error Brief : Validator error - Extra data was encountered. Validator error - Extra data was encountered. Validator error - Extra data was encountered. The values are not equal.
    The XML payload shows data for the two segments that I have deleted from the ecs in specbuilder. I thought B2B would generate the xml payload based on the ecs and xsd.
    Is it possible to generate a customized 997 in B2B?
    Thanks
    Ismail M.

    Is it possible to generate a customized 997 in B2B?No, B2B may not auto-generate the customized 997. For customization cases, it is recommended to handle FA at middleware (SOA layer) or at back-end.
    Regards,
    Anuj

  • Problem in mapping with multiple values

    Hi all,
    I am facing a problem during mapping. I am explainning the problem with a example.
    Suppose i have a source table named Employee which has two columns emp no and account no. I have a target table Emp_account which has also the same columns.
    One employee may have more than one accounts. In source table this account nos are stored in account no column in one row corresponding to emp no. The multiple values in account no are separated by comma for one record in source table.
    But in the target table Emp_account a single record will be inserted for each employee's separate account. There should not be multiple values separated by comma in account no column of target table.
    So if any employee has two accounts this will be stored as one row in source table but in target table it will divided into two different rows for each account.
    EMPLOYEE(Source)
    emp no account no
    10 101, 102
    EMP_ACCOUNT(Target)
    emp no account no
    10 101
    10 102
    Think I explained the requirement.. How can i made this in OWB mapping editor..Is it possible?...Can any operator perform this task...If any of u know about this plzz give some solution..It's very important ..
    Thanks & Regards,
    Sumanta Das

    Hi,
    With reference to your question.
    Can any operator perform this task..I don't think any single operator will help you.
    I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
    In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
    Cheers
    - Mohammed

  • Why does my iPhone 4 not charge correctly?  Problem is definitely with the phone and not charges or chords.  Phone will charge but very slowly and no icon comes on.  Computer and iTunes doesn't recognize it a being connected.

    My iPhone 4 quit charging correctly.  It does charge but very slowly and icon doesn't indicate it as charging.  I've checked cables and charges and the problem is definetily with the phone.  My car stereo no longer recognizes it as a device.  Neither does the computer.  The real strange thing to me is that when I plug it into my old klispch speaker dock it will play songs.  My battery life is good when it is charged so I don't think its the battery. I've tried resetting the phone and cleaning the charging port.  I'm out of warranty.
    Would disconnecting the battery possibly reset it from some glitch or is the charging port got some bad contacts?

    I checked with the Genius Bar.  It was a new dilema to the lady that was helping me.  She took it to a back room and worked on it but it came out the same.  She gave me some options for repair or credit for replacement.
    I just kept the phone and put up with slowly charging it by plugging it in and then turning it off.
    I couldn't transfer anything from itunes.
    I finally got fed up and bought a new charging port for $10. and a toolkit for $3.  I looked up a video on youTube for the replacement and did it.
    That solved all the problems, it was the charging port, must have been some bad pins or something because it patially worked.

  • Problems sending emails with iPhone 3G and outlook exchange

    I have a problem sending email with exchange. Receiving and answering mail works fine and calender updates work fine. However when I initiate an email from the phone it syncs and ends up in the sent folder in the computer but never reaches the recipient. I have tried this many times with different recipients and phones. It only happens from my iphone and ipad. Any suggestions?
    Any help much appreciated

    The iPhone you returned is still syncing against your server and locking out your account. Someone possibly has access to your mail data. I'd recommend having your Exchange Administrator install the Microsoft Exchange Server ActiveSync Web Administration Tool (http://www.microsoft.com/downloads/details.aspx?FamilyID=E6851D23-D145-4DBF-A2CC -E0B4C6301453&displaylang=en) and attempt to wipe/delete/block that other iPhone.
    Message was edited by: ethanm

  • Problem syncing photos with Apple TV and iPod

    Ever since I connected my Apple TV I have had problems syncing photos with both my iPod and my Apple TV.
    The Apple TV gives me an error (no desciption) when I try to sync photos. The iPod gives me an error 39.
    iPhotos is working fine. I rebuilt the library using the rebuild library feature and this has not fixed the problem.
    I also rebuilt my iTunes library without success in fixing the problem.
    How does it sync? Is there some kind of syncing file I need to delete that may be corrupt?
    Does anyone have any ideas about what I could try?

    Just a suggestion,
    for a speedier and better informed reply, post your question in the AppleTV forums.

  • Newbie problem - ESB - Mapping a CLOB to an XSD on an AQ-adapter

    Hi,
    I am relatively new to the Oracle ESB. But nevertheless working hard on learning it.
    In my current project I need to fetch messages from an AQ. The type of the message is something like:
    field1 number,
    field2 varchar2(10),
    field3 CLOB
    In field3 is a XML-document that obeys a certain XSD.
    Now I need to make a DB-adapter and insert field1, field2 and field3 in a database table with similar fields:
    db_field1 number,
    db_field2 varchar2(10)
    db_field3 CLOB
    However the db_field3 obeys a different XML schema than field3 so I need to make a transformation of the XML in field3 so it can be inserted in db_field3.
    Now for the question:
    How do I associate an XSD with field3 and another XSD with db_field3 so that I can use the mapping tool in Jdeveloper to drag the lines between the two XSD's. Right now all I see in there is a CLOB field on each side.
    Do I need to manually manipulate the XSDs for the AQ-adapter and the DB-adapter ?
    Remember that besides field3 I also need to map both field1 and field2 so I need the whole object from the AQ.
    Kind regards
    Bo

    Hi Martin-
    Can you please help me. Here are the details:
    We have created an AQ in Oracle DB which will have the following message Structure:
    CREATE OR REPLACE TYPE enqueue_payload AS OBJECT
    ( field1 VARCHAR2(100),
    field2 VARCHAR2(100),
    field3 DATE,
    field4 VARCHAR2(100),
    field5 NUMBER,
    payload CLOB,
    In the Payload field we are enqueing an XML message.
    We have to use a OSB proxy service to dequeue the message from the AQ, transform it to another format and send to a SOA Composite.
    We created a AQ Adapter in Jdeveloper 11g and imported the WSDL, XSD and .jca jca binding file into the OSB project. And configured the OSB proxy service using the WSDL imported.
    However in OSB proxy service message flow when I try to create an XQUERY transformation, I see that the Payload field does not expose the structure of the XML message that is being enqueued. I even changed the message structure definition to have the payload field as XMLType. But it didn't help.
    On analyzing the XSD created by AQ Adapter, I see that the payload is being defined as "string" in the XSD.
    Inputs Needed
    =========
    1. How can we parse the payload field defined as CLOB/XMLType in OSB so that I can see the structure of the XML message it holds ?
    2. Is there any in-built function in OSB to convert it to XML ?
    3. Any other inputs in order to transform the XML message coming in the payload field as CLOB/XMLType
    Please provide your inputs and I hope that I have clearly explained my use case.
    Thanks in advance for your time and help!!
    Regards,
    Dibya

  • Deployement problem in oc4j with hibernate + JPA and Spring

    Dear All,
    From last 2 days I am facing a problem in deployment of our application in oc4j client of oracle app server.
    I am getting the following exception
    Operation failed with error: [mkclsets:mkclsets] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit mkclsetsPersistenceUnit.When I am deploying the same application in tomcat app server its working fine. But I am unable to deploy the same in oc4j.
    I am using the following technologies
    Spring 2.0
    Struts 2.0
    Hibernate 3.3
    JPA 1.0
    OC4J 10.1.3.3.0
    IDE : my eclipse 6.0
    My persistence.xml
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxxx.xxxx.xxxx.xxxx:1521/mydb</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>
              </property>
         </bean>
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Server.xml (oc4j/j2ee/home/config)
    <?xml version="1.0"?>
    <application-server  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd"  application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >
         <shared-library name="global.libraries" version="1.0" library-compatible="true">
              <code-source path="../applib"/>
         </shared-library>
         <shared-library name="global.tag.libraries" version="1.0" library-compatible="true">
              <code-source path="../../home/jsp/lib/taglib/"/>
              <code-source path="../../../j2ee/home/jsp/lib/taglib/"/>
              <code-source path="../../../lib/dsv2.jar"/>
              <import-shared-library name="oracle.xml"/>
              <import-shared-library name="oracle.jdbc"/>
              <import-shared-library name="oracle.cache"/>
              <import-shared-library name="soap"/>
         </shared-library>
         <shared-library name="oracle.persistence" version="1.0" library-compatible="true">
              <code-source path="../../../toplink/jlib/toplink-essentials.jar"/>
              <import-shared-library name="oracle.jdbc"/>
         </shared-library>
         <shared-library name="hibernatejpa" version="1.0">
              <code-source path="ejb3-persistence.jar"/>
              <code-source path="hibernate3.jar"/>
              <code-source path="hibernate-annotations.jar"/>
              <code-source path="hibernate-commons-annotations.jar"/>
              <code-source path="hibernate-entitymanager.jar"/>
              <code-source path="jboss-archive-browsing.jar"/>
              <code-source path="jta.jar"/>
         </shared-library>
         <shared-library name="db" version="1.0">
              <code-source path="ojdbc14.jar"/>
         </shared-library>
         <shared-library name="displaytab" version="1.0">
              <code-source path="commons-beanutils-1.7.0.jar"/>
              <code-source path="commons-lang-2.3.jar"/>
              <code-source path="displaytag-1.1.1.jar"/>
         </shared-library>
         <shared-library name="ehCache" version="1.0">
              <code-source path="backport-util-concurrent.jar"/>
              <code-source path="ehcache-1.4.0-beta2.jar"/>
              <code-source path="jsr107cache-1.0.jar"/>
         </shared-library>
         <shared-library name="json" version="1.0">
              <code-source path="ezmorph-1.0.4.jar"/>
              <code-source path="json.jar"/>
         </shared-library>
         <shared-library name="other_sets" version="1.0">
              <code-source path="commons-fileupload-1.1.jar"/>
              <code-source path="dom4j-1.6.1.jar"/>
              <code-source path="dwr.jar"/>
              <code-source path="javassist.jar"/>
              <code-source path="log4j-1.2.13.jar"/>
         </shared-library>
         <shared-library name="spring2" version="1.0">
              <code-source path="aspectjrt.jar"/>
              <code-source path="aspectjweaver.jar"/>
              <code-source path="cglib-nodep-2.1_3.jar"/>
              <code-source path="spring.jar"/>
         </shared-library>
         <shared-library name="struts2" version="1.0">
              <code-source path="antlr-2.7.2.jar"/>
              <code-source path="commons-collections.jar"/>
              <code-source path="commons-io-1.1.jar"/>
              <code-source path="commons-logging-1.0.4.jar"/>
              <code-source path="freemarker-2.3.8.jar"/>
              <code-source path="ognl-2.6.11.jar"/>
              <code-source path="struts2-core-2.0.9.jar"/>
              <code-source path="struts2-spring-plugin-2.0.9.jar"/>
              <code-source path="xwork-2.0.4.jar"/>
         </shared-library>
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <javacache-config path="../../../javacache/admin/javacache.xml" />
         <j2ee-logging-config path="./j2ee-logging.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" extdirs="C:\Program Files\Java\jdk1.5.0_07\jre\lib\ext" />
         <global-application name="default" path="application.xml" parent="system" start="true" />
         <application name="javasso" path="../../home/applications/javasso.ear" parent="default" start="false" />
         <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" />
         <application name="Test" path="../applications\Test.ear" parent="default" start="true" />
         <application name="OraTest" path="../applications\OraTest.ear" parent="default" start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <transaction-manager-config path="transaction-manager.xml" />
         <web-site default="true" path="./default-web-site.xml" />
         <cluster  id="6745699755968" />
    </application-server>Orion-application.xml (oc4j/j2ee/home/config)
    <?xml version="1.0"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" deployment-version="10.1.3.1.0" default-data-source="jdbc/OracleDS" component-classification="external"
    schema-major-version="10" schema-minor-version="0" >
    <imported-shared-libraries>
         <import-shared-library name="hibernatejpa"/>
         <import-shared-library name="db"/>
         <import-shared-library name="displaytab"/>
         <import-shared-library name="ehCache"/>
         <import-shared-library name="json"/>
         <import-shared-library name="other_sets"/>
         <import-shared-library name="spring2"/>
         <import-shared-library name="struts2"/>
    </imported-shared-libraries>
    </orion-application>Please help to deploy my application, I created one application with struts2 and spring2 and that is working fine, but when I try to add JPA with hibernate 3.3 I am unable to deploy it.
    Thanks a lot in advance.
    With best regards,
    Ishaan

    Hi,
    Thank you very much for your reply. the previous Exception has gone but now I get the following one.
    Exception: NoClassDefFoundError: Missing class: org.dom4j.DocumentException Dependent class: org.hibernate.ejb.HibernatePersistence Loader: hibernatejpa:1.0 Code-Source: /C:/oracle123/j2ee/home/shared-lib/hibernatejpa/1.0/hibernate-entitymanager.jar Configuration: in /C:/oracle123/j2ee/home/config/server.xml The missing class is available from the following locations: 1. Code-Source: /C:/oracle123/j2ee/home/shared-lib/other_sets/1.0/dom4j-1.6.1.jar (from in /C:/oracle123/j2ee/home/config/server.xml) This code-source is available in loader other_sets:1.0.
    [Jun 2, 2008 10:57:17 AM] Operation failed with error: Missing class: org.dom4j.DocumentException Dependent class: org.hibernate.ejb.HibernatePersistence Loader: hibernatejpa:1.0 Code-Source: /C:/oracle123/j2ee/home/shared-lib/hibernatejpa/1.0/hibernate-entitymanager.jar Configuration: in /C:/oracle123/j2ee/home/config/server.xml The missing class is available from the following locations: 1. Code-Source: /C:/oracle123/j2ee/home/shared-lib/other_sets/1.0/dom4j-1.6.1.jar (from in /C:/oracle123/j2ee/home/config/server.xml) This code-source is available in loader other_sets:1.0. with bset regards,
    ishaan

  • Multi Mapping with out BPM and Receiver Determination Condition

    Hi Masters,
    My Requirement Was:
    Proxy will send the data to XI system, Based Customer group number[1000,2000,3000,4000], I need to split the message into 4 messages, and sent to 4 Different location, based on Customer Group condition.
    For message split, I fallowed below weblog.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Problem is file split correctly, but data goes to all customer groups..
    EX
    If they send the customer group 1000, I need to send the customer group 1000 file to BS1[Business Server1],
    If they send the customer group 2000, I need to send the customer group 2000 file to BS2[Business Server1],
    Please guide me,
    Thanks,
    ANU-

    Hi,
    Develope it like follow.
    Source Structure- Same for everything.
    Create 4 different structures for all targets, create 4 different msg types, 4 inbound message interface ( i think you are creating single Message type now, that is the mistake)
    In message maaping, add 4 target message types in same MM.. i hope i am clear..  ( same like in blog /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible he has created 2 message types USER_1 and Employee)
    keep occurence of all of them 0 to unbunded (not necessary)
    Now create mapping for each message type (same like USER_1 and Employee, imagine them like different message types virtually). 
    Map message type with the source field and mention the condition which you want test using graphical functions.  i will say if x e equla to 1 creatif --> target.
    I hope i m clear till now...
    thanks.

  • Mapping with both source and destination as flat files???

    hi I have two two flat files(large data) for example A and B.
    let us say
    A has records of format( characteres of size(5) , numbers of size(6) , characteres of size(5) )
    B has records of format( characteres of size(5) , numbers of size(6) )
    i have to map these flat files so that rocords with numbers in both files should be added where the records of characters in both files are same) and output a flat file C .
    i.e
    A(aaaaa111111bbbbb222222ccccc111111
    bbbbb111111fffff666666ddddd333333)
    B (aaaaa222222)
    output should be(aaaaa333333)
    i have created the flat file module and could able to sample A and B .
    I have also created an external table based on A and B.but the data is not been showed ih the external table.How to map this.
    Pls guide me.
    srry for being long here.
    Thanks 4 ur time.

    Sounds like your datatypes/settings are incorrect.
    To process a file (let's call it stuff.txt) with fixed length records such as the following...
    aaaaa111111bbbbb222222ccccc111111bbbbb111111fffff666666ddddd
    Here is an example tcl script. There are some variables you have to setup for the flat file module, the oracle module, the File location and project name all of which should exist before running. It will create the flat file, external table, a simple mapping from external table to flat file defined by tcl variable target_file (in same directory as the LOC_SRC_FILES, you can change this..its just for demo purposes and will write a comma separated file). Hopefully this will get you up and going with your problem...
    # Create the modules etc and set the values below, then run
    set project MY_PROJECT
    set ff_module FF
    set ff_location LOC_SRC_FILES
    set ora_module MM
    set target_file my_target_file
    OMBCC '/$OMB_CURRENT_PROJECT'
    OMBDCC
    OMBCC '$ff_module'
    OMBCREATE FLAT_FILE 'FSTUFF' SET PROPERTIES (DATA_FILE_NAME,IS_DELIMITED, RECORD_LENGTH) VALUES ('stuff.txt',0, '16') ADD RECORD 'FSTUFF'
    OMBALTER FLAT_FILE 'FSTUFF' MODIFY RECORD 'FSTUFF' ADD FIELD 'FIELDA' SET PROPERTIES (DATATYPE,START_POSITION,END_POSITION,MAXIMUM_LENGTH) VALUES ('CHAR',1,5,5)
    OMBALTER FLAT_FILE 'FSTUFF' MODIFY RECORD 'FSTUFF' ADD FIELD 'FIELDB' SET PROPERTIES (DATATYPE,START_POSITION,END_POSITION,MAXIMUM_LENGTH) VALUES ('DECIMAL EXTERNAL',6,11,6)
    OMBALTER FLAT_FILE 'FSTUFF' MODIFY RECORD 'FSTUFF' ADD FIELD 'FIELDC' SET PROPERTIES (DATATYPE,START_POSITION,END_POSITION,MAXIMUM_LENGTH) VALUES ('CHAR',12,16,5)
    OMBCC '../$ora_module'
    OMBCREATE EXTERNAL_TABLE 'FSTUFF_EXT' SET PROPERTIES(LOAD_NULLS_WHEN_MISSING_VALUES,TRIM) VALUES (1, 'RIGHT') SET REFERENCE RECORD 'FSTUFF' OF FLAT_FILE '../$ff_module/FSTUFF' DEFAULT_LOCATION '$ff_location'
    OMBCREATE MAPPING 'FILE_TO_FILE'
    OMBALTER MAPPING 'FILE_TO_FILE' ADD EXTERNAL_TABLE OPERATOR 'SOURCE_STUFF' BOUND TO EXTERNAL_TABLE 'FSTUFF_EXT'
    OMBALTER MAPPING 'FILE_TO_FILE' ADD FLAT_FILE OPERATOR 'TARGET_FILE'
    OMBALTER MAPPING 'FILE_TO_FILE' ADD CONNECTION FROM GROUP 'OUTGRP1' OF OPERATOR 'SOURCE_STUFF' TO GROUP 'INOUTGRP1' OF OPERATOR 'TARGET_FILE'
    OMBALTER MAPPING 'FILE_TO_FILE' SET PROPERTIES (GENERATION_LANGUAGE) VALUES ('PLSQL')
    OMBALTER MAPPING 'FILE_TO_FILE' MODIFY OPERATOR 'TARGET_FILE' SET PROPERTIES (TARGET_DATA_FILE_NAME) VALUES ('$target_file')
    OMBALTER MAPPING 'FILE_TO_FILE' MODIFY OPERATOR 'TARGET_FILE' SET PROPERTIES (TARGET_DATA_FILE_LOCATION) VALUES ('$ff_location')
    You can do all this in the UI, just thought it would be useful as a script for you.
    Cheers
    David

  • Display Problem - Video noise with 15" Powerbook and 23" Studio Display

    I just bought a used 23" Studio Display to act as a second monitor for my 1.0 GHz 15" Powerbook. In my set up, the display is rather noisy -- there are consistant flickering lines of white pixels throughout the display. The lines are worst in dark areas, though they may just be showing up under contrast. The Powerbook it is connected to still looks normal.
    The first strange thing is that the display works perfectly with another 1.25 GHz 15" Powerbook I have to test it on. In both cases, I have connected the monitor to the Powerbooks with a new Apple brand powered DVI to ADV Adapter.
    The second strange thing is that the display seemed to act fine until I reinstalled my Wacom tablet driver so that it would work with dual displays. I've uninstalled the driver, but it the problem is still there.
    The third strange thing is that the display is fine while booting up. The blue boot up screen is very crisp looking and noiseless. It only starts showing noise when the login screen shows up.
    Any thoughts about what may be causing the problem or how to fix it would be appreciated.
    Thanks.
    angus.
    Powerbook 15" G5 dual 2.0   Mac OS X (10.4.7)   23" studio display

    Well I called AppleCare yesterday and, believe it or not, we actually got the USB ports acting normally - well at least I can boot up with the keyboard plugged into the back of the monitor.
    They had me reset the Open Firmware and that seemed to do the trick. Of course, the night before I updated to 10.4.10 so that may have had something to do with it, too. No idea.
    As for the power sensor button thing, they wanted me to plug the monitor into a different system, either at a Genius Bar or a friend or whatnot to see if it would behave in the same manner - not wanting to activate. I took it to school with me and hooked it up to one of my teacher's G5 and it behaved the same way. It took like 15 times touching the sensor to bring the system up.
    So I'll be calling them back and see where they want to go with this. Maybe I'll get lucky and get a new shiny monitor - or not...

  • Problem may be with saaj.jar and AXIS,WAS,WSAD

    Hi,
    I have successfully developed and deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test Environment. I have even able to access the EJB using UTC(Universal Test Client) in WSAD and by launching the j2ee client module using
    WebSphere lauchClient program.
    Basically I have below directory structure:
    a.ear
    --|-----axis.war
    -----------|------ lib
    --------------------|--- all axis related jars are here
    --|-----demoEjb.jar (has java jar dependencies set to axis.war\lib jars
    I have now exposed this ejb as web service using AXIS 1.2 RC2 deployed as web module inside WSAD. This web service is properly exposed as web service as I can see it and access its wsdl when I access axis web services.
    Now I have written a standalone-outside-wsad web service client that uses AXIS stubs and when I try to consume to this ejb web service I am getting below error.
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (500)Internal Server Error
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 500
    Error 500: class org.apache.axis.SOAPPart does not implement interface org.w3c.dom.Document
    {http://xml.apache.org/axis/}HttpErrorCode:500
    (500)Internal Server Error
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:663)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
    at org.apache.axis.client.Call.invoke(Call.java:2702)
    at org.apache.axis.client.Call.invoke(Call.java:2378)
    at org.apache.axis.client.Call.invoke(Call.java:2301)
    at org.apache.axis.client.Call.invoke(Call.java:1758)
    at com.sosnoski.test.DemoBindingStub.getAccountHistory(DemoBindingStub.java:194)
    at com.sosnoski.test.Client.query(Client.java:63)
    at com.sosnoski.test.Client.main(Client.java:100)
    I read somewhere with axis mailing lists that it is problem related to axis's saaj.jar and wsad's websphere 5.0
    test environment's webservices.jar so I even replaced my wsad installation's D:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v5\lib\webservices.jar with
    saaj.jar but this did not help and even I have added an references to saaj.jar usign wsad's websphere 5.0 test environment
    environment tab->ws.ext.dirs property and even this did not help.
    Can anyone please tell me why is error occurring and how to solve it ?
    Thanks & Regards,
    Kumar.

    Yes :-)
    At the ear level, set the Classloader mode to PARENT_FIRST and WAR classloader policy to APPLICATION. At the axis web module level, set the Classloader mode to PARENT_LAST
    We can colloborate to our future efforts if you can please give your active personal id from which you can respond faster for queries ....

  • Problem in mapping with optional tag

    Hi all,
    I have to map the following messages:
    Source:
    <POITEM> (occurrence 0...unbounded)
       <TipoRecord></TipoRecord>
       <PO_ITEM></PO_ITEM>
       <DELETE_IND></DELETE_IND>
    </POITEM>
    <POITEM>
       <TipoRecord></TipoRecord>
       <PO_ITEM></PO_ITEM>
       <DELETE_IND></DELETE_IND>
    </POITEM>
    Target:
    <POITEM_B> (occurrence 0 1)
        <item>  (occurrence 0...unbounded)
           <TipoRecord></TipoRecord>
           <PO_ITEM></PO_ITEM>
           <DELETE_IND></DELETE_IND>
        </item>
         <item>
            <TipoRecord></TipoRecord>
            <PO_ITEM></PO_ITEM>
            <DELETE_IND></DELETE_IND>
         </item>
    </POITEM_B>
    To do this mapping I have mapped "POITEM" of the source message with "item" of the target one and in that way the cardinality is ok.
    Since POITEM_B is optional, even if there are in the source message <POITEM> elements, the tag <POITEM_B> is not created (nor its children).
    So I mapped <POITEM> to <POITEM_B>:
    the result is ok only for the first <POITEM> element; the second <POITEM> element generates the tag <POITEM_B> without any tag <item> below!
    I have tried in several ways (like changing context, and others), but the only way I have found to get all the correct <item> tags below <POITEM>, is to map <POITEM_B> with a Constant!!!
    Someone can suggest me a better solution?
    ThankS!
    Luciana

    Hi Luciana,
    when I understand you correct you just want to create the <POITEM_B> and <item> nodes of the target structure if <POITEM> exists. If not, you don't want to create <POITEM_B> and all nodes below, correct?
    If so, please try the following:
    <POITEM> --> NodeFunction Exists --> NodeFunction collapseContexts  --> NodeFunction createIf --> <POITEM_B>
    --> This should generate exactly one <POITEM_B> if 1..n <POITEM> elements exist.
    <POITEM> --> <item>
    --> This should generate the same number <item> nodes you've <POITEM> nodes
    Best regards
    Lars

Maybe you are looking for

  • FIM Sync and SharePoint Foundation 2013

    I'm looking into syncing to SharePoint via the FIM synchronisation engine, not using the FIM Portal at all. There's a connector(MA) for SharePoint but it requires UPA, User Profile Service, which isn't in the foundation version. I want to use foundat

  • How do i stop my tabs from showing in cantonese language?

    i was searching for a cantonese film a few weeks ago just after the last update, i accidentally skipped the update information part. and now my tabs keep changing to cantonese to the point where i can click on my tabs, open new ones or cross off them

  • Photo gallery and camera not responding....what to do..

    hey guys...yesterday i clicked a photo from my phone and suddenly it stops showing photos in gallery...and even it stoped taking pictures...and now its showing 2,22,45,444 photos in settings (update)...however i have clicked only 100-150 photos as ye

  • JAX-RPC and non-primitive data types

    Hello all! I am using JWSDP v1.3 and i have a problem using non-primitive data types as return types for my operations. Consider the helloservice example of the JWSDP1.3 tutorial. Now suppose that instead of having the simple operation sayHello() tha

  • Problem upgrading and installing virtualbox-modules

    Have some problems upgrading and installing virtualbox-modules [elgringo@compjotr Desktop]$ sudo pacman -S community/virtualbox-modules resolving dependencies... looking for inter-conflicts... error: failed to prepare transaction (could not satisfy d