DBAdapter and Sequcne on 10.1.3.3

I have an issue regarding using native sequnce in DBAdapter to insert a new record into database.
For Bpel 10.1.2
I have to problem to use native sequnce by setting *mappig.xml and oc4j.xml.
For Bpel 10.1.3.3 I saw "cnnot insert NULL" error. I am not sure why.
==The error message
ORA-01400: cannot insert NULL into ("AP"."AP_INVOICES_INTERFACE"."INVOICE_ID") Error Code: 1400 Query:InsertObjectQuery(&lt;ApInvoiceLinesInterface {&lt;ApInvoicesInterface null />} null />)</detail> }}
==Setting on my ApInvoice.xml
<opm:primary-key>
opm:field table="AP_INVOICE_LINES_INTERFACE" name="INVOICE_ID" xsi:type="opm:column"/>
<opm:field table="AP_INVOICE_LINES_INTERFACE" name="INVOICE_LINE_ID" xsi:type="opm:column"/>
</opm:primary-key>
<toplink:sequencing>
<toplink:sequence-name>AP.AP_INVOICE_LINES_INTERFACE_S</toplink:sequence-name>
<toplink:sequence-field table="AP_INVOICE_LINES_INTERFACE" name="INVOICE_LINE_ID" xsi:type="opm:column"/>
</toplink:sequencing>
<opm:primary-key>
<opm:field table="AP_INVOICES_INTERFACE" name="INVOICE_ID" xsi:type="opm:column"/>
</opm:primary-key>
<toplink:sequencing>
<toplink:sequence-name>AP.AP_INVOICES_INTERFACE_S</toplink:sequence-name>
<toplink:sequence-field table="AP_INVOICES_INTERFACE" name="INVOICE_ID" xsi:type="opm:column"/>
</toplink:sequencing>

I did some experiments
I created a sequence TESTAN_S start with 50 increment by 50.
I have inserted 300 rows using DB adaptrer with native sequencing option.
The ID's in table are incremented by 1 staring with 50 ie 50,51,52,53.....upto 351..
This is wrong as sequence.nextval should always be incerments of 50 not 1. I dont know why this is happening. What is the significance of preallocation size tag?
Here are the steps I followed to achieve this. its working somewhat but not exactly what i was expecting. I just changes the files manually and did not run any wizards after changing the files manually.
1. On the Top link I have selected Native sequencing Option and pre allocation=50 and Save
2. Open the bpel/servicename_toplink_mappings.xml and add sequence.. see the xml pasted below.
<?xml version="1.0" encoding="UTF-8"?>
<toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<opm:name>readtest_service</opm:name>
<opm:class-mapping-descriptors>
<opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
<opm:class>readtestservice.Readtest</opm:class>
<opm:alias>Readtest</opm:alias>
<opm:primary-key>
<opm:field table="READTEST" name="ID" xsi:type="opm:column"/>
</opm:primary-key>
<opm:events xsi:type="toplink:event-policy"/>
<opm:querying xsi:type="toplink:query-policy">
<opm:queries>
<opm:query name="findAllReadtest" xsi:type="toplink:read-all-query">
<toplink:timeout>0</toplink:timeout>
<toplink:reference-class>readtestservice.Readtest</toplink:reference-class>
<toplink:cache-usage>primary-key</toplink:cache-usage>
<toplink:lock-mode>none</toplink:lock-mode>
<toplink:container xsi:type="toplink:list-container-policy">
<toplink:collection-type>java.util.Vector</toplink:collection-type>
</toplink:container>
</opm:query>
</opm:queries>
<toplink:does-exist-query xsi:type="toplink:does-exist-query">
<toplink:existence-check>check-database</toplink:existence-check>
</toplink:does-exist-query>
</opm:querying>
<opm:attribute-mappings>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>id</opm:attribute-name>
<opm:field table="READTEST" name="ID" xsi:type="opm:column"/>
<opm:attribute-classification>java.math.BigDecimal</opm:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>value</opm:attribute-name>
<opm:field table="READTEST" name="VALUE" xsi:type="opm:column"/>
<opm:attribute-classification>java.lang.String</opm:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>updateDate</opm:attribute-name>
<opm:field table="READTEST" name="UPDATE_DATE" xsi:type="opm:column"/>
<opm:attribute-classification>java.sql.Timestamp</opm:attribute-classification>
</opm:attribute-mapping>
</opm:attribute-mappings>
<toplink:descriptor-type>independent</toplink:descriptor-type>
<toplink:caching>
<toplink:cache-type>weak-reference</toplink:cache-type>
<toplink:always-refresh>true</toplink:always-refresh>
</toplink:caching>
<toplink:remote-caching>
<toplink:cache-type>weak-reference</toplink:cache-type>
</toplink:remote-caching>
<toplink:instantiation/>
<toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
<toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
          <toplink:sequencing>
