Polling from fileadapter

Hii gurus,
I have a doubt over here .... i have a two fields in database one which holds the file name and the other a unique_Id field of that file. I have the file located in a separate directory.. i am polling the DB for a logical delete of another field ex status. now at the receive end of the DB adapter i am able to get the selected fields from the DB. after that i have placed an file adapter to poll the file from direcotry ( i am confused to go to a read / sync read ) and what i need to do is to pick the file from direcotry based on the value of the file name field in the DB and process the file ???
pretty much confused at this point... plz hlp me out
Any ideas will be really helpful.
Regards,
A

Hii,
I am able to read a file in directory based on the file name in DB, What i want to do is build a process which reads the file name from DB and associates it with the file name in directory and picks the file if i have some 4 records polled from DB and 4 files in the directory i can process only one file as the sync read operation i cant give multiple file names... (makes some sense i guess) if it is not clear please let me know and i will elaborate my processs. sooo if i have append_123.xml in the field of DB and append_123.xml as file name in sync read adapter i am able to processs. but if i have append_123.xml and append_234.xml in the direcotry how can i process the append_234.xml file dynamically with out changing the name in the sync read manually to poll append_234.xml file.....
is there any function that compares with the specified file name in the FileAdapter,,, plzz help me outt
Regards,
P

Similar Messages

  • How to control File read Proxy Service when it is polling from folder?

    Hello all,
    In my current requirement we are receiving  xml's through one folder(LOCAL) from source side.we are picking those xml's  by proxy service PS1  as file transport for every 10 sec and configured that folder path.In PS1 message flow we put on routing action to one bussiness service,that business service sending those xml's to one MQ.
    We already created this interface but the issue is source side they plan to change that folder and also they want to stop this service(folder to MQ) sometimes based on synarios.That folder will be delete or if exist proxy wont read messages from that folder.
    But proxy is still looking for that folder in Test ENV on Unix system then it gives error beacuse of unix folder structure is different,proxy unable to create that folder in unix system.it is creating in windows.
    Now we want to control that service when the folder is ready that time only  proxy will activate otherwise not..i.e like if condition "if cndtion is satisfied PS1 starts the polling from that folder else condition should be work.
    How can i control PS1 service?
    Is there any chance to control by using another proxy?
    Experts please guide me..
    regards
    venu

    Hi Terry,
    According to your description, my understanding is that you don’t want the yollow bar notification to display when you open Access documents.
    This issue seems to be about the client application. Please compare the followings with the things that you did:
     1.Open the documents
     2.Click File->Options->Trust Center->Trust Center Settings
     3.Click Protected View, unselect ‘Enable Protected View for originating from the Internet’
     4.Click Message Bar, select ‘Never show information about blocked content’
     5.Click Macro Settings, select ‘Disable all macros without notification’
    In addition, as this issue is about Office, I commend you create a new thread in Office forum, more experts will assist you with this issue.
    Office forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=officeitpro
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Polling from the database view in BPEL 11g

    Hi,
    We do have a requirement of polling from the database view in BPEL 11g. I am exploring the following polling strategies in our case:
    - Delete
    - Logical Delete
    In case of Delete polling strategy, can we delete the record as the view does not allow deletion. In this case, do we have any other way to achieve this functionality?
    In case of Logical Delete, We have to mark the status column with particular value. how could we achieve the same when the view is not updateable.
    In 10g, we can override the delete polling strategy with an update statement. Is it possible in 11g?
    Thanks & Regards
    Siva

    Hi,
    I am also doing the same thing what you have done, please help me.
    I have used BPEL export utility for exporting my JPDs to BPEL. but it was not a good help, ultimately i m creating a process manually.
    the main problem what is the replacement of control(jcx files)
    please guide me really it would be great help..
    Thanks in advance and hope to hear from you.
    my mail id is [email protected]
    please send some document if you have...

  • Waiting for read from 'fileAdapter'. Asynchronous callback.

    I am trying to implement a mid process receive activity for receiving from a file adapter.
    I have used correlation set for the first receive activity which receives input from a web client and second receive activity receives from adapter.
    the problem is that in the Flow Trace when the second receive activity keeps showing pending and waiting for read from 'fileAdapter'. Aynchronous callback.
    Any help would be appreciated

    Hello,
    I have got the same problem. I tried set-up CorrelatonSet, but I could not find solution ... Receive activity is still waiting for dequeue from AQ (and what's more - message is removed from queue by AQ adapter immediately after BPEL process is deployed. Receive acitivity hasn't information about this dequeue - it's still waiting).
    Could you pls. write more information???
    Many thanks,
    martin

  • SNMP Polling from UCS Manager 1.4

    I am having trouble with SNMP Polling from UCS Manager 1.4(1j).
    I seem to only get SNMP data from Nexus such as those described in (http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/mib/reference/NX5000_MIBRef.html) I don't see any OIDs corresponding to those mentioned specifically for UCS listed in (ftp://ftp.cisco.com/pub/mibs/supportlists/ucs/ucs-manager-supportlist.html).
    Documentation on the cisco web site said that UCS Manager 1.4(1) and above will have MIBS such as CISCO-UNIFIED-COMPUTING-EQUIPMENT-MIB available.
    Is there a separate IP addresses I should poll for these or any specific things that need to be set up?
    I am not sure how we can gain access to the UCS related MIB objects exactly. The description on SNMP enable for UCS Manager is very brief (http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/gui/config/guide/1.4/UCSM_GUI_Configuration_Guide_1_4_chapter6.html#task_2054446421216050764)
    It only described the community string set up under UCS Manager ->Admin->Communication Management -> Communication Services, bu didn’t really say anything about which IP addresses from the Management Interfaces should be used to get them.
    Has anyone successfully polled data from say the CISCO-UNIFIED-COMPUTING-EQUIPMENT-MIB and be able to help?
    Thanks in advance.

    Yes indeed.
    I learnt about the CISCO-UNIFIED-COMPUTING-EQUIPMENT-MIB and the other Cisco UCS Manager MIB Support list by selecting UCS Manager under the Unified Computing drop down on this http page you quoted.
    (http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/mib/reference/UCS_MIBRef.html)
    Is there anything specific from those docs you are referring to that would make it such that we get the Nexus MIBs rather than ones under UCS Manager?
    The two IP addresses for Fabric Interconnect A and B under Management Interface only give us info from MIBs listed under the Nexus documentation only. Nothing fir say 1.3.6.1.4.1.9.9.719.1.15.
    No SNMP data form the virtual IP address.
    Not sure where data under 1.3.6.1.4.1.9.9.719.1.15 would be accessible

  • Useful OIDs to poll from WISM 5.0.148.0

    Can advise if there are any good and important OIDs that we can snmp poll from WISM 5.0.148.0. Thks.

    check out this url:
    http://forums.cacti.net/viewtopic.php?t=12863&highlight=4400
    snippet:
    making some progress. Here is a link that is extremely helpful
    ftp://ftp.cisco.com/pub/mibs/oid/AIRESPACE-WIRELESS-MIB.oid
    and
    ftp://ftp.cisco.com/pub/mibs/oid/AIRESPACE-SWITCHING-MIB.oid
    I have been able to glean some useful info so far:
    bsnSensorTemperature" "1.3.6.1.4.1.14179.2.3.1.13"
    bsnTemperatureAlarmLowLimit" "1.3.6.1.4.1.14179.2.3.1.14"
    "bsnTemperatureAlarmHighLimit" "1.3.6.1.4.1.14179.2.3.1.15"
    "agentTotalMemory" "1.3.6.1.4.1.14179.1.1.5.2"
    "agentFreeMemory" "1.3.6.1.4.1.14179.1.1.5.3"
    You may need to dig thru the xml files in the url posted above to get more info.

  • How to Exclude a sub directorys from polling using FileAdapter of BPEL Proc

    Hi all,
    I have a BPEL process with file adapter which is polling to root folder .
    I want to exclude File polling for some of the sub folder of the BPEL process.
    How to exclude file polling for sub folder i know the option is available for file name not for folder.
    Thanks
    Phani

    dude, you have to give the exact name of the folder you want to poll to,
    you can also pass the location of the folder at runtime/dynamically.
    In 10 G only single location can be polled by single file adapter
    in 11 g we can poll different folders by single file adapter
    However I doubt that there can be selective polling to multiple folder.

  • Inserting null values from FileAdapter to DB Adapter thru Transform activit

    Hi,
    i am trying to insert a record from a file to DB for that i have used FileAdapter and DB Adapter in between it have used Tranform activity for passing from fileadpter receive var to Db Adapter Invoke var can .in the Bpel Instance values are passed up to tranform activity
    below the xsl code and Bpel code
    Xsl
    +<?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="XSD">
    <schema location="test3_1.xsd"/>
    <rootElement name="readrecord" namespace="http://TargetNamespace.com/pickfile"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="XSD">
    <schema location="insertintoTbl_table.xsd"/>
    <rootElement name="XxempCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/insertintoTbl"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.5.0(build 090730.0200.1754) AT [FRI MAY 20 16:46:20 IST 2011]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/db/top/insertintoTbl"
    xmlns:tns="http://TargetNamespace.com/pickfile"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    exclude-result-prefixes="xsl xsd nxsd tns ns0 bpws ehdr hwf xref xp20 ora orcl ids">
    <xsl:template match="/">
    <ns0:XxempCollection>
    <ns0:Xxemp>
    <ns0:empcode>
    <xsl:value-of select="/tns:readrecord/tns:C1"/>
    </ns0:empcode>
    <ns0:emptr>
    <xsl:value-of select="/tns:readrecord/tns:C2"/>
    </ns0:emptr>
    <ns0:name>
    <xsl:value-of select="/tns:readrecord/tns:C3"/>
    </ns0:name>
    <ns0:division>
    <xsl:value-of select="/tns:readrecord/tns:C4"/>
    </ns0:division>
    <ns0:dept>
    <xsl:value-of select="/tns:readrecord/tns:C5"/>
    </ns0:dept>
    <ns0:doj>
    <xsl:value-of select="/tns:readrecord/tns:C6"/>
    </ns0:doj>
    <ns0:designation>
    <xsl:value-of select="/tns:readrecord/tns:C7"/>
    </ns0:designation>
    <ns0:qualification>
    <xsl:value-of select="/tns:readrecord/tns:C8"/>
    </ns0:qualification>
    </ns0:Xxemp>
    </ns0:XxempCollection>
    </xsl:template>
    </xsl:stylesheet>
    +
    Bpelcode
    +
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Thu May 19 19:43:57 IST 2011
    Author: naveenv
    Purpose: Empty BPEL Process
    -->
    <process name="FileToTbl" targetNamespace="http://xmlns.oracle.com/FileToTbl"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/BPELINSERT/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/insertintoTbl/"
    xmlns:client="http://xmlns.oracle.com/FileToTbl"
    xmlns:ns6="http://xmlns.oracle.com/pcbpel/adapter/db/top/insertintoTbl"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/pickfile/"
    xmlns:ns3="http://TargetNamespace.com/pickfile"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/inserttoTbl/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <partnerLink myRole="Read_role" name="pickfile"
    partnerLinkType="ns1:Read_plt"/>
    <partnerLink name="insertintoTbl" partnerRole="insertintoTbl_role"
    partnerLinkType="ns5:insertintoTbl_plt"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <variable name="Receive_1_Read_InputVariable"
    messageType="ns1:readrecord_msg"/>
    <variable name="Invoke_1_insert_InputVariable"
    messageType="ns5:XxempCollection_msg"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="Receive_1" partnerLink="pickfile" portType="ns1:Read_ptt"
    operation="Read" variable="Receive_1_Read_InputVariable"
    createInstance="yes"/>
    <assign name="Transform_1">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('Transformation_1.xsl',bpws:getVariableData('Receive_1_Read_InputVariable','readrecord'))"/>
    <to variable="Receive_1_Read_InputVariable" part="readrecord"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="insertintoTbl"
    portType="ns5:insertintoTbl_ptt" operation="insert"
    inputVariable="Invoke_1_insert_InputVariable"/>
    </sequence>
    </process>
    +
    can anyone please help me

    Hi,
    yes i could see the values in the trsnaform activity
    Receive_1
    [2011/05/20 06:02:49 PM] Received "Receive_1_Read_InputVariable" call from partner "pickfile" less
    -<Receive_1_Read_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="readrecord">
    -<readrecord xmlns="http://TargetNamespace.com/pickfile">
    <C1>579
    </C1>
    <C2>EMPLOYEE
    </C2>
    <C3>NITIN RAO
    </C3>
    <C4>IME
    </C4>
    <C5>ORACLE
    </C5>
    <C6>4-Jan-99
    </C6>
    <C7>Senior Consultant
    </C7>
    <C8>B.TECH
    </C8>
    </readrecord>
    </part>
    </Receive_1_Read_InputVariable>
    Transform_1
    [2011/05/20 06:02:49 PM] Updated variable "Receive_1_Read_InputVariable" less
    -<Receive_1_Read_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="readrecord">
    -<readrecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/BPELINSERT/" xmlns="http://TargetNamespace.com/pickfile">
    <db:EMPCODE>579
    </db:EMPCODE>
    <db:EMPTR>EMPLOYEE
    </db:EMPTR>
    <db:NAME>NITIN RAO
    </db:NAME>
    <db:DIVISION>IME
    </db:DIVISION>
    <db:DEPT>ORACLE
    </db:DEPT>
    <db:DOJ>4-Jan-99
    </db:DOJ>
    <db:DESIGNATION>Senior Consultant
    </db:DESIGNATION>
    <db:QUALIFICATION>B.TECH
    </db:QUALIFICATION>
    </readrecord>
    </part>
    </Receive_1_Read_InputVariable>
    Invoke_1
    [2011/05/20 06:02:50 PM] Invoked 1-way operation "inserttoDb" on partner "inserttoDb". less
    -<Invoke_1_inserttoDb_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    <InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/BPELINSERT/"/>
    </part>
    </Invoke_1_inserttoDb_InputVariable

  • Blocking multiple SOA Instances when polling from DB Adapter?

    Hi,
    I am on SOA 11.1.1.3 and have a simple requirement of sequential processing from a database table. I hence created a BPEL process to poll the DB and process the records sequentially by inserting 10 records in a single XML (and doing a while loop on these records). I have also kept a polling interval of 30s with Logical Delete option.
    When I have just 10 records in the table, it works fine by creating one instance. However, when there are 20 records in the table, it creates 2 instances of 10 records each and since these two instances are processed in parallel, the sequential processing no more happens and records are processed out of order.
    Is it possible to limit the number of instances to just one and prevent the second instance from kicking off. I have read about the singleton process but can I use this on a single node as well?
    Any inputs will be appreciated.
    Thanks!

    Hi
    From what I know there is nothing out of box that does guarantee ordered execution of instances. That is due to the Queue based work storage and multiple threads pulling data for execution of instances.
    I am not sure if that should be supported out of box as well.
    Polling process is expected to poll for records every X interval. And create instances that can be processed with in the container.
    From what I understand, the requirement needs to stop the polling process if there is a active instance
    OR
    Create a instance during each polling and check if there is an existing instance, wait till the other instance is complete and then proceed in order if multiple instances have been polled during the waiting window.
    One option that I have implemented that works at the source (database) works like this:
    1. Change the Db Adapter to logical delete
    2. Create a view on the database to only show 1 NEW record, or no records if there is a RESERVED record
    3. You might have to write a trigger on the table for updates to complex view created
    At least the requirement that I had was to process records in the order they were created.
    Status table look up might be tricky as it can not guarantee ordered execution of records as threads might grab the status in random order. But if the requirement is 1 at a time rather than ordered, this would be fine.
    But from JVM load perspective, instances might be sitting in the memory doing constantly trying to grab status from table. From performance perspective other options would need to be explored.
    Regards
    Kalidass Mookkaiah

  • File polling from backend application

    Hi,
    Have a requirement to poll a file from backend application. the file will have the proper naming convention in the listening channel screen (e.g: "toParty_doctype_docRev.xml")
    But not able to identify the from party and to party and hence not able to identify the agreement.
    Please advice..
    Also would like to know if there is any specific separator format, which is underscore.. or can we use any separator.
    Dheeraj

    For this use case, please follow the below,
    1. Make sure to enable "Is Internal" flag for listening channel, this enables B2B treat the arriving message at this endpoint as Outbound message. This we call it as Listening Internal Channel that is intended to receive messages from Back end application.
    2. Please configure the filename format as "%TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.xml. Note: File and its format extension can be anything, here just given "xml" as an example.
    3. B2B uses "_" as separator for the filename format. In future releases, post AS11 PS1 the separator can also be made as an configurable item.
    Thanks,
    Sinkar

  • Prime Infrastructure 2.0 possible to grab SNMP poll from WAN?

    Our objective is to monitor all our network devices using Cisco Prime Infrastructure 2.0 which include LAN site and WAN site. LAN site we have various of equipments example cisco router 3800, ASA 5510, Catalyst switch 6500 and other access switches. WAN site we have ASA 5520. Currently our ASA is located at ISP which has its own public IP. Question is, it is possible to monitor our ASA 5520 which at WAN site? Attached is our topology sample.
    Note: We has no issues on monitoring LAN equipments.

    Hi Remysyaku
    Are you able to do snmp polling on ASA from any other software like net-snmp etc.
    I mean you need to check whther problem is snmp connectivity or PI is not able to manage ASA.
    Also there is a bug due to which ASA5515x will be shown as unsupported in PI 2.0 but ASA 5520 and further should show managed correctly.
    Thanks
    Mahavir

  • Mapping FlatStructure from FileAdapter to Hierarchical IDOC

    We want to map the following  FLAT-Structure to an Hierarchical IDOC-Structure
    ZUECH_0210
    recordset
        H1
        H2
        H6
        D1  (1 to unbounded)
        D2  (1 to unbounded)
            Meterno1
        D3  (1 to unbounded)
             Q1
        D3
             Q2
        D2
           Meterno2
        D3
            Q1
        D3
            Q2
        D3
            Q3
    /recordset
    IDOC_ZUECH_210
      IDOC
           HEADER
                 H1
                 H2
                 H6
            /HEADER
            D1  (1:1)
                 D2 (1:99)
                     D3 (1:99)
        /IDOC
    We tried  D3 splitbyvalue to D3  => below  D2 there is only one D3 mapped?
    Any ideas how to keep the values from D3 below the according D2?
    We went through
    http://help.sap.com/saphelp_nw70/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm.
    It didn't help us very much

    Here the <b>source structure</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSpy v2007 (http://www.altova.com) by d2k (-) -->
    <!--W3C Schema generated by XMLSpy v2007 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:rwe-nl:xi:interfaces_ext:global">
         <xs:element name="ZUECH_0210">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="recordset" maxOccurs="unbounded">
                             <xs:complexType>
                                  <xs:sequence>
                                       <xs:element name="H1">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KH1" type="xs:string"/>
                                                      <xs:element name="H1" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="H2">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KH2" type="xs:string"/>
                                                      <xs:element name="H2" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="H3">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KH3" type="xs:string"/>
                                                      <xs:element name="H3" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="H4">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KH4" type="xs:string"/>
                                                      <xs:element name="H4" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="H5">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KH5" type="xs:string"/>
                                                      <xs:element name="H5" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="H6">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KH6" type="xs:string"/>
                                                      <xs:element name="H6" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="MEDTD1" maxOccurs="unbounded">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KMEDTD1" type="xs:string"/>
                                                      <xs:element name="REQUEST_ID" type="xs:string"/>
                                                      <xs:element name="TRANSACTION_ID" type="xs:string"/>
                                                      <xs:element name="CONNECT_EAN" type="xs:string"/>
                                                      <xs:element name="REASON_ID" type="xs:string"/>
                                                      <xs:element name="PERIOD_STARTDATE" type="xs:string"/>
                                                      <xs:element name="PERIOD_ENDDATE" type="xs:string"/>
                                                      <xs:element name="SUBMITTED_DATE" type="xs:string"/>
                                                      <xs:element name="MARKET_SEGMENT" type="xs:string"/>
                                                      <xs:element name="NETOP_EAN" type="xs:string"/>
                                                      <xs:element name="REQUEST_REFERENCE" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="MEDTD2" maxOccurs="unbounded">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KMEDTD2" type="xs:string"/>
                                                      <xs:element name="METERNO" type="xs:string"/>
                                                      <xs:element name="NO_DIALS" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="MEDTD3" maxOccurs="unbounded">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KMEDTD3" type="xs:string"/>
                                                      <xs:element name="QUANTITY" type="xs:string"/>
                                                      <xs:element name="QUANTITY_TYPE_ID" type="xs:string"/>
                                                      <xs:element name="QUANTITY_DATE" type="xs:string"/>
                                                      <xs:element name="QUANTITY_DATE_TYPE" type="xs:string"/>
                                                      <xs:element name="MEASURE_UNIT_ID" type="xs:string"/>
                                                      <xs:element name="TIMEFRAME_ID" type="xs:string"/>
                                                      <xs:element name="QUALIFICATION" type="xs:string"/>
                                                      <xs:element name="NO_DIGITS" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                       <xs:element name="F1">
                                            <xs:complexType>
                                                 <xs:sequence>
                                                      <xs:element name="KF1" type="xs:string"/>
                                                      <xs:element name="F1" type="xs:string"/>
                                                 </xs:sequence>
                                            </xs:complexType>
                                       </xs:element>
                                  </xs:sequence>
                             </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    And here the <b>Target Structure</b> of the IDOC
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <xsd:element name="ZUECH_0210">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="IDOC" type="ZUECH_0210.ZUECH_0210" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <xsd:complexType name="EDI_DC40.ZUECH_0210.ZUECH_0210">
              <xsd:sequence>
                   <xsd:element name="TABNAM" type="xsd:string" fixed="EDI_DC40">
                        <xsd:annotation>
                             <xsd:documentation>Table Structure Name</xsd:documentation>
                        </xsd:annotation>
                   </xsd:element>
                   <xsd:element name="MANDT" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Client</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="DOCNUM" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>IDoc Number</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="16"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="DOCREL" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>SAP IDoc Release</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="4"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="STATUS" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>IDoc Status</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="2"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="DIRECT">
                        <xsd:annotation>
                             <xsd:documentation>Direction</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:enumeration value="1">
                                       <xsd:annotation>
                                            <xsd:documentation>Outbound</xsd:documentation>
                                       </xsd:annotation>
                                  </xsd:enumeration>
                                  <xsd:enumeration value="2">
                                       <xsd:annotation>
                                            <xsd:documentation>Inbound</xsd:documentation>
                                       </xsd:annotation>
                                  </xsd:enumeration>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="OUTMOD" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Output Mode</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="1"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="EXPRSS" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Overriding in Inbound Processing</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="1"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="TEST" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Test Flag</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="1"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="IDOCTYP" type="xsd:string" fixed="ZUECH_0210">
                        <xsd:annotation>
                             <xsd:documentation>Basic Type Name</xsd:documentation>
                        </xsd:annotation>
                   </xsd:element>
                   <xsd:element name="CIMTYP" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Enhancement (Customer-Defined)</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="30"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="MESTYP" type="xsd:string" fixed="ZUECH_0210">
                        <xsd:annotation>
                             <xsd:documentation>Message Type</xsd:documentation>
                        </xsd:annotation>
                   </xsd:element>
                   <xsd:element name="MESCOD" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Message Variant</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="MESFCT" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Message Function</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="STD" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>EDI Standard, Flag</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="1"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="STDVRS" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>EDI Standard, Version, and Release</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="6"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="STDMES" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>EDI Message Type</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="6"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SNDPOR">
                        <xsd:annotation>
                             <xsd:documentation>Sender Port (SAP System, External Subsystem)</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SNDPRT">
                        <xsd:annotation>
                             <xsd:documentation>Sender Partner Type</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="2"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SNDPFC" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Sender Partner Function</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="2"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SNDPRN">
                        <xsd:annotation>
                             <xsd:documentation>Sender Partner Number</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SNDSAD" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Sender Address (SADR)</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="21"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SNDLAD" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Logical Sender Address</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="70"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="RCVPOR">
                        <xsd:annotation>
                             <xsd:documentation>Receiver Port</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="RCVPRT" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Receiver Partner Type</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="2"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="RCVPFC" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Receiver Partner Function</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="2"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="RCVPRN">
                        <xsd:annotation>
                             <xsd:documentation>Receiver Partner Number</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="RCVSAD" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Receiver Address (SADR)</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="21"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="RCVLAD" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Logical Receiver Address</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="70"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="CREDAT" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Creation Date</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="8"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="CRETIM" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Creation Time</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="6"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="REFINT" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Interchange File (EDI Interchange)</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="14"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="REFGRP" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Message Group (EDI Message Group)</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="14"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="REFMES" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Message (EDI Message)</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="14"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="ARCKEY" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>External Message Archive Key</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="70"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SERIAL" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Serialization</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="20"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
              </xsd:sequence>
              <xsd:attribute name="SEGMENT" type="xsd:string" use="required" fixed="1"/>
         </xsd:complexType>
         <xsd:complexType name="ZUECH_0210._-RWENL_-U_MEDTD2">
              <xsd:annotation>
                   <xsd:documentation>MEDTD2</xsd:documentation>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="METERNO" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>MeterNo</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="18"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="NO_DIALS" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>No_Dials</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="2"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="_-RWENL_-U_MEDTD3" type="ZUECH_0210._-RWENL_-U_MEDTD3" maxOccurs="99"/>
              </xsd:sequence>
              <xsd:attribute name="SEGMENT" type="xsd:string" use="required" fixed="1"/>
         </xsd:complexType>
         <xsd:complexType name="ZUECH_0210._-RWENL_-U_EDSN_HEADER">
              <xsd:annotation>
                   <xsd:documentation>EDSN Header information</xsd:documentation>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="H1" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Not More Closely Defined Area, Possibly Used for Patchlevels</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="4"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="H2" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Character 100</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="100"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="H3" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Character field 13 digits</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="13"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="H4" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Character Field Length = 10</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="H5" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Supplier_EAN</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="13"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="H6" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Supplier_EAN</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="13"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
              </xsd:sequence>
              <xsd:attribute name="SEGMENT" type="xsd:string" use="required" fixed="1"/>
         </xsd:complexType>
         <xsd:complexType name="ZUECH_0210.ZUECH_0210">
              <xsd:annotation>
                   <xsd:documentation>Received Metered data E</xsd:documentation>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="EDI_DC40" type="EDI_DC40.ZUECH_0210.ZUECH_0210"/>
                   <xsd:element name="_-RWENL_-U_EDSN_HEADER" type="ZUECH_0210._-RWENL_-U_EDSN_HEADER"/>
                   <xsd:element name="_-RWENL_-U_MEDTD1" type="ZUECH_0210._-RWENL_-U_MEDTD1"/>
              </xsd:sequence>
              <xsd:attribute name="BEGIN" type="xsd:string" use="required" fixed="1"/>
         </xsd:complexType>
         <xsd:complexType name="ZUECH_0210._-RWENL_-U_MEDTD3">
              <xsd:annotation>
                   <xsd:documentation>MEDTD3</xsd:documentation>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="QUANTITY" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Quantity</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="15"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="QUANTITY_TYPE_ID" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Quantity_Type_ID</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="QUANTITY_DATE" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Quantity_Date</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="8"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="QUANTITY_DATE_TYPE" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Quantity_Date_Type</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="MEASURE_UNIT_ID" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Measure_Unit_ID</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="TIMEFRAME_ID" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>TimeFrame_ID</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="QUALIFICATION" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Qualification</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="NO_DIGITS" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>No_Digits</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="2"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
              </xsd:sequence>
              <xsd:attribute name="SEGMENT" type="xsd:string" use="required" fixed="1"/>
         </xsd:complexType>
         <xsd:complexType name="ZUECH_0210._-RWENL_-U_MEDTD1">
              <xsd:annotation>
                   <xsd:documentation>MEDTD1</xsd:documentation>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="REQUEST_ID" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Request_ID</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="TRANSACTION_ID" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Transaction_ID</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="CONNECT_EAN" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Connect_EAN</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="18"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="REASON_ID" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Reason_ID</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="PERIOD_STARTDATE" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Period Startdate</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="8"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="PERIOD_ENDDATE" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Requested_MR_End_Date</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="8"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="SUBMITTED_DATE" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Submitted_date</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="12"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="MARKET_SEGMENT" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Market_Segment</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="3"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="NETOP_EAN" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>NetOp EAN</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="13"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="REQUEST_REFERENCE" minOccurs="0">
                        <xsd:annotation>
                             <xsd:documentation>Request_Reference</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="25"/>
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="_-RWENL_-U_MEDTD2" type="ZUECH_0210._-RWENL_-U_MEDTD2" maxOccurs="99"/>
              </xsd:sequence>
              <xsd:attribute name="SEGMENT" type="xsd:string" use="required" fixed="1"/>
         </xsd:complexType>
    </xsd:schema>

  • Polling from jms OSB/BPEL

    They are different orders coming to a queue, which are not in proper sequence (Ex: order no : 5 is coming first, order no :3 is coming next and order no :1 is coming at last)
    These need to picked from a queue to OSB/BPEL, where we need to sequence the flow, (Ex : order no : 1,2,3,4,5).
    please let me know how to implement above requirement in BPEL and OSB.

    Only solution I could see is to move them in DB and sort them.
    U can choose the messages using message selector but can't sort them

  • How to Set Polling Options of a DB adapter From EnterpriseManager/AdminCons

    HI All,
    We all know after Dragging a DB adapeter we can manually set the polling Options in J developer
    However,
    My query is how to Set Polling Options of a DB adapter From EnterpriseManager/AdminCons so that we dun hav to change our code and redeploy if any change is asked for.
    My DB adapter is deployed to EM.(SOA Server).
    Polling Options are like:
    From the Polling Frequency list, select how frequently to poll for new records or events.
    In the Database Rows per XML Document field, specify the number of rows per XML document when sending events to Oracle BPEL PM or Mediator. This is the batch setting between the database adapter and its consumer: Oracle BPEL PM or Mediator.
    In the Database Rows per Transaction field, select Unlimited or enter a value to indicate the number of table rows to process during a single transaction.
    When polling the database for events, you can order the returned rows by the selected column by using the Order By list. The best practice is to choose <No Ordering>, as message ordering regardless is not guaranteed without extra configuration.

    Hi,
    Inside your composite (in the EM), you can see there is a category table call 'Services and References'.
    Under it, find the name of your JCA Adapter, where you've define the polling from the DB. Click on it and go to the property tab.
    There you can find all the parameters you've set and more.
    After you finish update it, click on Apply (this will automatically poll the data).
    Arik

  • DB adapter polling error

    Dear All,
    I am getting below error while polling from a SQL Server DB
    Database Adapter PROTEST <oracle.tip.adapter.db.InboundWork handleException> Encountered a fatal exception while polling. Will continue polling but with minimal logging. Please investigate the fault and manually stop polling from the console if in development and this appears to be a modeling mistake. BINDING.JCA-11624
    Supplemental Detail DBActivationSpec Polling Exception.
    Query name: [PROTESTSelect], Descriptor name: [PROTEST.Mes2Otcmessage]. Polling the database for events failed on this iteration.
    Caused by java.sql.SQLSyntaxErrorException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Invalid object name 'MES2OTCMessage'..
    This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-208" to your deployment descriptor (i.e. weblogic-ra.xml). This polling process will shut down, unless the fault is related to processing a particular row, in which case polling will continue but the row will be rejected (faulted).
    at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:682)
    at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:648)
    at oracle.tip.adapter.db.exceptions.DBResourceException.inboundReadException(DBResourceException.java:483)
    at oracle.tip.adapter.db.InboundWork.handleException(InboundWork.java:922)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:826)
    at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:578)
    at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.sql.SQLSyntaxErrorException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Invalid object name 'MES2OTCMessage'.
    at weblogic.jdbc.sqlserverbase.dda4.b(Unknown Source)
    at weblogic.jdbc.sqlserverbase.dda4.a(Unknown Source)
    at weblogic.jdbc.sqlserverbase.dda3.b(Unknown Source)
    at weblogic.jdbc.sqlserverbase.dda3.a(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddr.v(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddr.a(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddq.a(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddr.a(Unknown Source)
    at weblogic.jdbc.sqlserver.ddj.m(Unknown Source)
    at weblogic.jdbc.sqlserverbase.ddde.e(Unknown Source)
    at weblogic.jdbc.sqlserverbase.ddde.a(Unknown Source)
    at weblogic.jdbc.sqlserverbase.ddb9.a(Unknown Source)
    at weblogic.jdbc.sqlserverbase.ddde.v(Unknown Source)
    at weblogic.jdbc.sqlserverbase.ddde.u(Unknown Source)
    at weblogic.jdbc.sqlserverbase.ddb9.executeQuery(Unknown Source)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
    at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeSelect(DatabaseAccessor.java:888)
    at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:598)
    at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:526)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeCall(AbstractSession.java:980)
    at org.eclipse.persistence.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:131)
    at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:206)
    at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:192)
    at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.cursorSelectAllRows(DatasourceCallQueryMechanism.java:74)
    at org.eclipse.persistence.queries.CursoredStreamPolicy.execute(CursoredStreamPolicy.java:64)
    at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:395)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1076)
    at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:740)
    at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1036)
    at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:380)
    at org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2392)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1291)
    at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1273)
    at oracle.tip.adapter.db.inbound.DestructivePollingStrategy.poll(DestructivePollingStrategy.java:456)
    at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:699)
    Plese help.
    Thanks,

    Hi,
    Please verify first that you can run a simple query (not polling) using the same data source.
    If not, probably there is a problem with the data source definition.
    If yes, verify your polling query is correct, restart SOA server and redeploy your process.
    Please post your results...
    Arik

Maybe you are looking for

  • Can we call a task-flow from a bean in adf?

    Sir, Can we call a task-flow from a bean in adf? Regards

  • Really annoying problem.

    Well I thought I'd download a trial version of Photoshop on my computer so I did. However, Every time I attempt to install it I get the following error; ']Adobe Photoshop CS4 Error: Error 1612. The installation source for this product is not availabl

  • Error in Select-Option

    Hi Experts, In my report i need to declare a select-option . This select-option is a combination of Period and fiscal year i..e the values in the select-option should be like <b>PPP/YYYY</b> period and year need to be separated by <b>"/".</b> I had d

  • Re: Focus Highlight Property of an Array Field

    Hi Rhonda, There was a couple of discussions about this subject a while ago. I remember of having posted a code sample myself. Take a look at the searchable archive. Ajith kallambella M. Forte Systems Engineer, International Business Corporation. Fro

  • Customize look of javascript disabled page items

    I'm using javascript to enable and disable text field items on a page based on the user's access level and role. I chose to use a script for this because every item on the page is affected, and it seemed easier to maintain and debug by collecting all