Share XSD schemas among BPEL projects?

Hello,
Does anyone know how to share XSD schemas among BPEL projects?
I am using the GS1 XML Standard for a project. But I just want to maintain only one copy of this consolidated XML schema. Now I have to copy the whole schema folder to each BPEL project to use them.
By the way, I can assign the application directory for the schema by using "../../something", but I can't assign the absolute path in WSDL. And how about during the deployment?
Thanks and regards,
Kerr
Edited by: Kerrs on 24/03/2009 15:29

You can copy XSD's into <ORACLE_SOA_HOME>/bpel/system/xmllib folder and access them using the following url:
http://<HOST NAME>:<PORT>/orabpel/xmllib/<XSD PATH>
for example - http://localhost:8888/orabpel/xmllib/Mail.xsd
Regards,
Dharmendra
http://soa-howto.blogspot.com

Similar Messages

  • Exception While importing or unable to browse the xsd to a BPEL Project

    Dear All..,
    I am having an issue wjile importing the schema to a BPEL project. It says that unable to load the schema.
    Even When I try to choose the schema through edit variable option, and to mention the URI of schema location, on click of the search button, the Jdev hangs for ever. Why this scenario is happening.
    I replaced the JDEV copy i have, still its shows the same issue. Is it a problem from the OS. The Jdev Version is 1.3.4.1
    Please update...
    Many Thanks in advance...
    Edited by: santark on May 7, 2009 12:38 PM

    Thank you for your immediate resposne...
    Please find the xsd below:
    <?xml version="1.0" encoding="Windows-1252"?>
    <xsd:schema xmlns="http://xmlns.hdnl.com/EnterpriseObject/Core/DiaryCancellation"
    elementFormDefault="qualified"
    targetNamespace="http://xmlns.hdnl.com/EnterpriseObject/Core/DiaryCancellation"
    xmlns:types="http://xmlns.hdnl.com/EnterpriseObject/Core/Types"
    xmlns:comm="http://xmlns.hdnl.com/EnterpriseObject/Core/CommonTypes"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import schemaLocation="DataTypes.xsd"
    namespace="http://xmlns.hdnl.com/EnterpriseObject/Core/CommonTypes"/>
    <xsd:import schemaLocation="CommonTypes.xsd"
    namespace="http://xmlns.hdnl.com/EnterpriseObject/Core/Types"/>
    <xsd:complexType name="DiaryCancellationRequestType">
    <xsd:sequence>
    <xsd:element name="BookingId" minOccurs="0">
    <xsd:simpleType>
    <xsd:restriction base="types:StringType">
    <xsd:maxLength value="32"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="UserId" minOccurs="0">
    <xsd:simpleType>
    <xsd:restriction base="types:StringType">
    <xsd:maxLength value="32"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="DiaryCancellationResponseType">
    <xsd:sequence>
    <xsd:element name="BookingId" minOccurs="0">
    <xsd:simpleType>
    <xsd:restriction base="types:StringType">
    <xsd:maxLength value="32"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element minOccurs="0" name="ErrorInfo" type="comm:ErrorType"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="DiaryCancellationRequest" type="DiaryCancellationRequestType"/>
    <xsd:element name="DiaryCancellationResponse"
    type="DiaryCancellationResponseType"/>
    </xsd:schema>
    I have the DataTypes.xsd and CommonTypes.xsd are there in the same location
    Please update...

  • How to share schemas between BPEL-processes?

    Hello everyone!
    I'm trying to build a simple BPEL-SOA-like application using Oracle SOA Suite. How can I share these schemas between the different processes?
    For example I have a "main" BPEL process which receives a customer as input and later has to pass this customer on to some other Web Service. As they should both use the same data structure (I created a XML schema definition, complextype), I'd like to know how one would share this structure between the two processes.
    Or do I really have to copy the .xsd-files to every process and include it there or define the types inline? But then I'd to use the same namespace overall, because the types wouldn't be compatible otherwise.
    Thanks for any hints and best-practices!
    Jan.

    If you want to have a generic xsd that you can use
    for multiple purposes in several independent
    processes (not calling each other) you can either put
    the xsd in each of them or put it on a website where
    bpel can download them. Since Oracle AS comes with
    Oracle HTTP server, you can put it into its htdocs or
    create a virtual name server for it.I tried to make it accessible via HTTP and then imported it in the BPEL process' XSD-file. But unfortunately, then BPEL Console is not able to create a valid payload-message. The form with the input fields is displayed correctly, but the XML is empty! When I use inline-defined types, everything works fine!
    If you want to use some types in dependent process
    (that calls the master process), there is no need to
    do this, just create partnerlink and JDeveloper will
    create an import for you in bpel project. Then you
    can create variables of those types. In this
    scenario, putting the same xsd with the same target
    namespace is not recommended, as you could run into
    weird errors (for example if one xsd changed without
    synchronizing the other one) or it might work.I don't really understand how this should work. Let's say I have process A and process B. Process A defines "AProcessRequest" in file A.xsd. In this type, I want to use for example the type "Customer". Process B also has to use the Customer-type in its "BProcessRequest" ... or should I rather define the types in the A.wsdl? I'm a bit lost here, sorry ;-)
    Thanks and greets,
    Jan.

  • After importing schema in my BPEL project i am geeting an error

    Hi All,
    i am doing a OrderBooking Project(as a sample project) and on a step of adding transformation logic.
    i had created a BPEL project(POAcknowledge) of asyschronous type and imported a schema files(OrderBookingPO.xsd and POAcknowledge.xsd). and edited the message part of POAcknowledge. now when i am trying to deploy it ,i am getting one compilation error.
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/C:/jDeveloper/jdevhome/jdev/mywork/OrderBookingApplication/POAcknowledge/bpel/POAcknowledge.wsdl", message part element "{http://www.globalcompany.com/ns/sales}POAcknowledge" 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.
    anybody help me in this.
    thanks and regards
    Divya

    It looks like a namespace issue. If possible can you provide us with the details on wsdl and xsd.

  • JDeveloper Giving XSD Parse Error in BPEL Project during Adapter Config

    Folks:
    I receive the following error in the JDEV "Type Chooser" from the Adapter Configuration Wizard GUI:
    Under the ESB Projects header:
    "Exception: Unable To Parse schema EmpDBOut_table.xsd"
    Yet, If I manually add the exact same XSD to the root of the BPEL PRoject, it parses perfectly fine.
    JDeveloper Version: 10.1.3.2.0.4066 Studio Edition
    Steps to recreate: 1) Create New BPEL Project with Empty BPEL Process;
    2) Add a JMS AdapterService and step through the Adapter wizard:
    Step 1 Name: TestESB
    Step 2 OEMS: memory/file
    Step 3: Connection (give it your previously configured App Server Connection)
    Step 4: Select Consume Message
    Step 5: Destination Name = demoTopic(Topic) at root of JMS tree
    Step 6: browse Schema location which brings up the Type Chooser dialog
    Choose any schema available inside the ESB Projects or the WSDL explorer and you get the same Exception.
    What's the problem here?

    I figured it out. The problem was inside the ESB Control. SOA Suite 10.1.3.1 was installed using http port 8889. When I went to look at the definitions of the end points in the ESB Control, the wsdl url location was showing 8888. When I changed the deployed ESB process using the ESB control to 8889 -- then JDeveloper was able to see the correct xsd definitions and the root elements are visible.
    SO, the quick answer is ESB default server location needs to be modified if the app server port is anything but 8888.

  • Mutliple wsdl operations for a port in BPEL Project -- Help

    I was trying to create a BPEL project with multiple operations for one port type. I used a pick activity and on message acitivity to branch out based on the operation. For some reason all the operations are channeled through the same branch (operation). Please share with me your experiences and any simple project.
    -----------------wsdl file -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;definitions name="MultiWsdl"
    targetNamespace="http://xmlns.oracle.com/MultiWsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/MultiWsdl"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"&gt;
    &lt;!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TYPE DEFINITION - List of services participating in this BPEL process
    The default output of the BPEL designer uses strings as input and
    output to the BPEL Process. But you can define or import any XML
    Schema type and use them as part of the message types.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --&gt;
    &lt;types&gt;
    &lt;schema xmlns="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;import namespace="http://xmlns.oracle.com/MultiWsdl" schemaLocation="MultiWsdl.xsd" /&gt;
    &lt;/schema&gt;
    &lt;/types&gt;
    &lt;!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MESSAGE TYPE DEFINITION - Definition of the message types used as
    part of the port type defintions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --&gt;
    &lt;message name="MultiWsdlRequestMessage"&gt;
    &lt;part name="payload" element="client:MultiWsdlProcessRequest"/&gt;
    &lt;/message&gt;
    &lt;message name="MultiWsdlResponseMessage"&gt;
    &lt;part name="payload" element="client:MultiWsdlProcessResponse"/&gt;
    &lt;/message&gt;
    &lt;!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PORT TYPE DEFINITION - A port type groups a set of operations into
    a logical service unit.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --&gt;
    *&lt;!-- portType implemented by the MultiWsdl BPEL process --&gt;
    *&lt;portType name="MultiWsdl"&gt;
    *&lt;operation name="Create"&gt;
    *&lt;input message="client:MultiWsdlRequestMessage"/&gt;
    *&lt;output message="client:MultiWsdlResponseMessage"/&gt;
    *&lt;/operation&gt;
    *&lt;operation name="Update"&gt;
    *&lt;input message="client:MultiWsdlRequestMessage"/&gt;
    *&lt;output message="client:MultiWsdlResponseMessage"/&gt;
    *&lt;/operation&gt;
    *&lt;/portType&gt;
    &lt;!-- portType implemented by the requester of MultiWsdl BPEL process
    for asynchronous callback purposes
    --&gt;
    &lt;portType name="MultiWsdlCallback"&gt;
    &lt;operation name="TestReply"&gt;
    &lt;input message="client:MultiWsdlResponseMessage"/&gt;
    &lt;/operation&gt;
    &lt;/portType&gt;
    &lt;!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PARTNER LINK TYPE DEFINITION
    the MultiWsdl partnerLinkType binds the provider and
    requester portType into an asynchronous conversation.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --&gt;
    &lt;plnk:partnerLinkType name="MultiWsdl"&gt;
    &lt;plnk:role name="MultiWsdlProvider"&gt;
    &lt;plnk:portType name="client:MultiWsdl"/&gt;
    &lt;/plnk:role&gt;
    &lt;plnk:role name="MultiWsdlRequester"&gt;
    &lt;plnk:portType name="client:MultiWsdlCallback"/&gt;
    &lt;/plnk:role&gt;
    &lt;/plnk:partnerLinkType&gt;
    &lt;/definitions&gt;
    ---------------- Bpel File ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    &lt;?xml version = "1.0" encoding = "UTF-8" ?&gt;
    &lt;!--
    Oracle JDeveloper BPEL Designer
    Created: Thu Nov 06 21:46:50 PST 2008
    Author:
    Purpose: Asynchronous BPEL Process
    --&gt;
    &lt;process name="MultiWsdl" targetNamespace="http://xmlns.oracle.com/MultiWsdl"
    xmlns="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:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/MultiWsdl"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"&gt;
    &lt;!--
    PARTNERLINKS
    List of services participating in this BPEL process
    --&gt;
    &lt;partnerLinks&gt;
    &lt;!--
    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.
    --&gt;
    &lt;partnerLink name="client" partnerLinkType="client:MultiWsdl"
    myRole="MultiWsdlProvider"
    partnerRole="MultiWsdlRequester"/&gt;
    &lt;/partnerLinks&gt;
    &lt;!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    --&gt;
    &lt;variables&gt;
    &lt;!-- Reference to the message passed as input during initiation --&gt;
    &lt;variable name="inputVariable"
    messageType="client:MultiWsdlRequestMessage"/&gt;
    &lt;!-- Reference to the message that will be sent back to the requester during callback --&gt;
    &lt;variable name="outputVariable"
    messageType="client:MultiWsdlResponseMessage"/&gt;
    &lt;variable name="OnMessage_TestReq_InputVariable"
    messageType="client:MultiWsdlRequestMessage"/&gt;
    &lt;variable name="OnMessage_TestReq_InputVariable_1"
    messageType="client:MultiWsdlRequestMessage"/&gt;
    &lt;variable name="Reply_2_TestReq_OutputVariable"
    messageType="client:MultiWsdlResponseMessage"/&gt;
    &lt;variable name="Reply_1_TestReq_OutputVariable"
    messageType="client:MultiWsdlResponseMessage"/&gt;
    &lt;/variables&gt;
    &lt;!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    --&gt;
    &lt;sequence name="main"&gt;
    &lt;!-- Receive input from requestor. (Note: This maps to operation defined in MultiWsdl.wsdl) --&gt;
    &lt;!--
    Asynchronous callback to the requester. (Note: the callback location and correlation id is transparently handled using WS-addressing.)
    --&gt;
    &lt;pick name="Pick_1" createInstance="yes"&gt;
    &lt;onMessage portType="client:MultiWsdl" operation="Update"
    variable="OnMessage_TestReq_InputVariable_1"
    partnerLink="client"&gt;
    &lt;sequence name="Sequence_1"&gt;
    &lt;assign name="Assign_1"&gt;
    &lt;copy&gt;
    &lt;from expression="'test'"/&gt;
    &lt;to variable="Reply_1_TestReq_OutputVariable"
    part="payload"
    query="/client:MultiWsdlProcessResponse/client:result"/&gt;
    &lt;/copy&gt;
    &lt;/assign&gt;
    &lt;reply name="Reply_2" partnerLink="client"
    portType="client:MultiWsdl" operation="Update"
    variable="Reply_1_TestReq_OutputVariable"/&gt;
    &lt;/sequence&gt;
    &lt;/onMessage&gt;
    &lt;onMessage portType="client:MultiWsdl" operation="Create"
    variable="OnMessage_TestReq_InputVariable"
    partnerLink="client"&gt;
    &lt;sequence name="Sequence_2"&gt;
    &lt;assign name="Assign_2"&gt;
    &lt;copy&gt;
    &lt;from expression='"AB"'/&gt;
    &lt;to variable="Reply_2_TestReq_OutputVariable"
    part="payload"
    query="/client:MultiWsdlProcessResponse/client:result"/&gt;
    &lt;/copy&gt;
    &lt;/assign&gt;
    &lt;reply name="Reply_1" partnerLink="client"
    portType="client:MultiWsdl" operation="Create"
    variable="Reply_2_TestReq_OutputVariable"/&gt;
    &lt;/sequence&gt;
    &lt;/onMessage&gt;
    &lt;/pick&gt;
    &lt;/sequence&gt;
    &lt;/process&gt;
    ----------xsd -------
    &lt;schema attributeFormDefault="unqualified"
    elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/MultiWsdl"
    xmlns="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;element name="MultiWsdlProcessRequest"&gt;
    &lt;complexType&gt;
    &lt;sequence&gt;
    &lt;element name="input" type="string"/&gt;
    &lt;/sequence&gt;
    &lt;/complexType&gt;
    &lt;/element&gt;
    &lt;element name="MultiWsdlProcessResponse"&gt;
    &lt;complexType&gt;
    &lt;sequence&gt;
    &lt;element name="result" type="string"/&gt;
    &lt;/sequence&gt;
    &lt;/complexType&gt;
    &lt;/element&gt;
    &lt;/schema&gt;
    -----------------------------------------------------------------------------------------------------bpel.xml--------------------------------------------------
    &lt;?xml version = '1.0' encoding = 'UTF-8'?&gt;
    &lt;BPELSuitcase&gt;
    &lt;BPELProcess id="MultiWsdl" src="MultiWsdl.bpel"&gt;
    &lt;partnerLinkBindings&gt;
    &lt;partnerLinkBinding name="client"&gt;
    &lt;property name="wsdlLocation"&gt;MultiWsdl.wsdl&lt;/property&gt;
    &lt;/partnerLinkBinding&gt;
    &lt;/partnerLinkBindings&gt;
    &lt;/BPELProcess&gt;
    &lt;/BPELSuitcase&gt;

    Thanks a lot. It helped me a lot. It seems this is the problem with the BPEL Console. I tried to create another BPEL Project to invoke the other service/operations. It worked perfectly fine. I had even tested with SoapUI. It worked fine. Thanks for the right pointer.

  • XSD Schema issue with 11g - Urgent

    All,
    SOA,JDev Version - 11.1.1.1.0
    In my current project(Async BPEL), I'm using a xsd schema(custom one) which I have used in 10g. The import of schema to jdev went thru fine. After import, I've set the custom schema element as the payload for the receive activity. (i.e Structure pane --> MessageTypes --> Process WSDL --> <process>RequestMessage --> payload --> Element --> BrowseElement --> project schema files --> Choose the custom schema and select the root element). After setting it up, I tried to deploy the process. I got the following error.
    *+[2010-01-08T16:17:17.502+05:30] [soa_server4] [ERROR] [SOA-21037] [oracle.integration.platform.blocks.deploy.servlet] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000IODYsIR9DgYVLqBT8A1BHgwq00001Q,0] [APP: soa-infra] [arg: Error during composite deployment: oracle.fabric.common.FabricDeploymentException: oracle.fabric.common.FabricException: Update Failed: Unable to register service.: Update Failed: Unable to register service..] Sending back error message: Error during composite deployment: oracle.fabric.common.FabricDeploymentException: oracle.fabric.common.FabricException: Update Failed: Unable to register service.: Update Failed: Unable to register service...+*
    I tried the same scenario with the schema which the BPEL process created, it deployed successfully.
    In 11g, is there any stringent steps to verify the custom schema? If so, please share your thoughts. Its of high importance to me. Kindly help.
    Thanks,
    Sen

    Once I had a similar problem, although I am not sure with the error messge, but I saw that the wsdl file was still reflecting the process as message part and was also using the namespace of default xsd, for xs:client. It might have effects some where else as well, could not recollect, where all I was required to change.
    So I think it is better to create the empty composite first, copy your schema file in it and then when dragging the BPEL component, specify the data types from your schema, instead of 'process' and 'processResponse'.
    HTH,
    SwapSawe.

  • Empty BPEL Project Fails to migrate...

    Hi Everyone,
    I migrated a BPEL project from JDeveloper 10.1.2 to 10.1.3.3.
    After successfully letting JDev do the migration for me, the rebuild failed, and I ended up deleting all the project code, leaving only the receiveInput - relayOutput skeleton. And still - the project fails to compile.
    The error I am getting is:
    Error: Failed to compile classes.
    Failed to compile the generated BPEL classes for "IMP-4KOrd".
    Below is the .bpel file, and I would greatly appreciate if anyone could comment on any mistakes they see in it, or possibly suggest how to get a more meaningful error description from the JDev-BPEL compiler.
    Thanks,
    Tal.
    Here is the BPEL file:
    <process name="IMP-4KOrd"
    targetNamespace="http://xmlns.oracle.com/IMP-4KOrd"
    xmlns="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:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/db/top/IMP4KOrd"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/IMP-4KOrd"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    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>
    <!--
    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:IMP-4KOrd"
    myRole="IMP-4KOrdProvider"/>
    </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:IMP-4KOrdRequestMessage"/>
    <!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="outputVariable"
    messageType="client:IMP-4KOrdResponseMessage"/>
    </variables>
    <!-- ================================================================= -->
    <!-- ORCHESTRATION LOGIC -->
    <!-- Set of activities coordinating the flow of messages across the -->
    <!-- services integrated within this business process -->
    <!-- ================================================================= -->
    <sequence name="main">
    <!-- Receive input from requestor.
    Note: This maps to operation defined in IMP-4KOrd.wsdl
    -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:IMP-4KOrd" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <reply name="replyOutput" partnerLink="client" portType="client:IMP-4KOrd"
    operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    and the XSD
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema xmlns="http://tempuri.org/KNITORD_Schema.xsd" xmlns:mstns="http://tempuri.org/KNITORD_Schema.xsd"
         xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org/KNITORD_Schema.xsd"
         elementFormDefault="qualified" id="KNITORD_Schema">
         <xs:element name="KNITORD">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element maxOccurs="unbounded" ref="mstns:Item" />
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="Item">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="Response" type="xs:string" />
                        <xs:element name="Operation_Type">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="O" />
                                       <xs:enumeration value="C" />
                                       <xs:enumeration value="U" />
                                       <xs:enumeration value="H" />
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="WIPID" type="xs:string" />
                        <xs:element name="ProductID" type="xs:string" />
                        <xs:element name="XP_OA_Route" type="xs:string" />
                        <xs:element name="XP_Rolls" type="xs:integer" />
                        <xs:element name="XP_Wip_Comments" type="xs:string" />
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>

    Hi Sashwat,
    Ther requirement goes here.....
    1. CSV file initite the process (assume it has two columns .....)
    2. Based upon the CSV file data we have to invoke one webservice (existing)
    3. There will be mapping between Recieved Data from CSV (source ) and WebSrvice input variable
    4. WebService is secured webService so we need to pass some values like username / pasword inside SOAP header
    Please revert back for more clarification

  • How to import a XSD schema files hierarchy (=mulitple dependent XSD files)?

    Assume I have a XSD schema file hierarchy in my local directory
    D:\bpelprojects\projXSDs\proj123\*
    The "main" XSD
    D:\bpelprojects\projXSDs\proj123\main.xsd
    imports internally other XSDs (files) from other directories. So we have a whole set of depending XSD schema files.
    Now I want to import the top-most XSD main.xsd (see above) as a XSD schema for one of my BPEL process in JDeveloper. When I rightclick on "Schema" in the "Structures" pane in JDeveloper and import the main.xsd then it seems to me that the other (dependent) XSD files are NOT imported as well (or only sometimes under some circumstances). They are at least not copied to the BPEL project folder
    How can I assign a hierarchy of XSD files to a WSDL otherwise WITHOUT to copy and enter them all manually and individually in the WSDL?
    Peter

    HI,
    Make sure that you use all the relative paths while referring those XSDs in the BPEL/XSD files. Otherwise you will see the problems ar runtime.
    As a jeneral rule... if the schemas are public put them in system/xmllib directory and refer them using the localhost:7778/xmllib/...
    or copying them into the BPEL folder and referring them with relative paths like "main.xsd" or abc/sub.xsd.
    If you are ferering the main inside the sub then ../main.xsd should be mentioned in the sub.xsd.
    Hope this makes clear.
    -- Khaleel

  • Error while creating an asynchronous BPEL project

    In BPEL Project Creation Wizard-> while selecting the Input and Output Schema element, Instead of getting the complete namespace in "Type",
    I get "{}PODesc".
    Why is it not picking the complete namespace???

    User,
    The people on the [url http://forums.oracle.com/forums/forum.jspa?forumID=320]SOA Suite Forum or [url http://forums.oracle.com/forums/forum.jspa?forumID=212]BPEL Forum can probably better help (a copy-and-paste from another reply just an hour or so ago)
    John

  • XSD schema to xml file generation using C#

    Hi fellow developers,
    I need small help with my current scenario.
    I have 2 xsd schemas one is input and other is output.
    Now my requirement is based on those xsd template or structure, i need to write a C# code that takes the 1 xsd template as input in xml format and then do some mapping and then set that values to 2 xsd template in xml format.
    Can you please guide or assist in this regards ??
    It would be helpful if we have the flexibility of configuring the schema properties.

    Hi
    Venky_Ferrari.
    Based on your description, your case related to XMLXSD, SO I will move your thread to
    Data Platform Development > XML, System.Xml, MSXML and XmlLite      
    forum for better support.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to change the input and output schema in BPEL process

    hi',
    Please tell me how to change the input and output schema in BPEL process after the process is made.
    thanks
    Yatan

    If your intention is just changing the content you are passing to bpel/returning from bpel
    Here is another way
    just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
    Regards,
    Praveen

  • Adding AIADemo BPEL projects to JDeveloper 10.1.3.4

    Hi all,
    I'm in a project using AIA2.5 FP and using JDeveloper 10.1.3.4. I copied a EBF project from the server to my computer and I soon I open a file from this project it gives syntax error. I believe that the problem is not in the project itself, since he is deployed and running on the server, but some missconfiguration in my JDeveloper. Do I need to configure any particular thing in JDev so I can import BPEL projects from server? It does not happen only with this project. Schema locations are all pointing to the server.
    Any help?
    Thanks,
    António Amado

    There was no such thing as JDeveloper 8.
    Two options - if you have the project or workspace file (jpr or jws extensions) - just open them in JDeveloper and this should take care of bringing in the source.
    If you don't have those - then do file->New->projects->Project from existing source and point to the directory where the source files are.
    You might need to do a bit more tweaking of the Web content location under project properties->content

  • JDeveloper reference schemas in other projects

    Hello,
    I have an application with various SOA projects in it.
    I am defining a Web Service entry point in the composite in one of my projects and I would like to reference an XSD schema defined in another project, how do I go about doing that?
    Thanks,
    Alessandro Ferrucci

    OK, Right after sending this message I was able to figure out ONE way of doing it.
    Basically what I did was go into my project (the one I'm creating the composite in) and right click on the project name, select project properties, select "Project Source Paths" and I added the path to the XSD directory of the project that holds the XSDs.
    Thanks,
    Alessandro Ferrucci

  • Redeploy BPEL Projects from EM

    Hello,
    I have noticed an issue in EM and wasn't sure how to resolve this. I hope someone can help me.
    When I click on one of the BPEL project in EM, it throws the below error. But when I redeployed the project, it works fine. I wanted to know if their is any way I can redeploy the project using the jar file that is on the server.
    Second question, for instance, I have a BPEL service deployed on the server and a partnerlink (database or WSDL) is invoked in this BPEL service that is down. During the same time if i bounce the server, this particular BPEL service fails to come up because it is trying to make a live connection. Is their any way to stop making live connections when the service is getting deployed. Please advise
    Error Message:
    The composite BPEL_Project (1.0) is not available. This could happen because either the composite has been undeployed or soa-infra has not yet loaded this composite.
    Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/Request_BPEL}bpel_client_ep and port Request_BPEL_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server.

    Hi user10387854,
    Can you pls share the solution,for your second question:
    Second question, for instance, I have a BPEL service deployed on the server and a partnerlink (database or WSDL) is invoked in this BPEL service that is down. During the same time if i bounce the server, this particular BPEL service fails to come up because it is trying to make a live connection. Is their any way to stop making live connections when the service is getting deployed. Please advise

Maybe you are looking for

  • My blackberry 8830 stop working

    My blackberry's model is 8830 and its the problems is that its is not turning and keep flashing a red light. My service provider is O2 though its doesn't have the handset i have a pay as you go sim. I attached it to the computer using a usb and used

  • Sending the same data to multiple receivers.

    Hi, In 7.1, I did a simple file-to-file scenario with mulitple receivers.I used only 1 Rcvr Det.(included multiple business components) and 1 Interface Det. without BPM and it works.I would like to know if there's any other way to send same data to m

  • Errors compiling pykde package...

    I need pykde for several reasons, but appearantly it has been removed from the kdebindings package. I downloaded a source package and began constructing my pkgbuild. Finding out that it had a history of problems compiling under gcc4, I modified an ex

  • Hardware Advice - PB& M-Audio

    I was thinking of the following combination for mobile songwriting/production: 17" Powerbook w/2GB RAM, 120GBHD, L7Pro M-Audio Ozonic M-Audio Trigger Finger (I love that thing!) Anyone using it dependably? More interested in stability and durability

  • My new Pavillion G-7

    When I asked for help with the HP techincal folks in Mumbai, India they worked on my broken CD software for 1.75 hrs on Saturday 7-27 by remote "take-over" of my Pavillion G-7 which was less than 5 weeks old. Sadly they could not "repair" my new comp