<toplink:sequence-name>TESTAN_S</toplink:sequence-name>
<toplink:sequence-field table="READTEST" name="ID" xsi:type="opm:column"/>
</toplink:sequencing>
<toplink:tables>
<toplink:table name="READTEST"/>
</toplink:tables>
</opm:class-mapping-descriptor>
</opm:class-mapping-descriptors>
</toplink:object-persistence>
3. add following in class descriptor.xml in toplink/servicename/descripter/servicename.tablename.ClassDescripter.xml
<sequence-number-name>TESTAN_S</sequence-number-name>
<uses-sequencing>true</uses-sequencing>
see below for the complete file:
<?xml version = '1.0' encoding = 'UTF-8'?>
<descriptor>
<unique-filename>readtestservice.Readtest.ClassDescriptor</unique-filename>
<active>true</active>
<bldr-class>readtestservice.Readtest</bldr-class>
<mappings>
<mapping>
<inherited>false</inherited>
<instance-variable-name>id</instance-variable-name>
<default-field-names>
<default-field-name>direct field=</default-field-name>
</default-field-names>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<get-method-handle>
<method-handle/>
</get-method-handle>
<set-method-handle>
<method-handle/>
</set-method-handle>
<direct-mapping-field-handle>
<field-handle>
<field-table>APPS.READTEST</field-table>
<field-name>ID</field-name>
</field-handle>
</direct-mapping-field-handle>
<mapping-class>MWDirectToFieldMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>value</instance-variable-name>
<default-field-names>
<default-field-name>direct field=</default-field-name>
</default-field-names>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<get-method-handle>
<method-handle/>
</get-method-handle>
<set-method-handle>
<method-handle/>
</set-method-handle>
<direct-mapping-field-handle>
<field-handle>
<field-table>APPS.READTEST</field-table>
<field-name>VALUE</field-name>
</field-handle>
</direct-mapping-field-handle>
<mapping-class>MWDirectToFieldMapping</mapping-class>
</mapping>
<mapping>
<inherited>false</inherited>
<instance-variable-name>updateDate</instance-variable-name>
<default-field-names>
<default-field-name>direct field=</default-field-name>
</default-field-names>
<uses-method-accessing>false</uses-method-accessing>
<read-only>false</read-only>
<get-method-handle>
<method-handle/>
</get-method-handle>
<set-method-handle>
<method-handle/>
</set-method-handle>
<direct-mapping-field-handle>
<field-handle>
<field-table>APPS.READTEST</field-table>
<field-name>UPDATE_DATE</field-name>
</field-handle>
</direct-mapping-field-handle>
<mapping-class>MWDirectToFieldMapping</mapping-class>
</mapping>
</mappings>
<sequence-number-name>TESTAN_S</sequence-number-name>
<uses-sequencing>true</uses-sequencing>
<should-always-refresh-cache>true</should-always-refresh-cache>
<primary-key-field-handles>
<field-handle>
<field-table>APPS.READTEST</field-table>
<field-name>ID</field-name>
</field-handle>
</primary-key-field-handles>
<primary-table>APPS.READTEST</primary-table>
<associated-tables>
<associated-table>
<name>APPS.READTEST</name>
</associated-table>
</associated-tables>
<sequence-number-field-handle>
<field-handle/>
</sequence-number-field-handle>
<class-descriptor-query-manager>
<query-manager>
<descriptor-alias>Readtest</descriptor-alias>
<query-list>
<query>
<name>findAllReadtest</name>
<query-type>oracle.toplink.queryframework.ReadAllQuery</query-type>
<cache-usage>Check Cache by Primary Key</cache-usage>
<lock-mode>Do Not Acquire Locks</lock-mode>
<distinct-state>Uncomputed Distinct</distinct-state>
<in-memory-query-indirection-policy>Throw Indirection Exception</in-memory-query-indirection-policy>
<cache-query-results>false</cache-query-results>
<maintain-cache>true</maintain-cache>
<refresh-identity-map-result>false</refresh-identity-map-result>
<refresh-remote-identity-map-result>false</refresh-remote-identity-map-result>
<use-wrapper-policy>true</use-wrapper-policy>
<prepare>true</prepare>
<query-timeout>0</query-timeout>
<maximum-rows>0</maximum-rows>
<format>
<query-format>
<main-compound-expression>
<expression>
<operator-type>AND</operator-type>
<expression-class>MWCompoundExpression</expression-class>
</expression>
</main-compound-expression>
<query-format-class>MWExpressionQueryFormat</query-format-class>
</query-format>
</format>
</query>
</query-list>
</query-manager>
</class-descriptor-query-manager>
<class-descriptor-identity-policy>
<identity-policy>
<identity-map-size>100</identity-map-size>
<identity-map-class-name>oracle.toplink.internal.identitymaps.WeakIdentityMap</identity-map-class-name>
<existence-checking>Check database</existence-checking>
</identity-policy>
</class-descriptor-identity-policy>
<descriptor-class>MWClassDescriptor</descriptor-class>
</descriptor>

