BPEL file

Hi Experts,
If I have to test my webservice scenario from some other Technology ( Example : IBM  and etc.,), I have to give the wsdl file(which is created from XI - ID) to other technology people so that they can create the Proxy stuff and they will access our XI webservice scenario.
Same way, I would like to test the BPM scenario from other technology platform. Could you please tell me, how to get the BPEL file(BPM flow file) from XI? Where it is stored?
Regards
Sara

sara,
In Business/Integration Process Editor you can export the BPEL code. you can change the graphical editor to BPEL4WS display by clicking the top left corner in graphical editor area. You could see the BPEL code here and you can export as zip file too.
The zip file will have three files with extension *.wsdl and *.bpel,

Similar Messages

  • Error ORABPEL-10902 compilation failed, for an almost empty bpel  file

    Thank you for reading my post
    I have a problem with a bpel process in Oracle SOA suite 10.1.3.1 and its compliance jdeveloper (10.1.3.1).
    when i try to compile the appliaction and deploy it to server it returns and error which i include in this message.
    Here is the bpel file
    <process name="Puchase_Request" abstractProcess="no"
             enableInstanceCompensation="no" suppressJoinFailure="no"
             targetNamespace="www.testi.com"
           xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
             xmlns:ns1="http://testi2.com/"
             xmlns:ns2="www.testi.com"
             xmlns:ns3="www.testi.com" >
                  </process>and here is the error message it returns
    Problem is that i get an error like :
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "F:\appplication\bpel\Puchase_Request.bpel", XML parsing failed because "".
    [Potential fix]: n/a.
    Does any one faced such problem?

    Hi
    I too got similar problem
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/C:/JDeveloper/jdev/mywork/CICWorkSpace/CICBPEL/bpel/CICBPEL.wsdl", message part element "{http://xmlns.oracle.com/orchestration}confirmationMessage" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.." [Potential fix]: n/a.
    WSDL
    =====
    <definitions
    name="CICBPEL"
    targetNamespace="http://xmlns.oracle.com/CICBPEL"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ns4="http://www.1sync.org"
    xmlns:ns1="http://www.globalcompany.com/ns/sales"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC"
    xmlns:ns2="http://xmlns.oracle.com/orchestration"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg"
    xmlns:client="http://xmlns.oracle.com/CICBPEL"
    >
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://www.1sync.org" xmlns:ns1="http://www.globalcompany.com/ns/sales"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" xmlns:ns2="http://xmlns.oracle.com/orchestration"
    xmlns:client="http://xmlns.oracle.com/CICBPEL">
    <xsd:import namespace="http://www.1sync.org" schemaLocation="CatalogueItemConfirmationProxy.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/CICBPEL" schemaLocation="CICBPEL.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/orchestration" schemaLocation="CanonicalConfirmationMessageSchema.xsd"/>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://www.1sync.org"
    xmlns:ns1="http://www.globalcompany.com/ns/sales" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC" xmlns:ns2="http://xmlns.oracle.com/orchestration"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" xmlns:client="http://xmlns.oracle.com/CICBPEL">
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" schemaLocation="selectmsg_table.xsd"/>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns4="http://www.1sync.org"
    xmlns:ns1="http://www.globalcompany.com/ns/sales" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/CICSPECIFIC" xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg"
    xmlns:ns2="http://xmlns.oracle.com/orchestration" xmlns:client="http://xmlns.oracle.com/CICBPEL">
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/selectmsg" schemaLocation="message.xsd"/>
    <xsd:import namespace="http://xmlns.oracle.com/orchestration" schemaLocation="CanonicalConfirmationMessageSchema.xsd"/>
    </xsd:schema>
    </types>
    <message name="CICBPELRequestMessage">
    <part name="payload" element="ns5:M4uDmdMessagesCollection"/>
    </message>
    <message name="CICBPELResponseMessage">
    <part name="payload" element="ns4:envelope"/>
    </message>
    <message name="canonical_CICMessage">
    <part name="payload" element="ns2:confirmationMessage"/>
    </message>
    <portType name="CICBPEL">
    <operation name="initiate">
    <input message="client:CICBPELRequestMessage"/>
    </operation>
    </portType>
    <portType name="CICBPELCallback">
    <operation name="onResult">
    <input message="client:CICBPELResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="CICBPEL">
    <plnk:role name="CICBPELProvider">
    <plnk:portType name="client:CICBPEL"/>
    </plnk:role>
    <plnk:role name="CICBPELRequester">
    <plnk:portType name="client:CICBPELCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    I dont understand the problem

  • How to add wsdl files and bpel files in new folders automatically

    Hi All,
    In our project, we have a lot of wsdl files and bpel file generated.
    By default, they are all under the folder of SOA Content, like a mess.
    I want to put them in separate folders.
    I can manually change the wsdl location and manually change references to these wsdls, but it will take a lot of extra time to do so.
    Is there a way to achieve this in UI?
    Thanks and Regards!
    Bruce

    Hi Eric,
    Thanks for your reply!
    I can use refector->move to move the wsdl file to newly created folders.
    But unfortunately, JDeveloper won't update the references to the wsdl files.
    I have to update the references manually, and it will take a lot of time if there exists many wsdl files in one project.
    Thanks and Regards!
    Bruce

  • Export BPEL files

    Hi everyone:
    Is possible to export documents/models  from a SAP services to BPEL files ? Which part of SAP service could do that ?
    Thanks.

    Buenas tardes Daniel:
    Primero disculpas porque esta no es una respuesta, en realidad es otra pregunta sobre el tema.
    Meencuentro haciendo una investigación personal sobre qué lenguajes de marcado usa SAP para la representación de procesos.
    Si conoces algo y me puedes dar algunas referencias, te estaré inmensamente agradecido.
    Saludos cordiales,
    Ramiro Méndez
    Bolivia

  • Error:null while opening .bpel file

    Hello,
    I'm getting an error ERROR:null while opening a .bpel file. Any pointers to solve it. Is it some JDeveloper bug. I'm using JDeveloper 10.1.3.3 version.

    Hello,
    I'm getting an error ERROR:null while opening a .bpel file. Any pointers to solve it. Is it some JDeveloper bug. I'm using JDeveloper 10.1.3.3 version.

  • Diagram goes blank when bpel file is outside default dir

    Hi,
    I am using JDeveloper v10.1.2.1.0 and the “Diagram view” goes blank when I take the “.bpel” file from the project root directory (the default location) to some other directory, even though I modify the references accordingly. My suitcase looks like this:
    <BPELSuitcase>
    <BPELProcess id="TaskAssignment" src="../../bpel/TaskAssignment.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="client">
    <property name="wsdlLocation">TaskAssignment.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    </BPELProcess>
    </BPELSuitcase>
    The project compiles successfully with “rebuild”, the “Source” tab allows me to see the BPEL source code, but the “Diagram view” remains blank. Why?
    Thanks,
    Manuel

    I have the similiar issue even when the BPEL file is not touched or moved. This happens in I use the email activity.
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:AdaptationNotifier"
    myRole="AdaptationNotifierProvider"
    partnerRole="AdaptationNotifierRequester"/>
    <partnerLink name="AdaptationService"
    partnerLinkType="ns3:AdaptationService_PL"
    partnerRole="AdaptationService_Role"/>
    <partnerLink name="NotificationService"
    partnerRole="NotificationServiceProvider"
    partnerLinkType="ns1:NotificationServiceLink"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable"
    messageType="client:AdaptationNotifierRequestMessage"/>
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="outputVariable"
    messageType="client:AdaptationNotifierResponseMessage"/>
    <variable name="Invoke_1_logMessage_InputVariable"
    messageType="ns3:AdaptationService_logMessage"/>
    <variable name="Invoke_1_logMessage_OutputVariable"
    messageType="ns3:AdaptationService_logMessageResponse"/>
    </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_Notification_Message" partnerLink="client"
    portType="client:AdaptationNotifier" operation="initiate"
    variable="inputVariable" createInstance="yes"/>
    <scope name="Scope_1">
    <scope name="Email_1">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns1:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns1:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns1:NotificationServiceErrorMessage"/>
    </variables>
    <faultHandlers>
    <catchAll>
    <invoke name="Invoke_1" partnerLink="AdaptationService"
    portType="ns3:AdaptationService"
    operation="logMessage"
    inputVariable="Invoke_1_logMessage_InputVariable"
    outputVariable="Invoke_1_logMessage_OutputVariable"/>
    </catchAll>
    </faultHandlers>
    <sequence name="Sequence_1">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Subject"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:To"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:MimeType"/>
    </copy>
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Subject"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:To"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq"
    part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:MimeType"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService"
    partnerLink="NotificationService"
    portType="ns1:NotificationService"
    operation="sendEmailNotification"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"/>
    </sequence>
    </scope>
    </scope>
    </sequence>
    </process>

  • JDeveloper 11.1.1.3 : .bpel file Design tab not visible

    Hello Everyone,
    I am new to jdev BPEL processes and started using Jdeveloper as part of approval workflows in OIM 11G that needs to be developed in jdev.
    I have created an approval application and bpel processes but the problem that I am seeing is that *.bpel file when opened in jdeveloper does not have a design view tab.
    If any of you have seen this issue or know of possible fix for this let me know.
    Thanks,
    Deepak

    hi deepak.. bpel design tab.. is part of soa extension.. so please install the soa extension then you will be able to see..
    bpel design. tab.
    note: if the extension is not there.. the composite.xml itslf.. comes without design tab.. and there is no soa application available for you in New - Soa Application..
    download the same from here
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/156082.xml#oracle.sca.modeler
    note to download the version that supports your jdeveloper..

  • "Error:null" problem when clicking on diagram view of .bpel file

    Hi all,
    At the moment, my bpel process complies fine and get no run time error, but when I click into .bpel file, I get an Error:null error, I am not too sure what this means. I also notice that thhe Bpel structure window in the corner is empty.
    Please help!!!
    Sonia

    The error disappeared the next day. I did not restart jdeveloper or my computer.
    Is it a bug from Jdeveloper? I am using 10.1.3.1.0.

  • How to change the value of variable in .bpel file

    Hi,
    How can i change the value of variable in .bpel file at time of deployment.
    Can it be possible with configplan.xml or deployment descriptor?
    Thanks
    Richa

    You cannot change the value of variable in .bpel file using config plan. If you want to change value at runtime , you can use Preference variable. Below is the blog to help you understand more.
    http://eelzinga.wordpress.com/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Cheers,
    Durga
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • How many Sequence-Tags are allowed in one BPEL-File?

    Hello!
    I have read that only one Sequenze-Tag per BPEL-File is allowed. If I need more acticvities I should use scopes inside the Sequenze-Tag. Is this true? Actually I am working on a BPEL-File which contains two more Sequenze-Tags inside the all-embracing Sequenze-Tag. Is this legal?

    if you look into the bpel schema, which can be found here
    http://schemas.xmlsoap.org/ws/2003/03/business-process/
    and look at this here
    - <complexType name="tProcess">
    - <complexContent>
    - <extension base="bpws:tExtensibleElements">
    - <sequence>
    <element name="partnerLinks" type="bpws:tPartnerLinks" minOccurs="0" />
    <element name="partners" type="bpws:tPartners" minOccurs="0" />
    <element name="variables" type="bpws:tVariables" minOccurs="0" />
    <element name="correlationSets" type="bpws:tCorrelationSets" minOccurs="0" />
    <element name="faultHandlers" type="bpws:tFaultHandlers" minOccurs="0" />
    <element name="compensationHandler" type="bpws:tCompensationHandler" minOccurs="0" />
    <element name="eventHandlers" type="bpws:tEventHandlers" minOccurs="0" />
    <group ref="bpws:activity" />
    </sequence>
    it means max one activity .. and in a scope as shown here
    - <complexType name="tScope">
    - <complexContent>
    - <extension base="bpws:tActivity">
    - <sequence>
    <element name="variables" type="bpws:tVariables" minOccurs="0" /> <element name="correlationSets" type="bpws:tCorrelationSets" minOccurs="0" />
    <element name="faultHandlers" type="bpws:tFaultHandlers" minOccurs="0" />
    <element name="compensationHandler" type="bpws:tCompensationHandler" minOccurs="0" />
    <element name="eventHandlers" type="bpws:tEventHandlers" minOccurs="0" />
    <group ref="bpws:activity" />
    </sequence>
    <attribute name="variableAccessSerializable" type="bpws:tBoolean" default="no" />
    </extension>
    </complexContent>
    </complexType>
    the same .. in a sequence shown below
    - <complexType name="tSequence">
    - <complexContent>
    - <extension base="bpws:tActivity">
    - <sequence>
    <group ref="bpws:activity" maxOccurs="unbounded" />
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    0 -> many
    Bottom line, one activity within a process, one activity per scope. n activities within a sequence
    htc clemens

  • Large .bpel file size vs performance

    how does large .bpel file size affect performance,say that I have a process of .9 mgb size with around 10000 line how does this affect the instance creation ,fetching and message creation during the process life cycle.
    Edited by: arababah on Mar 8, 2010 7:23 AM

    Johnk93 wrote:
    MacDLS,
    I recently did a little house-cleaning on my startup drive (only 60Gb) and now have about 20Gb free, so I don't think that is the problem.
    It's probably not a very fast drive in the first place...
    I know that 5MB isn't very big, but for some reason it takes a lot longer to open these scanned files in photoshop (from aperture) than the 5MB files from my camera. Any idea why this is?
    Have a look at the file size of one of those externally edited files for a clue - it won't be 5MB. When Aperture sends a file out for editing, it creates either a PSD or an uncompressed TIFF after applying any image adjustments that you've applied in Aperture, and sends that out. Depending on the settings in Aperture's preferences this will be in either 8-bit or 16-bit.
    As a 16-bit uncompressed TIFF, a 44 megapixel image weighs in at a touch over 150MB...
    Ian

  • How to find EOF in BPEL File adapter

    Hi All,
    I am using file adapter in BPEL(SOA 11G) to read a csv file. The CSV file is very large so we have are processing the files in batched of 20000 records.I am inserting the records form CSV file to a staging table and after that I am invoking a concurrent Program for further processing.This is working fine and BPEL is initiating no of instances based on the file size.
    The issue here is, I want to submit the concurrent program only once when all the records are stored in staging table, I mean to say the BPEL Process should process the file in batches and then insert them in to the staging table. Once all the records from the file are stored in the table, then only the Concurrent Program should get submitted.
    I am using DB Adapter for invoking a PL/SQL API and from there we are submitting concurrent Program.
    Please help me on this to solve this.
    Thanks!

    It is possible to register a Java Listener class, which can/will be invoked, when a last batch in the file, is read. Code for invoking the concurrent Program can be written in side this class.
    Refer to following document on how to register the Java Listener class
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CACJBIGD
    Moreover, as an alternate to the above approach, chunk read interaction specs can be implemented along with the Sync File Read for your scenario( However,This will be a whole re-write, considering your current approach. Good News is, there is full-fledged example readily available for this in oracle docs).
    Here is the link if you would like to implement the Chunk Read.
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#BABJFCBH
    Mark the posting appropriately as "hlepful" or "correct answer", if your issue is solved.

  • ESB or BPEL file adapter and special characters

    Hi,
    We have a scenario where we import rows from .csv file through an ESB project into a database. We use the file adapter for this. There appears to be a problem with special characters (like é). Both in the ESB control (with variable tracking) and in the database, they appear as upside down questionmarks (¿). I've tried doing the same with a BPEL project (file adapter as client PL) and in the BPEL console, I also see strange characters instead of the expected special characters (diamond shaped characters, like ♦ to be precise).
    I can't find anything about character sets of character set conversions in the documentation. What am I missing?
    Regards,
    Arjan

    see
    http://download-west.oracle.com/docs/cd/B31017_01/inte
    grate.1013/b28994/nfb.htm#CIAEFBHHI've looked into the properties mentioned. They are set when you go through the wizard. Everything is set to UTF-8, which should provide me with all special characters I need.
    BPEL does the exact same thing, so I'm starting to believe that the problem really is with the file adapter.
    Regards,
    Arjan

  • How to make BPEL File Adapter read only new files?

    Hello
    we have BPEL processes that define to run from bpel component - file adatper-
    when a file come into location that it is path on the linux server . the bpel start run when "File Adapter" bpel component recognize that new file come to the location. its PollingFrequency define to 5. property name="DeleteFile" value="false" so the files remaine there.
    we want to migrate the bpel to new SOA version so we did export and deploy to new SOA Domain.
    the location of the file adapter is the same.
    but when the BPEL processes deployed its start to run for all the files that are in this location- that the file adapter define on .
    even the original soa tooks those files and start the BPEL processes for each one of them. also the new SOA that we did deploy to the BPEL processes take those files even if they are very old.
    we want the file adatper we take only new files . the start point is the time when we do deploy to the process so if we do deploy in 10:00 am we dont want this bpel will take files from 9:00 or earlier time
    Please help , how we can do this?
    Thanks

    thank you
    do you kno hat the value means in the example:
    Java mon amour: File Adapter metadata with SOA Suite
    <property name="jca.file.LastModifiedTime" value="1293041258635">
    what should I rite for read only the files that are only neer then yesterday?

  • Reading a multiple record types from a single File using BPEL file adapter

    Hi all.
    We have a requirement where we want to read a CSV file using the BPEl adapter.
    Following is the sample of csv file
    HDR,1,2,3
    ---- First transaction starts----
    TH,1,2,3
    RSD,1,1
    RSD,1,1
    TD,1
    -------Second transaction starts---
    TH,1,2,3
    RSD,1,1
    RSD,1,1
    RSD,1,1
    RSD,1,2
    TD,1
    TD,1
    -------------Third Transaction starts---
    TH,1,2,3
    RSD,1,1
    TD,1
    TD,1
    TD,1
    TD,1
    -------------Fourth Transaction starts---
    TH,1,2,3
    LN,1,1,1,1,2
    -----End of File---
    TAIL
    I have modified the file with some comments to have some clear understanding.
    Basically our file is a transactions file from legacy system & contains mutliple transactions
    First line will be a Header record starting "HDR" & contains all summary details about the file.
    After it is details of all transactions thorughout the day, each transaction begins with record starting "TH".As shown in all transactions above.EAch transaction can have other multiple records like the RSD & TD shown above.
    Our need is to read each transaction from the file & create an instance.How can we configure BPEL to grab the data starting with TH till it encounter's another TH.
    Please advise
    Krunal

    You can't use the wizard to create a schema if a file as complex as this. the good news is that you can create one yourself. What you need to do is create standard xsd that will handle your file, then what you do is add the terminators that determine when a field stops.
    Here is an example, hopefully this provides you enough infor for you to make your own.
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://Invoice"
    xmlns:tns="http://Invoice"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:encoding="ASCII"
    nxsd:stream="chars"
    nxsd:version="NXSD">
    <xsd:element name="Invoice">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="InvoiceHeader" nxsd:startsWith="000" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="tns:InvoiceHeaderDetails" />
    <xsd:element ref="tns:LineItem" nxsd:startsWith="001" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="InvoiceHeaderDetails">
    <xsd:complexType>
    <xsd:sequence nxsd:style="array" nxsd:arrayTerminatedBy="${eol}">
    <xsd:element name="BusinessUnit" type="xsd:string" nxsd:style="fixedLength" nxsd:length="13" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    <xsd:element name="InvoiceNo" type="xsd:string" nxsd:style="fixedLength" nxsd:length="16" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="InvoiceDate" type="xsd:string" nxsd:style="fixedLength" nxsd:length="15" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="VendorNo" type="xsd:string" nxsd:style="fixedLength" nxsd:length="29" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="OriginCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="3" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="OperatorID" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="LineCount" type="xsd:integer" nxsd:style="fixedLength" nxsd:length="34" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="GrossAmount" type="xsd:decimal" nxsd:style="fixedLength" nxsd:length="17" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="DiscountAmount" type="xsd:decimal" nxsd:style="fixedLength" nxsd:length="50" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="FreightAmount" type="xsd:decimal" nxsd:style="fixedLength" nxsd:length="93" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="TaxAmount" type="xsd:decimal" nxsd:style="fixedLength" nxsd:length="50" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="DiscountFlag" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="LineItem">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="LineItemDetails">
    <xsd:complexType>
    <xsd:sequence nxsd:style="array" nxsd:arrayTerminatedBy="${eol}">
    <xsd:element name="BusinessUnit" type="xsd:string" nxsd:style="fixedLength" nxsd:length="13" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    <xsd:element name="InvoiceLineNo" type="xsd:integer" nxsd:style="fixedLength" nxsd:length="5" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="DistributionCount" type="xsd:integer" nxsd:style="fixedLength" nxsd:length="5" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="BusinessUnitPO" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    <xsd:element name="PONo" type="xsd:string" nxsd:style="fixedLength" nxsd:length="10" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    <xsd:element name="POLineNo" type="xsd:integer" nxsd:style="fixedLength" nxsd:length="38" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    <xsd:element name="InvoiceLineAmount" type="xsd:decimal" nxsd:style="fixedLength" nxsd:length="17" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element ref="tns:Distribution" nxsd:startsWith="002" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Distribution">
    <xsd:complexType>
    <xsd:sequence nxsd:style="array" nxsd:arrayTerminatedBy="${eol}">
    <xsd:element name="BusinessUnit" type="xsd:string" nxsd:style="fixedLength" nxsd:length="13" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    <xsd:element name="InvoiceLineNo" type="xsd:integer" nxsd:style="fixedLength" nxsd:length="5" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="DistributionLineNo" type="xsd:integer" nxsd:style="fixedLength" nxsd:length="10" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="GLAccountCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="84" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    <xsd:element name="DistributionAmount" type="xsd:decimal" nxsd:style="fixedLength" nxsd:length="162" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="DistributionTaxAmount" type="xsd:decimal" nxsd:style="fixedLength" nxsd:length="62" nxsd:paddedBy=" " nxsd:padStyle="tail" />
    <xsd:element name="GLDepartmentCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="10" nxsd:paddedBy=" " nxsd:padStyle="tail"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    cheers
    James

Maybe you are looking for

  • Bank Loan Management Add on

    Hi, I am looking for a Bank Loan management add -on for SAP Business One. The requirements are as below -able to keep track of all the borrower information -Reducing balance calculation for the interest -Release the loan to the house contractor in mi

  • Adobe shockwave crash on my site

    When my readers try to access any multi media contents like flash videos, youtube videos or any other contents they find a crash with the webpage on my site  [spam link removed]  i tried to follow various basic precautions but nothing really worked,

  • KM Repository in Cluster Setup not working - 500 Internal Server Error

    Hello, I have a CM Repository setup in FSDB mode on Ep6 SP2 in a cluster environment. I can use the application to upload files on one server but then can not access them on the second server. For example if I upload test.txt on Server1 and go to Ser

  • DLSW drop sporadically

    Setup 6509 (IOS 12.1(13)E6) running standard DLSW ( i.e. non ethernet redundancy)over FastEthernet to 7513 (12.1(14)) connected to Mainframe over CIP2/IBM Channel. 1. Our PC running LU6.2 over ethernet connected to the 6509 spordic loose thier connec

  • Where can I download a new version of iTunes for my Mac?

    Where can I download a newer version of iTunes for my PowerBook? Please help thank you!