Similar Messages

  • DBAdapter and XA Transactions

    I'm using DB Adapter from BPEL (and/or ESB), I've to update an orcl database and a ms sql server. I would like to use xa transactions. As long as I've the db adapter provided with soa suite 10.1.3.1 .0 supports global xa transactions via JCA 1.5 XA Constracts.
    I'm looking for any documentation or sample that explains how to configure it. Could anybody point me to some information?
    Thanks, Ferran

    I've found and example for soa suite 10.1.3.1.0 in
    soa_home\bpel\samples\demos\BankTransferDemo
    Ferran

  • Automate DBAdapter creation and testing using ANT

    I am using SOA suite 10.1.3.1.
    I would like to automate creation and testing of DBAdapter and I know that we have some ANT task to create and test connection pool and datasource like
    createJDBCConnectionPool
    createManagedDataSource
    testConnectionPool
    testDataSource
    etc...
    but I fail to found ANT task for DBAdapter.
    It would be grateful if someone can tell if it exists or not.

    sure, it's my pleasure.
    Before running the code, please read the following document first. They talked about how to use JMX to control the AS. Basically, you will need the admin client library to do the job as Oracle don't use JRMP, so you need the library to provide the underlaying protocol(i.e. ORMI).
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/adminclient.htm#CHDGIAEI
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28952/mbeans.htm#CIHCCAFJ
    here comes the sample code
    String url = "service:jmx:ormi:///opmn://<host>:<opmn reuqest port>/<OC4J instance for BPEL>";
    String login = "<username>";
    String pass = "<password>";
    String mbeanName = "oc4j:j2eeType=JCAConnectionDefinition,name=javax.resource.cci.ConnectionFactory,ResourceAdapter=Database Adapter,ResourceAdapterModule=DbAdapter,J2EEApplication=default,J2EEServer=standalone";
    String opName = "addConnectionFactory";
    // connection setup
    JMXServiceURL serviceURL = new JMXServiceURL(url);
    Hashtable credentials = new Hashtable();
    credentials.put("login", login);
    credentials.put("password", pass);
    Hashtable env = new Hashtable();
    env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "oracle.oc4j.admin.jmx.remote");
    env.put(JMXConnector.CREDENTIALS, credentials);
    JMXConnector jmxCon = JMXConnectorFactory.newJMXConnector(serviceURL, env);
    jmxCon.connect();
    MBeanServerConnection mbServer = jmxCon.getMBeanServerConnection();
    // prepare parameters for the invocation
    Object[] param = new Object[4];
    param[0] = "<JNDI name of the DbAdapter>";
    Map temp;
    param[1] = temp = new HashMap();
    temp.put("defaultNChar", Boolean.FALSE);
    temp.put("platformClassName", "oracle.toplink.platform.database.Oracle9Platform");
    temp.put("sequencePreallocationSize", new Integer(50));
    temp.put("usesBatchWriting", Boolean.TRUE);
    temp.put("usesNativeSequencing", Boolean.TRUE);
    temp.put("xADataSourceName", "<dataSource name>"); // assume that the dataSource is created somewhere else
    param[2] = new Integer(1); // 1 for private connection pool
    param[3] = ""; // connection pool name, not useful for private pool
    // prepare signature of the operation which we would like to invoke
    String[] signature = new String[4];
    signature[0] = "java.lang.String";
    signature[1] = "java.util.Map";
    signature[2] = "java.lang.Integer";
    signature[3] = "java.lang.String";
    ObjectName beanName = new ObjectName(mbeanName);
    mbServer.invoke(beanName, opName, param, signature);

  • Error while deploying polling dbadapter as proxy service in osb console

    Hi all,
    I have created a db adapter in Jdeveloper and imported it into oepe. I have create a proxy service from that . Which i have just deployed to verify on doing so i am getting the following execption.
    <Internal error occured in OSBConsole : null
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    Caused By: java.lang.NoClassDefFoundError: oracle/tip/adapter/api/NeedRARClassLoader
        at oracle.tip.adapter.sa.impl.meta.JCABindingEndpointMetadataHelper.validateJCAOperationSpecProperties(JCABindingEndpointMetadataHelper.java:272)
    I have admin server and no other managed servers. I have configured the Dbadapter and redeployed the adapter. I have tested the connection using a sample BPEL and it's working fine. Any suggestions......
    Thanks

    Hi Vladodias,
    Thanks for the reply. My dbadapter is active and is deployed to admin server i have checked it twice . I have no managed servers as all of them were in development mode . I have targeted the db adapter to the admin server.
    Here are the versions i am using
    Jdev 11.1.7
    WLS 10.6
    SOA Suite 11.1.6
    OSB 11.1.7
    Thanks....

  • Receive java.lang.NullPointerException (JCA-12563) on SCA with Stored Procedure dbAdapter (SOA Suite 12.1.3)

    Hi,
    I'm new to the Oracle SOA Suite and have been creating very simple SCA WebServices (async and sync) prototypes to INSERT, UPDATE and Poll Oracle 9i and 11g databases. So far, everything works and passes the tests from EM.
    I cannot get the Stored Procedure WebService to test successfully as I receive the error message below regardless of JNDI configuration for XA, non-XA, Last Logging Resource, Support Global Transactions,PlatformClassName, etc...  The Outbound Connection Pool is setup correctly as the other DML tests have worked fine.
    BINDING.JCA-12563
    Exception occurred when binding was invoked.
    Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'dbReference' failed due to: Interaction processing error.
    Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
    An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Caused by: BINDING.JCA-12563
    Exception occurred when binding was invoked.
    Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'callAPI' failed due to: Interaction processing error.
    Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
    An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
       at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:569)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:724)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:689)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:628)
        at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:325)
        ... 84 more
    Caused by: BINDING.JCA-11812
    Interaction processing error.
    Error while processing the execution of the IFSAPP.TEST_SOA_API API interaction.
    An error occurred while processing the interaction for invoking the IFSAPP.TEST_SOA_API API. Cause: java.lang.NullPointerException
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD.  This exception is considered not retriable, likely due to a modelling mistake.
        at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:690)
        at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:656)
        at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:180)
        at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:183)
        at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1302)
        at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:307)
        at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:415)
    Caused by: java.lang.NullPointerException
        at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:162)
        ... 91 more
    The SP SCA is the simplest possible application I can think of...  The WebService accepts a single INT, calls BPEL>Receive>Assign>Invoke>dbAdapter(Stored Procedure) that accepts a single IN INTEGER parameter in an Oracle 11g database.
    Steps I've used to create the SP SCA. (Create Empty SOA Application)
    1.) Create Database Adapter in External References swim lane.
    2.) Set JNDI and Connection.
    3.) Browse to Oracle Procedure...click through Wizard and accept all defaults.
       CREATE OR REPLACE PROCEDURE TEST_SOA_API (
         wo_order_no_ IN INTEGER)
       IS
       BEGIN
         INSERT INTO TEST_TMP VALUES (wo_order_no_);
       END;
    4.) WSDL, XSD, JCA are automatically generated. 
    5.) Create BPEL Process Component and select Template "Base on a WSDL".  I choose the WSDL created from the Database Adapter wizard.
    6.) The "Exposed Service" is automatically created and everything is wired.
    7.) I deploy to my CompactDomain (running on a local Oracle12 db).  No errors.
    8.) I login to EM and Test the WebService..and ALWAYS receive the error message above.
    I've tried BPEL Process and Mediator as components to simply pass the single incoming INT parameter to the SP DbAdapter and tried every combination I can think of with DataSource/DbAdapter Deployment through the Admin console.  I used the same exact steps above for INSERT, UPDATE, Polling and have had no issues so I cannot figure out why I'm not receiving java.NullPointer exception or why I'm receiving the XML/XSD malformation error.
    Stuck now...anyone have an idea what I'm doing wrong or simply tell me I'm an idiot and shouldn't do SP's this way?
    FYI.  I've turned on logging for the oracle.soa.adapter.db class to TRACE: 32(FINEST).  Not much help to me
    [2015-04-02T09:03:55.706-05:00] [AdminServer] [WARNING] [ADF_FACES-00007] [oracle.adf.view.rich.render.RichRenderer] [tid: 118] [userId: weblogic] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-00000788,0] [APP: em] [DSID: 0000KluHqzk0NuGayxyWMG1L7K52000003] Attempt to synchronized unknown key: viewportSize.
    [2015-04-02T09:05:23.971-05:00] [AdminServer] [TRACE] [] [oracle.soa.adapter.db.outbound] [tid: 115] [userId: <anonymous>] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-000007db,1:17474] [APP: soa-infra] [oracle.soa.tracking.FlowId: 250004] [oracle.soa.tracking.InstanceId: 1270014] [oracle.soa.tracking.SCAEntityId: 90004] [composite_name: OraclePLSQL2!1.0] [FlowId: 0000KluSpyP0NuGayxyWMG1L7K52000007] [SRC_CLASS: oracle.tip.adapter.db.sp.AbstractStoredProcedure] [SRC_METHOD: execute]  [composite_version: 1.0] [reference_name: dbReference] BEGIN IFSAPP.TEST_SOA_API(WO_ORDER_NO_=>?); END;
    [2015-04-02T09:05:23.972-05:00] [AdminServer] [TRACE] [] [oracle.soa.adapter.db.outbound] [tid: 115] [userId: <anonymous>] [ecid: 852497f1-b648-4cac-9cee-05e7972ce68e-000007db,1:17474] [APP: soa-infra] [oracle.soa.tracking.FlowId: 250004] [oracle.soa.tracking.InstanceId: 1270014] [oracle.soa.tracking.SCAEntityId: 90004] [composite_name: OraclePLSQL2!1.0] [FlowId: 0000KluSpyP0NuGayxyWMG1L7K52000007] [SRC_CLASS: oracle.tip.adapter.db.sp.AbstractStoredProcedure] [SRC_METHOD: execute]  [composite_version: 1.0] [reference_name: dbReference] Bindings [WO_ORDER_NO_=>INTEGER(2343)]
    WSDL
    <wsdl:definitions
         name="dbReference"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/OraclePLSQL2/OraclePLSQL2/dbReference"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/OraclePLSQL2/OraclePLSQL2/dbReference"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
         xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        >
      <plt:partnerLinkType name="dbReference_plt" >
        <plt:role name="dbReference_role" >
          <plt:portType name="tns:dbReference_ptt" />
        </plt:role>
      </plt:partnerLinkType>
        <wsdl:types>
         <schema xmlns="http://www.w3.org/2001/XMLSchema">
           <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference"
                   schemaLocation="../Schemas/dbReference_sp.xsd" />
         </schema>
        </wsdl:types>
        <wsdl:message name="args_in_msg">
            <wsdl:part name="InputParameters" element="db:InputParameters"/>
        </wsdl:message>
        <wsdl:portType name="dbReference_ptt">
            <wsdl:operation name="dbReference">
                <wsdl:input message="tns:args_in_msg"/>
            </wsdl:operation>
        </wsdl:portType>
    </wsdl:definitions>
    XSD
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference" elementFormDefault="qualified">
       <element name="InputParameters">
          <complexType>
             <sequence>
                <element name="WO_ORDER_NO_" type="int" db:index="1" db:type="INTEGER" minOccurs="0" nillable="true"/>
             </sequence>
          </complexType>
       </element>
    </schema>
    Payload XML
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
            <soap:Body>
                    <ns1:InputParameters xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/sp/dbReference">
                            <ns1:WO_ORDER_NO_>667</ns1:WO_ORDER_NO_>
            </ns1:InputParameters>
        </soap:Body>
    </soap:Envelope>

    An even simpler request:
    Can someone create an SCA that simply accepts a single INT parameter and calls a Stored Procedure (Oracle) that inserts this INT into a table?  Maybe upload the project folder structure in a zip? 
    Seems someone with experience on this platform could execute this task in 10-15 minutes.
    CREATE TABLE TEST_TMP (WO_ORDER_NO INT);
       CREATE OR REPLACE PROCEDURE TEST_SOA_API (
         wo_order_no_ IN INTEGER)
       IS
       BEGIN
         INSERT INTO TEST_TMP VALUES (wo_order_no_);
       END;

  • Duplicate processing by DBAdapter when using Distributed Polling with Logical Delete Strategy

    We have DBAdapter based polling services in OSB running across two Active-Active clusters (total 20 managed service across 2 clusters),
    listening to the same database table. (Both clusters read from the same source DB). We want to ensure distributed polling without duplication,
    hence in the DBAdapter we have selected Distributed Polling option, meaning we are using "Select For Update Skip Locking".
    But we see that sometimes, same rows are processed by two different nodes and transactions are processed twice.
    How do we ensure that only one managed server processes a particular row using select for update? We do not want to use the markReservedValue option which was preferred in older version of DBAdapter.
    We are using following values in DB Adapter configuration, the Jdev project for DBAdapter and the OSB proxy using DBAdapter are attached.
    LogicalDeletePolling Strategy
    MarkReadValue = Processed
    MarkUnreadValue = Initiate
    MarkReservedValue = <empty as we are using Skip Locking>
    PollingFrequency = 1 second
    maxRaiseSize = 1
    MaxTransactionSize = 10
    DistributionPolling = checked   (adds lock-n-wait in properties file and changes the SQL to SELECT FOR UPDATE SKIP LOCKED)
    Thanks and Regards

    Hi All,
    Actually I'm also facing the same problem.
    Step I follwed:
    1) Created a job_table in database
    create talbe job_table(id, job_name, job_desc, job_status)
    2)created a bpel process to test the Inbound distributed polling.
    3)Configure the DBAdapter for polling.
    a)update a field in the job_table with logical delete.
    b)select the field name form the drop down
    c) change the read value-->Inprogress and unRead value--->Ready
    d) dont change the value for Reserved value
    e) select the check box for "distributed polling".
    f) the query will be appended with "For update NoWait."
    g)click next and then finish.
    4) Then i followed the below steps.
    To enable pessimistic locking, run through the wizard once to create an inbound polling query. In the Applications Navigator window, expand Application Sources, then TopLink, and click TopLink Mappings. In the Structure window, click the table name. In Diagram View, click the following tabs: TopLink Mappings, Queries, Named Queries, Options; then the Advanced… button, and then Pessimistic Locking and Acquire Locks. You see the message, "Set Refresh Identity Map Results?" If a query uses pessimistic locking, it must refresh the identity map results. Click OK when you see the message, "Would you like us to set Refresh Identity Map Results and Refresh Remote Identity Map Results to true?Ó Run the wizard again to regenerate everything. In the new toplink_mappings.xml file, you see something like this for the query: <lock-mode>1</lock-mode>.
    5) lock-mose is not changed to 1 in toplink_mappingss.xml
    Can we edit the toplink_mappings.xml manually.
    If yes, what allt he values Ineed to change in toplink_mappings.xml file, so that it will not pick the same record for the multiple times in clustered environment.
    Please help me out this is urgent.
    Thanking you in advance.

  • How to create an excel report and send it via email using a BPEL process ?

    Hi Experts,
    I have a requirement to develop a xl report based the data in the DB table. I will have to query the list of records entered / processed during previous day, generated the xl based report and send to users via email.
    I talked to one the experts, he asked me to use the following Adapter and BPEL activities to accomplish it.
                   DBAdapter --> {BPEL  process} --> Java Embedding --> Email Activity.
    Can someone please help me to pass the information retrieved by DBAdapter to Java Embedding and then to email import? I have created DBAdapter and Java Embedding. I don't know, how to retrieve the data read / sent by DBAdapter using Java Embedding. Also please help me to pass the xl attachment to Email Activity.
    Thanks for your help in advance!
    Thanks,
    Harisudhan Selvaraj

    I would suggest something like:
    DBAdapter --> Bpel Process --> File Adapter --> write file to location (you can write in csv which can be imported into xls)
    Read Location --> FileAdapter --> Bpel Process --> Email Activity
    Regards,
    Anshul

  • How to view the visual flow , audit and debug in bpm

    I have successfully deployed a bpel process project to bpel process manager , i am able to see the instance & the process, but when i initiate the process it is not able to display visual flow, debuf and audit . is there any settings to defined in jdeveloper to capture these components from jdev to bpm ?
    i am getting the a message to refresh page every time i click on visual flow
    please support !
    thanks in advance

    Thats an old version any particular reason for installing that version?
    Does the process have two Invokes to an outbound dbadapter, the first Invoke works, the second Invoke actually did not update the database, so it is pending there and that whole part of the process holds (including some activities before this) and this processing does not show in the BPEL Console.
    After the first invoke, this is a "Done performing workitem '12504-BpInv0-BpSeq0.3-4' ",
    but for the second invoke, there is only "Performing workitem '12504-BpInv1-BpSeq0.3-6'", no such information like "Done performing ..."
    Solution
    -- To implement the solution, please execute the following steps:
    1. Please check the second outbound dbadapter and see if there was some error when updating (like database lock).
    2. For testing, delete the second Invoke and redeploy to test if the other activities will show in the BPEL Console.
    cheers
    James

  • DBAdapter Merge

    Trying to update a table using DBAdapter and Merge operation. The table has besides other columns creation_date and last_update_date. What is the best way to populate the creation_date and last_update_date to sysdate when inserting a row, and only populate last_update_date when updating a row in the database?
    Thanks,

    I'm using database triggers as well, if your acquanted with pl/sql that would be the 1st choice, especially because you can generate the needed triggers for all your audit columns.
    On the other hand you can define annotations in JPA, EJB3.0 now to populate your audit-columns automatically, maybe this can be done as well in the toplink mapping files?
    It should be possible, but I don't now until which level annotations are supported in toplink used by the dbAdapters.
    Kind regads,
    Nathalie

  • ESB DbAdapter primary key question

    Hi,
    I have an ESB process that pushes data from a legacy table into the GL_INTERFACE table in Oracle E-Business Suite.
    The DbAdapter for reading from the legacy table had two primary keys defined. We've recently learned that these two fields do not always uniquely identify a record. If I had two records with the same data in these two fields, they would both be inserted into the destination table, but the data inserted for both records would be the same as that of the first record (seemingly ignoring the second record). I solved this problem by defining a third primary key relationship in the DbAdapter, and that worked fine.
    My question is this: why did both records inserted into the destination table contain the same data?
    Any ideas?
    Thanks in advance.

    The the table in the database doesn't have a primary key defined, but, of course, Oracle's DBAdapter requries primary keys defined. There were actually two records in the database, with the same information in the columns that I defined as primary keys, but other information was different for the two records. It seems as though the ESB used the data from the first record when it encountered the second. Am I correct that this is what happened?

  • Dynamic Partnerlink to ESB dbAdapter service

    I have many stored procedures (around 40!) to call from a BPEL process. To handle errors coming back from these (sqlerrm) and the associated human interaction to suspend then resume the process, I have the partnerlink call inside a double loop. I don't want to repeat this 40 times, and also may want to be able to reconfigure the calls (execution order, exclude/add some etc.). So far to achieve this, I've created and tested the double loop, created a dbAdapter to get the endpoints from a db table, and am now trying to get dynamic partner linking to work with this. Each service call is registered in the ESB as a dbAdapter and exposed as an invokable service (not via a routing service). I can successfully call each of these individually.
    I've read Carey's cookbook article in detail (great article!) and got it working nicely with a plain ol' web service and am able to loop through the dbAdapter results to get the endpoint addresses. Now I'm having trouble getting it to work with one of these ESB-exposed dbAdapters. I've tried using the concrete WSDL from the ESB in the dynamic partnerlink - but even though I can dynamically assign the endpoint at runtime, it seems to ignore this and always calls the same service. I've then spent many frustrating hours trying to create a WSDL template from the ESB concrete WSDL to import into my process at design-time - so far to no avail.
    I notice that the WSDL for these ESB-exposed dbAdapters is about "3 levels deep" that is they each import another WSDL or schema including one for the dbAdapter itself. Even though I think the db interaction should not be exposed outside of the ESB (to the caller) - only the "front" of the service should be.
    Am I completely on the wrong track here? or will more perseverance pay off and I will get it working? Has anyone successfully done this? please help...
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html

    I figured that in bpel 2.0 EndpointReference element needs to be wrapped in a <service-ref> element BPEL 2.0 Dynamic Partnerlink mismatchedAssignmentFailure error . However it requires it to be static configuration.
    How can I make it dynamic to get set the address from a variable ?
    Please help.
    Edited by: 925432 on Jun 18, 2012 6:13 PM

  • Generate XML report from the database and send EMail - BPEL 10g

    Hello,
    I was looking for the solution to generate XML report with the values from databaseadapter (select result from any table ) this result can be hundred's of records.
    so I have to generate the xml report from the result I received from DBADapter and send an email with that XML. I am stuck with how to generate XML ? Can any one please help me.
    Thank you very much

    Hello,
    I was looking for the solution to generate XML report with the values from databaseadapter (select result from any table ) this result can be hundred's of records.
    so I have to generate the xml report from the result I received from DBADapter and send an email with that XML. I am stuck with how to generate XML ? Can any one please help me.
    Thank you very much

  • Unable to access Database through DBAdapater

    Hi All,
    I am using Dbadapter in my SOA Composite application and trying to access that through invoke activity.
    I am getting errors in both Jdeveloper and in SOA infra environment (http://localhost:8001/soa-infra).I am unable to proceed with my work.
    1) Error in Jdeveloper:
    When I click on Dbadapter and it is giving below error stacktrace:
    java.lang.NullPointerException
         at oracle.tip.adapter.db.ox.AttributeHolder.toString(AttributeHolder.java:82)
         at java.lang.String.valueOf(String.java:2826)
         at
    org.eclipse.persistence.exceptions.DescriptorException.illegalArgumentWhileSettingValueThruMethodAcc
    essor(DescriptorException.java:691)
         at
    org.eclipse.persistence.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(Metho
    dAttributeAccessor.java:248)
         at
    org.eclipse.persistence.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(Metho
    dAttributeAccessor.java:201)
         at
    org.eclipse.persistence.oxm.mappings.XMLDirectMapping.setAttributeValueInObject(XMLDirectMapping.jav
    a:386)
         at
    org.eclipse.persistence.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1284)
         at
    org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.j
    ava:342)
         at
    org.eclipse.persistence.internal.oxm.XMLObjectBuilder.buildAttributesIntoObject(XMLObjectBuilder.jav
    a:376)
         at
    org.eclipse.persistence.internal.oxm.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:286)
         at
    org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping.buildCompositeObject(XMLCompositeObje
    ctMapping.java:435)
         at
    org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping.valueFromRow(XMLCompositeObjectMappin
    g.java:540)
         at
    org.eclipse.persistence.oxm.mappings.XMLCompositeObjectMapping.readFromRowIntoObject(XMLCompositeObj
    ectMapping.java:464)
         at
    org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.j
    ava:342)
         at
    org.eclipse.persistence.internal.oxm.XMLObjectBuilder.buildAttributesIntoObject(XMLObjectBuilder.jav
    a:376)
         at
    org.eclipse.persistence.internal.oxm.XMLObjectBuilder.buildObject(XMLObjectBuilder.java:286)
         at
    org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:427)
         at
    org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.xmlToObject(DOMUnmarshaller.java:354)
         at
    org.eclipse.persistence.internal.oxm.record.DOMUnmarshaller.unmarshal(DOMUnmarshaller.java:208)
         at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:476)
         at
    org.eclipse.persistence.sessions.factories.XMLProjectReader.readObjectPersistenceRuntimeFormat(XMLPr
    ojectReader.java:287)
         at
    org.eclipse.persistence.sessions.factories.XMLProjectReader.read(XMLProjectReader.java:180)
         at
    org.eclipse.persistence.sessions.factories.XMLProjectReader.read(XMLProjectReader.java:236)
         at
    oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterUtil.readTopLinkProjectFiles(XRAdapterU
    til.java:492)
         at
    oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterSelectTablesPage.<init>(XRAdapterSelect
    TablesPage.java:122)
         at
    oracle.tip.tools.ide.adapters.designtime.adapter.xr.XRAdapterOperationPage$ReAddPagesRunnable.run(XR
    AdapterOperationPage.java:844)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1563)
         at java.awt.Component.setVisible(Component.java:1515)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
         at
    oracle.tip.tools.ide.adapters.designtime.adapter.techAdapterWizard.display(techAdapterWizard.java:36
    2) Error with testing in soa-infra environment :
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by java.lang.NullPointerException.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </faultstring><faultactor/><detail><exception>null</exception></detail></env:Fault></env:Body></env:Envelope>
    I am giving proper values for JNDI name in weblogic-ra.xml.
    What I observed is We have a connectionfacatory configuration in ra.xml which is "oracle.tip.adapter.db.ManagaedConnectionfactory".
    Is there any link with this connectionfactory to the errors that I am getting.
    Please guide me on this.
    Thanks in advance

    Have you updated the "Outbound Connection Pools-" under your soa server ?
    http://docs.oracle.com/cd/E23943_01/web.1111/e13732/connect.htm
    *7) Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.*
    Thanks,
    Vijay

  • Having multiple service operations in a single JMS adapter best practice

    Hi All,
    I am using JDeveloper and SOA Suite 11.1.1.6. I need to read from multiple JMS Topics and transform and enhance the messages through the Mediator and then persist into Database.
    My question is
    What is the best practice to consume from multiple topics, Should I configure separate JMS adapter for each of the Topic destination
    OR
    have a single JMS adapter with multiple operations by manually changing the JMS adapter wsdl and jca file?
    I find cannot have
    Please suggest.
    Thanks in advance
    Edited by: user5108636 on 15/05/2013 11:36

    Hi Vijay,
    did you actually test this? When I finish creating a DBAdapter, there is a operation present. Then when I click edit again on the DBAdapter, and I create another select, when I finish only the first operation is gone, and I can only see the one I've created via the last edit.
    I dont understand your reply. Can I have two operations, each one with select underneath, in the same adapter?
    Edited by: user13604541 on Jan 30, 2012 11:19 AM

  • XML Validation error

    Hi,
    Version : 10.1.3.4
    Scenario : Extracting data from Oracle apps using DBAdapter and insert the same to a 3rd party application
    I am tring to use XMLtype.create function in a stored procedure to get the XML.The out parameter for the procedure is XMLtype. I tried to Call this PL/SQL procedure from the BPEL and getting the XML.Then i generated a XSD from this XML using third party tool(stylus) and tried to use it for parsing the XML in BPEL. But i am not able to Manipulate XML data as it is giving the below error.
    In this scenario i tried to Use Assign activity to copy the value from /ns3:PurchaseOrderRequest/ns3:OrderHeader/ns3:SEGMENT1 to string variable.But i am not able to do that, is there any solution for it?
    Error:
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result.
    xpath variable/expression expression "/ns3:PurchaseOrderRequest/ns3:OrderHeader/ns3:SEGMENT1" is empty at line 107, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns3:PurchaseOrderRequest/ns3:OrderHeader/ns3:SEGMENT1" is not empty.
    Possible reasons behind this problems are: some xml elements/attributes are optional or the xml data is invalid according to XML Schema.
    To verify whether XML data received by a process is valid, user can turn on validateXML switch at the domain administration page.
    </summary>
    </part></selectionFailure>
    The XML message i am getting From PL/SQL procedure in BPEL is
    <messages><Invoke_1_ss_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters"><InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/XYZ_ASC_PKG/POCLOBOUT/">
    <ORDERNUM>4437</ORDERNUM>
    </InputParameters>
    </part></Invoke_1_ss_InputVariable><Invoke_1_ss_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters"><OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/XYZ_ASC_PKG/POCLOBOUT/">
    <RESULT>
    <PurchaseOrderRequest xmlns="">
    <OrderHeader num="1">
    <PO_HEADER_ID>32906</PO_HEADER_ID>
    <SEGMENT1>4437</SEGMENT1>
    <AGENT_ID>25</AGENT_ID>
    <LAST_UPDATE_DATE>11/28/2008 0:20:35</LAST_UPDATE_DATE>
    <TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
    <TERMS_ID>10002</TERMS_ID>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <RATE_DATE>11/28/2008 0:0:0</RATE_DATE>
    <REVISION_NUM>0</REVISION_NUM>
    <CONFIRMING_ORDER_FLAG>N</CONFIRMING_ORDER_FLAG>
    <ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <FROZEN_FLAG>N</FROZEN_FLAG>
    <ORG_ID>204</ORG_ID>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <CREATION_DATE>11/28/2008 0:17:50</CREATION_DATE>
    <LANG>en-US</LANG>
    <LINE>
    <LINE_ROW num="1">
    <PO_LINE_ID>38176</PO_LINE_ID>
    <LINE_NUM>2</LINE_NUM>
    <LINE_TYPE_ID>1</LINE_TYPE_ID>
    <ITEM_DESCRIPTION>TEST1</ITEM_DESCRIPTION>
    <UNIT_MEAS_LOOKUP_CODE>Each</UNIT_MEAS_LOOKUP_CODE>
    <ISO_UOM>Ea</ISO_UOM>
    <UNIT_PRICE>200</UNIT_PRICE>
    <QUANTITY>200</QUANTITY>
    <ORG_ID>204</ORG_ID>
    <COMMODITYCODE>MISC:MISC</COMMODITYCODE>
    <DESCRIPTION>Miscellaneous</DESCRIPTION>
    <LAST_UPDATE_DATE>2/19/1997 0:0:0</LAST_UPDATE_DATE>
    <CATEGORY_ID>1</CATEGORY_ID>
    <LINELOCATION>
    <LINELOCATION_ROW num="1">
    <LINE_LOCATION_ID>72552</LINE_LOCATION_ID>
    <QUANTITY>200</QUANTITY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <SHIP_TO_ORGANIZATION_ID>1884</SHIP_TO_ORGANIZATION_ID>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <SHIPTOLOCATIONID>2402</SHIPTOLOCATIONID>
    <SHIPTOLOCATIONCODE>W1 - Cherry Hill</SHIPTOLOCATIONCODE>
    <SHIPTOLOCATIONUSE>HR</SHIPTOLOCATIONUSE>
    <SHIPTOTELEPHONENUMBER1>0</SHIPTOTELEPHONENUMBER1>
    <SHIPTODESCRIPTION>W1 - Cherry Hill Distribution</SHIPTODESCRIPTION>
    <SHIPTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</SHIPTOADDRESSLINE1>
    <SHIPTOTERRITORY>United States</SHIPTOTERRITORY>
    <SHIPTOTOWNORCITY>Cherry Hill</SHIPTOTOWNORCITY>
    <SHIPTOCOUNTRY>US</SHIPTOCOUNTRY>
    <SHIPTOPOSTALCODE>08003</SHIPTOPOSTALCODE>
    <SHIPTOREGION1>Camden</SHIPTOREGION1>
    <SHIPTOREGION2>NJ</SHIPTOREGION2>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW num="1">
    <PO_DISTRIBUTION_ID>74376</PO_DISTRIBUTION_ID>
    <CODE_COMBINATION_ID>17347</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>200</QUANTITY_ORDERED>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <DESTINATION_ORGANIZATION_ID>1884</DESTINATION_ORGANIZATION_ID>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINELOCATION_ROW>
    </LINELOCATION>
    </LINE_ROW>
    <LINE_ROW num="2">
    <PO_LINE_ID>38175</PO_LINE_ID>
    <LINE_NUM>1</LINE_NUM>
    <LINE_TYPE_ID>1</LINE_TYPE_ID>
    <ITEM_DESCRIPTION>test</ITEM_DESCRIPTION>
    <UNIT_MEAS_LOOKUP_CODE>EA</UNIT_MEAS_LOOKUP_CODE>
    <ISO_UOM>EA</ISO_UOM>
    <UNIT_PRICE>100</UNIT_PRICE>
    <QUANTITY>100</QUANTITY>
    <ORG_ID>204</ORG_ID>
    <COMMODITYCODE>MISC:MISC</COMMODITYCODE>
    <DESCRIPTION>Miscellaneous</DESCRIPTION>
    <LAST_UPDATE_DATE>2/19/1997 0:0:0</LAST_UPDATE_DATE>
    <CATEGORY_ID>1</CATEGORY_ID>
    <LINELOCATION>
    <LINELOCATION_ROW num="1">
    <LINE_LOCATION_ID>72551</LINE_LOCATION_ID>
    <QUANTITY>100</QUANTITY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <SHIP_TO_ORGANIZATION_ID>1884</SHIP_TO_ORGANIZATION_ID>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <SHIPTOLOCATIONID>2402</SHIPTOLOCATIONID>
    <SHIPTOLOCATIONCODE>W1 - Cherry Hill</SHIPTOLOCATIONCODE>
    <SHIPTOLOCATIONUSE>HR</SHIPTOLOCATIONUSE>
    <SHIPTOTELEPHONENUMBER1>0</SHIPTOTELEPHONENUMBER1>
    <SHIPTODESCRIPTION>W1 - Cherry Hill Distribution</SHIPTODESCRIPTION>
    <SHIPTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</SHIPTOADDRESSLINE1>
    <SHIPTOTERRITORY>United States</SHIPTOTERRITORY>
    <SHIPTOTOWNORCITY>Cherry Hill</SHIPTOTOWNORCITY>
    <SHIPTOCOUNTRY>US</SHIPTOCOUNTRY>
    <SHIPTOPOSTALCODE>08003</SHIPTOPOSTALCODE>
    <SHIPTOREGION1>Camden</SHIPTOREGION1>
    <SHIPTOREGION2>NJ</SHIPTOREGION2>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW num="1">
    <PO_DISTRIBUTION_ID>74375</PO_DISTRIBUTION_ID>
    <CODE_COMBINATION_ID>17347</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>100</QUANTITY_ORDERED>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <DESTINATION_ORGANIZATION_ID>1884</DESTINATION_ORGANIZATION_ID>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINELOCATION_ROW>
    </LINELOCATION>
    </LINE_ROW>
    </LINE>
    <VENDOR_ID>1595</VENDOR_ID>
    <VENDOR_NAME>Agile Electronic Supplies</VENDOR_NAME>
    <PAYMENT_METHOD_LOOKUP_CODE>CHECK</PAYMENT_METHOD_LOOKUP_CODE>
    <VENDOR_SITE_CODE>SANTA ROSA-USE</VENDOR_SITE_CODE>
    <ADDRESS_LINE1>22800 Corby Avenue</ADDRESS_LINE1>
    <BILL_TO_LOCATION_ID>2402</BILL_TO_LOCATION_ID>
    <VENDORTERRITORY>United States</VENDORTERRITORY>
    <VENDORCONTACT>
    <VENDORCONTACT_ROW num="1">
    <VENDOR_CONTACT_ID>2485</VENDOR_CONTACT_ID>
    <FIRST_NAME>Li</FIRST_NAME>
    <LAST_NAME>Wang</LAST_NAME>
    <AREA_CODE>707</AREA_CODE>
    <PHONE>638-7814</PHONE>
    </VENDORCONTACT_ROW>
    </VENDORCONTACT>
    <SHIPTOLOCATIONID>2402</SHIPTOLOCATIONID>
    <SHIPTOLOCATIONCODE>W1 - Cherry Hill</SHIPTOLOCATIONCODE>
    <SHIPTOLOCATIONUSE>HR</SHIPTOLOCATIONUSE>
    <SHIPTOTELEPHONENUMBER1>0</SHIPTOTELEPHONENUMBER1>
    <SHIPTODESCRIPTION>W1 - Cherry Hill Distribution</SHIPTODESCRIPTION>
    <SHIPTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</SHIPTOADDRESSLINE1>
    <SHIPTOTERRITORY>United States</SHIPTOTERRITORY>
    <SHIPTOTOWNORCITY>Cherry Hill</SHIPTOTOWNORCITY>
    <SHIPTOCOUNTRY>US</SHIPTOCOUNTRY>
    <SHIPTOPOSTALCODE>08003</SHIPTOPOSTALCODE>
    <SHIPTOREGION1>Camden</SHIPTOREGION1>
    <SHIPTOREGION2>NJ</SHIPTOREGION2>
    <BILLTOLOCATIONID>2402</BILLTOLOCATIONID>
    <BILLTOLOCATIONCODE>W1 - Cherry Hill</BILLTOLOCATIONCODE>
    <BILLTOLOCATIONUSE>HR</BILLTOLOCATIONUSE>
    <BILLTOTELEPHONENUMBER1>0</BILLTOTELEPHONENUMBER1>
    <BILLTODESCRIPTION>W1 - Cherry Hill Distribution</BILLTODESCRIPTION>
    <BILLTOADDRESSLINE1>8756 Benjamin Franklin Boulevard</BILLTOADDRESSLINE1>
    <BILLTOTERRITORY>United States</BILLTOTERRITORY>
    <BILLTOTOWNORCITY>Cherry Hill</BILLTOTOWNORCITY>
    <BILLTOCOUNTRY>US</BILLTOCOUNTRY>
    <BILLTOPOSTALCODE>08003</BILLTOPOSTALCODE>
    <BILLTOREGION1>Camden</BILLTOREGION1>
    <BILLTOREGION2>NJ</BILLTOREGION2>
    </OrderHeader>
    </PurchaseOrderRequest>
    </RESULT>
    </OutputParameters>
    </part></Invoke_1_ss_OutputVariable></messages>
    Thanks
    Sen

    Forwarded to developers.

Maybe you are looking for

  • How to make a 2nd player in this racing game.

    I'm using this tutorial to learn how to make games in Flash for a class, but it doesn't say how to make a 2nd player. If somebody can show me the code to make alternative controls (W,S,A,D) for a 2nd car that'd be fantastic! Thanks a lot, Dd http://w

  • Error while executing  view in Bex Analyzer

    Hi Gurus, When i am executing the view(0PY_MC02_Q0102_V02)  in analyzer i am getting the error : Error Group RFC_ERROR_SYSTEM_FAILURE Message Exception condition "NO_VALUE_FOR_SID" raised. I checked all the master data info objects and loaded the mas

  • Related to po table

    in which table i can get purchase order net value at header levet

  • Error in Sales order after FTXP

    Hello Experts, We are on the process of rollout to another Company Code in Canada. I defined Tax codes and percentages in FTXP. Now , when a sales order is created for plant orgn. in Canada, an error " Z07/03/2008 CAD USD" is thrown.  I do not have t

  • Safari, still not downloading....

    I tried logging in as another account, the app safari is so longer on my mac, yet i am unable to download it....i am running 10.5.5, ran software update, i attempt to download safari, and the red exclamation point shows on my drive, and says i need 1