Eclipse BPEL: Qualified input payload and UnQualified ouput payload

Hi All,
We are currently using Eclipse BPEL to develop our BPEL processes, and we have a requirement that the incoming payload would be qualified whereas the output payload is unqualified.
Currently, in Eclipse BPEL, both the input and output elements are defined under the same Schema definition in the WSDL file. Hence, both of them can either be qualified or unqualified. But in Oracle BPEL we have different XSD definition files for input and output elements. So, we can handle them independently.
Can someone please suggest a way to achieve the same in Eclipse BPEL.
Below is the WSDL file for your reference:
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"+
+     xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"+
+     xmlns:tns="http://CFvalidation" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"+
+     xmlns:wsdl="http://validateCF" xmlns:xsd="http://www.w3.org/2001/XMLSchema"+
+     name="CFvalidation" targetNamespace="http://CFvalidation">+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          TYPE DEFINITION - List of types participating in this BPEL process The+
+          BPEL Designer will generate default request and response types but you+
+          can define or import any XML Schema type and use them as part of the+
+          message types.+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+     <plnk:partnerLinkType name="ValidateCF_PLT">+
+          <plnk:role name="ValidateCF_Role" portType="wsdl:ValidateCF" />+
+     </plnk:partnerLinkType>+
+     <import location="ValidateCF.wsdl" namespace="http://validateCF" />+
+     <types>+
+          <schema xmlns="http://www.w3.org/2001/XMLSchema"+
+               attributeFormDefault="unqualified" elementFormDefault="unqualified"+
+               targetNamespace="http://CFvalidation">+
+               <element name="SSF_LEDGER_ID">+
+                    <complexType>+
+                         <sequence>+
+                              <element maxOccurs="unbounded" minOccurs="0" name="SSF_GL_SEGMENT">+
+                                   <complexType>+
+                                        <sequence>+
+                                             <element minOccurs="0" name="SSF_GL_SEGMENT_VALUE"+
+                                                  type="xsd:string" />+
+                                        </sequence>+
+                                        <attribute name="name" type="xsd:string" />+
+                                   </complexType>+
+                              </element>+
+                         </sequence>+
+                         <attribute name="value" type="xsd:integer" />+
+                    </complexType>+
+               </element>+
+               <element name="SSF_CF_COMBO_RTVLD_ITEM">+
+                    <complexType>+
+                         <sequence>+
+                              <element name="SSF_CF_COMBO_VALID" type="xsd:string" />+
+                              <element name="SSF_CF_COMBO_ID" type="xsd:string" />+
+                         </sequence>+
+                    </complexType>+
+               </element>+
+          </schema>+
+     </types>+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          MESSAGE TYPE DEFINITION - Definition of the message types used as part+
+          of the port type defintions+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+     <message name="CFvalidationRequestMessage">+
+          <part element="tns:SSF_LEDGER_ID" name="payload" />+
+     </message>+
+     <message name="CFvalidationResponseMessage">+
+          <part element="tns:SSF_CF_COMBO_RTVLD_ITEM" name="payload" />+
+     </message>+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          PORT TYPE DEFINITION - A port type groups a set of operations into a+
+          logical service unit.+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+<!-- portType implemented by the CFvalidation BPEL process -->+
+     <portType name="CFvalidation">+
+          <operation name="process">+
+               <input message="tns:CFvalidationRequestMessage" />+
+               <output message="tns:CFvalidationResponseMessage" />+
+          </operation>+
+     </portType>+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          PARTNER LINK TYPE DEFINITION+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+     <plnk:partnerLinkType name="CFvalidation">+
+          <plnk:role name="CFvalidationProvider" portType="tns:CFvalidation" />+
+     </plnk:partnerLinkType>+
+     <binding name="CFvalidationBinding" type="tns:CFvalidation">+
+          <soap:binding style="document"+
+               transport="http://schemas.xmlsoap.org/soap/http" />+
+          <operation name="process">+
+               <soap:operation soapAction="http://CFvalidation/process" />+
+               <input>+
+                    <soap:body use="literal" />+
+               </input>+
+               <output>+
+                    <soap:body use="literal" />+
+               </output>+
+          </operation>+
+     </binding>+
+     <service name="CFvalidationService">+
+          <port binding="tns:CFvalidationBinding" name="CFvalidationPort">+
+               <soap:address location="http://localhost:9000/ode/processes/CFvalidation" />+
+          </port>+
+     </service>+
+</definitions>+
Thanks in advance,
Dev

Hi All,
We are currently using Eclipse BPEL to develop our BPEL processes, and we have a requirement that the incoming payload would be qualified whereas the output payload is unqualified.
Currently, in Eclipse BPEL, both the input and output elements are defined under the same Schema definition in the WSDL file. Hence, both of them can either be qualified or unqualified. But in Oracle BPEL we have different XSD definition files for input and output elements. So, we can handle them independently.
Can someone please suggest a way to achieve the same in Eclipse BPEL.
Below is the WSDL file for your reference:
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+
+<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"+
+     xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"+
+     xmlns:tns="http://CFvalidation" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"+
+     xmlns:wsdl="http://validateCF" xmlns:xsd="http://www.w3.org/2001/XMLSchema"+
+     name="CFvalidation" targetNamespace="http://CFvalidation">+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          TYPE DEFINITION - List of types participating in this BPEL process The+
+          BPEL Designer will generate default request and response types but you+
+          can define or import any XML Schema type and use them as part of the+
+          message types.+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+     <plnk:partnerLinkType name="ValidateCF_PLT">+
+          <plnk:role name="ValidateCF_Role" portType="wsdl:ValidateCF" />+
+     </plnk:partnerLinkType>+
+     <import location="ValidateCF.wsdl" namespace="http://validateCF" />+
+     <types>+
+          <schema xmlns="http://www.w3.org/2001/XMLSchema"+
+               attributeFormDefault="unqualified" elementFormDefault="unqualified"+
+               targetNamespace="http://CFvalidation">+
+               <element name="SSF_LEDGER_ID">+
+                    <complexType>+
+                         <sequence>+
+                              <element maxOccurs="unbounded" minOccurs="0" name="SSF_GL_SEGMENT">+
+                                   <complexType>+
+                                        <sequence>+
+                                             <element minOccurs="0" name="SSF_GL_SEGMENT_VALUE"+
+                                                  type="xsd:string" />+
+                                        </sequence>+
+                                        <attribute name="name" type="xsd:string" />+
+                                   </complexType>+
+                              </element>+
+                         </sequence>+
+                         <attribute name="value" type="xsd:integer" />+
+                    </complexType>+
+               </element>+
+               <element name="SSF_CF_COMBO_RTVLD_ITEM">+
+                    <complexType>+
+                         <sequence>+
+                              <element name="SSF_CF_COMBO_VALID" type="xsd:string" />+
+                              <element name="SSF_CF_COMBO_ID" type="xsd:string" />+
+                         </sequence>+
+                    </complexType>+
+               </element>+
+          </schema>+
+     </types>+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          MESSAGE TYPE DEFINITION - Definition of the message types used as part+
+          of the port type defintions+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+     <message name="CFvalidationRequestMessage">+
+          <part element="tns:SSF_LEDGER_ID" name="payload" />+
+     </message>+
+     <message name="CFvalidationResponseMessage">+
+          <part element="tns:SSF_CF_COMBO_RTVLD_ITEM" name="payload" />+
+     </message>+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          PORT TYPE DEFINITION - A port type groups a set of operations into a+
+          logical service unit.+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+<!-- portType implemented by the CFvalidation BPEL process -->+
+     <portType name="CFvalidation">+
+          <operation name="process">+
+               <input message="tns:CFvalidationRequestMessage" />+
+               <output message="tns:CFvalidationResponseMessage" />+
+          </operation>+
+     </portType>+
+     <!--+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+          PARTNER LINK TYPE DEFINITION+
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
+     -->+
+     <plnk:partnerLinkType name="CFvalidation">+
+          <plnk:role name="CFvalidationProvider" portType="tns:CFvalidation" />+
+     </plnk:partnerLinkType>+
+     <binding name="CFvalidationBinding" type="tns:CFvalidation">+
+          <soap:binding style="document"+
+               transport="http://schemas.xmlsoap.org/soap/http" />+
+          <operation name="process">+
+               <soap:operation soapAction="http://CFvalidation/process" />+
+               <input>+
+                    <soap:body use="literal" />+
+               </input>+
+               <output>+
+                    <soap:body use="literal" />+
+               </output>+
+          </operation>+
+     </binding>+
+     <service name="CFvalidationService">+
+          <port binding="tns:CFvalidationBinding" name="CFvalidationPort">+
+               <soap:address location="http://localhost:9000/ode/processes/CFvalidation" />+
+          </port>+
+     </service>+
+</definitions>+
Thanks in advance,
Dev

Similar Messages

  • Problem validate the input payload in a bpel process

    Hi
    I am trying to validate the input payload in a bpel process and need to catch the exact validation error . I am using the validate activity or validate property
    I am getting the error as
    <process>
    <main (80)>
    receiveInput (pending)
    Jun 21, 2013 12:24:57 PM Invalid data: The value for variable "inputVariable", part "payload" does not match the schema definition for this part Invalid text 'Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)' in element: 'PARAM_NAME'. The invalid xml document is shown below:
    <payload>
    <catchAll (60)>
    Unable to handle the error.  Please help me if anybody handled this validation.
    Thanks in advance
    kalyani

    One of the issues with using the validate activity in BPEL is that when the error is thrown it throws it with little information.  Mediators however give much more information as they throw a remote exception and this can be caught. If you require detailed fault information to be sent back to the caller, then one solution is to use a mediator with validation as a callout (echo service etc).  Then catch the remote exception, this will give you more information in the fault payload. 

  • Input payload to BPEL instance is empty

    We are using standalone BPEL 10.1.2.0.2 on oracle database.
    The BPEL Process is getting called using AXIS API. But the input payload to process is blank/empty. So BPEL process fails.
    If we use BPEL 10.1.0.2 the Process gets proper input and everything works fine.
    What can be the reason?

    BPEL process is Asynchronous.
    This is the i/p to BPEL process.(As shown in obtunnel):
    POST /orabpel/default/HoldItemForCustomerProcessTest/1.0 HTTP/1.0
    Content-Type: text/xml; charset=utf-8
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent: Axis/1.3
    Host: 192.168.2.67:1235
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: "process"
    Content-Length: 6676
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><HoldItemForCustomer xsi:type="ns1:HoldItemForCustomer" xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:ns1="urn:org_storehub.nrf_arts.ixretail.namespace"><customer xsi:type="ns1:Customer"><action xsi:type="xsd:string" xsi:nil="true"/><affiliation xsi:type="ns1:AffiliationType" xsi:nil="true"/><alternateID xsi:type="xsd:string" xsi:nil="true"/><any xsi:type="xsd:anyType" xsi:nil="true"/><customerAccount xsi:type="ns1:CustomerAccountType" xsi:nil="true"/><customerBehavior xsi:type="ns1:CustomerBehaviorType" xsi:nil="true"/><customerID xsi:type="xsd:string">10545</customerID><customerStatus xsi:type="ns1:CustomerStatusType" xsi:nil="true"/><dateTime xsi:type="xsd:string" xsi:nil="true"/><entityInformation xsi:type="ns1:EntityInformationType"><individual xsi:type="ns1:IndividualType"><any xsi:type="xsd:anyType" xsi:nil="true"/><contactInformation xsi:type="ns1:ContactInformationType"><EMail xsi:type="ns1:EMailCommonData"><EMailAddress xsi:type="xsd:string"> [email protected]</EMailAddress><primaryFlag xsi:type="xsd:boolean">true</primaryFlag><typeCode xsi:type="xsd:string">Home</typeCode></EMail><address xsi:type="ns1:AddressCommonData" xsi:nil="true"/><any xsi:type="xsd:anyType" xsi:nil="true"/><endDate xsi:type="xsd:string" xsi:nil="true"/><startDate xsi:type="xsd:string" xsi:nil="true"/><telephone xsi:type="ns1:TelephoneCommonData"><areaCode xsi:type="xsd:string">123</areaCode><countryCode xsi:type="xsd:string" xsi:nil="true"/><extensionNumber xsi:type="xsd:string" xsi:nil="true"/><primaryFlag xsi:type="xsd:boolean">true</primaryFlag><telephoneNumber xsi:type="xsd:string">4567890</telephoneNumber><typeCode xsi:type="xsd:string">Home</typeCode></telephone><updateType xsi:type="xsd:string">Existing</updateType></contactInformation><credentials xsi:type="ns1:CredentialsType" xsi:nil="true"/><employmentInformation xsi:type="ns1:EmploymentInformationType" xsi:nil="true"/><mailingName xsi:type="xsd:string" xsi:nil="true"/><name xsi:type="ns1:NameType" xsi:nil="true"/><nickName xsi:type="xsd:string" xsi:nil="true"/><officialName xsi:type="xsd:string" xsi:nil="true"/><personalSummary xsi:type="ns1:PersonalSummaryType" xsi:nil="true"/><salutation xsi:type="xsd:string" xsi:nil="true"/><socioEconomicProfile xsi:type="ns1:SocioEconomicProfileType" xsi:nil="true"/><sortingName xsi:type="xsd:string" xsi:nil="true"/><suffix xsi:type="xsd:string" xsi:nil="true"/><updateType xsi:type="xsd:string">Existing</updateType></individual><organization xsi:type="ns1:OrganizationType" xsi:nil="true"/><partyType xsi:type="xsd:string">Individual</partyType><tenantID xsi:type="xsd:string" xsi:nil="true"/></entityInformation><giftRegistration xsi:type="ns1:GiftRegistrationType" xsi:nil="true"/><giftRegistryID xsi:type="xsd:string" xsi:nil="true"/><itemCount xsi:type="ns1:ItemCountType" xsi:nil="true"/><memo xsi:type="xsd:string" xsi:nil="true"/><operatorID xsi:type="ns1:OperatorCommonData" xsi:nil="true"/><personalIdentification xsi:type="ns1:PersonalIdentificationCommonData"><IDNumber xsi:type="xsd:string">10545</IDNumber><address xsi:type="ns1:AddressCommonData"><addressLine1 xsi:type="xsd:string">20380 Town Center Lane</addressLine1><addressLine2 xsi:type="xsd:string" xsi:nil="true"/><addressLine3 xsi:type="xsd:string" xsi:nil="true"/><addressLine4 xsi:type="xsd:string" xsi:nil="true"/><addressType xsi:type="xsd:string">Permanent</addressType><city xsi:type="xsd:string">Cupertino</city><country xsi:type="xsd:string">United States</country><fullAddress xsi:type="xsd:string" xsi:nil="true"/><postalCode xsi:type="xsd:string">95014</postalCode><primaryFlag xsi:type="xsd:boolean">true</primaryFlag><territory xsi:type="xsd:string">CA</territory><typeCode xsi:type="xsd:string">Home</typeCode></address><birthdate xsi:type="xsd:string" xsi:nil="true"/><expirationDate xsi:type="xsd:string" xsi:nil="true"/><issueDate xsi:type="xsd:string" xsi:nil="true"/><issuer xsi:type="xsd:string" xsi:nil="true"/><name xsi:type="ns1:NameCommonData"><fullName xsi:type="xsd:string">Bhushan Karpe</fullName><mailingName xsi:type="xsd:string">Bhushan Karpe</mailingName><name xsi:type="ns2:Name" xsi:nil="true" xmlns:ns2="urn:org_storehub.nrf_arts.ixretail.namespace.NameCommonData"/><officialName xsi:type="xsd:string" xsi:nil="true"/><salutation xsi:type="xsd:string" xsi:nil="true"/><sortingName xsi:type="xsd:string" xsi:nil="true"/><suffix xsi:type="xsd:string" xsi:nil="true"/></name><province xsi:type="xsd:string" xsi:nil="true"/><signatureImage xsi:type="xsd:base64Binary" xsi:nil="true"/><typeCode xsi:type="xsd:string">Customer</typeCode></personalIdentification><personalPreferences xsi:type="ns1:PersonalPreferencesType"><any xsi:type="xsd:anyType" xsi:nil="true"/><contactPreference xsi:type="xsd:string">Email</contactPreference><creditRating xsi:type="ns3:CreditRating" xsi:nil="true" xmlns:ns3="urn:org_storehub.nrf_arts.ixretail.namespace.PersonalPreferencesType"/><languagePreference xsi:type="xsd:string" xsi:nil="true"/><mailingPreference xsi:type="xsd:string" xsi:nil="true"/><paymentPreference xsi:type="xsd:string" xsi:nil="true"/><personalInterests xsi:type="xsd:string" xsi:nil="true"/><privacyPreferences xsi:type="xsd:string" xsi:nil="true"/><updateType xsi:type="xsd:string">Existing</updateType></personalPreferences><promotion xsi:type="ns1:PromotionType" xsi:nil="true"/><reason xsi:type="ns1:ReasonCodeCommonData" xsi:nil="true"/><responseCode xsi:type="xsd:string">OK</responseCode><responseDescription xsi:type="xsd:string" xsi:nil="true"/><securityArrangement xsi:type="ns1:SecurityArrangementType" xsi:nil="true"/><shoppingBasket xsi:type="ns1:BasketType" xsi:nil="true"/><siteID xsi:type="ns1:SiteIDCommonData" xsi:nil="true"/><suggestion xsi:type="ns1:SuggestionType" xsi:nil="true"/></customer><item xsi:type="ns1:StoreHubItem"><itemID xsi:type="xsd:string">5555</itemID><quantity xsi:type="xsd:decimal">1</quantity></item><store xsi:type="xsd:string">452</store><task xsi:type="ns1:RetailTask"><createDate xsi:type="xsd:string">07/01/2006</createDate><endDate xsi:type="xsd:string">07/15/2006</endDate><startDate xsi:type="xsd:string">07/03/2006</startDate><status xsi:type="xsd:string">open</status><taskData xsi:type="ns1:TaskCommonData"><instruction xsi:type="xsd:string">Hold item for client</instruction><name xsi:type="xsd:string">Hold Item</name><taskID xsi:type="xsd:string">3550</taskID></taskData></task></HoldItemForCustomer></soapenv:Body></soapenv:Envelope>

  • BPEL Instance losing input payload

    ('ve raised an SR but just in case anyone else has encountered this)
    One of our dozen or so main BPEL processes exhibits a problem whereby it can't read from the input payload during the flow.
    The error manifests itself as
    xpath variable/expression expression "orcl:get-content-as-string(bpws:getVariableData('inputVariable','payload','/ns27:AppointmentEventNotification/ns27:BookingEvent/ns27:New'))" is empty at line 3192, when attempting reading/copying it.
    We only see this perhaps <1% of invokations of the service. Resubmitting the request with an identical payload will work fine, so it's unreproducable. All we can do is grab the log files when it occurs and try and gleen clues as to the cause.
    Anyone else had a similar issue ??
    Cheers,
    Rob

    This applies to 10.1.2.0.2
    Turns out using orcl:get-content-as-string is not good.
    load testing with 50 requests against 25 concurrent threads the process
    containing “get-content-as-string” had 21 failures
    Using ora:getContentAsString() fixed the issue.

  • How to get the input payload passed to the BPEL Process using java.

    Hi all,
    I am working on an application in which, if some fault occurs in the flow I need to insert the input payload that is being sent to the BPEL process into a Queue using Java. I have gone through the FaultHandling framework and failed to find the method by which we can get the input payload. Can someone kindly help me in getting the input payload. using the java.
    Regards

    Hi,
    Use method getVariableData with your input variable.
    Object getVariableData(String name, String part, String query)
    For example: getVariableData("input", "payload", "/");
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_java.htm
    Cheers,
    Vlad

  • Can we edit the input payload and resubmit again from BPM worklist app.

    hi friends,
    can we edit the input payload and resubmit again from BPM worklist applications.
    please provide me any links on this.
    Thanks,

    Hi ,
    Dont know what you mean by resubmit but, you can surely modify the input data from inside BPM Worklist before submitting.
    Follow Section 15.6.4 Specifying the Task Payload Data Structure in the below link :
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/workflow.htm#BABFICJF
    Make sure to select "Modifiable via Worklist App" checkbox.
    thanks
    Saurabh

  • Using CDATA in input payload.

    All,
    I am having issues xmlizing the xml string within CDATA of my input payload. I am using payload copied below:-
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/OutboundMessages_Dispatcher">
    <ns1:OutboundMessages_DispatcherProcessRequest>
    <ns1:identifier></ns1:identifier>
    <ns1:payload>&lt;![CDATA[<ORU_R01 Standard="HL7" Version="2.3" GUID="{1A2726C6B00EDA118F7A080020C8D296}" xmlns="http://www.edifecs.com/xdata/200">
         <MSH><MSH.1 xmlns="">|</MSH.1>
              <MSH.2 xmlns="">DNE</MSH.2>
              <MSH.3>
                   <HD.1>NO_MATCH</HD.1>
              </MSH.3>
              <MSH.4>
                   <HD.1>STV</HD.1>
              </MSH.4>
              <MSH.5>
                   <HD.1>LIS</HD.1>
              </MSH.5>
              <MSH.9>
                   <CM_MSG.1>ORU</CM_MSG.1>
                   <CM_MSG.2>R01</CM_MSG.2>
              </MSH.9>
              <MSH.10/>
         </MSH>
         <ORU_R01.PATIENT_RESULT>
              <ORU_R01.PATIENT>
                   <PID>
                        <PID.2>
                             <CX.1/>
                        </PID.2>
                   </PID>
              </ORU_R01.PATIENT>
         </ORU_R01.PATIENT_RESULT>
    </ORU_R01>]]&gt;</ns1:payload>
    </ns1:OutboundMessages_DispatcherProcessRequest>
    </soap:Body>
    </soap:Envelope>
    And within BPEL I am using assign to xmlize it like this
    <assign name="Assign_1">
    <copy>
    <from expression="ora:parseEscapedXML(bpws:getVariableData('inputVariable','payload','/client:OutboundMessages_DispatcherProcessRequest/client:payload'))"/>
    <to variable="Var_ORU_R01_23Type" query="/ns1:ORU_R01"/>
    </copy>
    </assign>
    Its giving be FOTY error and upon adding checkpoint its giving receivetimeoutexception.
    This is how the payload looks like in audit view :-
    <inputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<ns1:OutboundMessages_DispatcherProcessRequest xmlns:ns1="http://xmlns.oracle.com/OutboundMessages_Dispatcher">
    <ns1:identifier/>
    -<ns1:payload>
    <![CDATA[
    -<ORU_R01 Standard="HL7" Version="2.3" GUID="{1A2726C6B00EDA118F7A080020C8D296}" xmlns="http://www.edifecs.com/xdata/200">
    -<MSH xmlns="http://www.edifecs.com/xdata/200">
    <MSH.1 xmlns="">|
    </MSH.1>
    <MSH.2 xmlns="">DNE
    </MSH.2>
    -<MSH.3>
    <HD.1>NO_MATCH
    </HD.1>
    </MSH.3>
    -<MSH.4>
    <HD.1>STV
    </HD.1>
    </MSH.4>
    -<MSH.5>
    <HD.1>LIS
    </HD.1>
    </MSH.5>
    -<MSH.9>
    <CM_MSG.1>ORU
    </CM_MSG.1>
    <CM_MSG.2>R01
    </CM_MSG.2>
    </MSH.9>
    <MSH.10/>
    </MSH>
    -<ORU_R01.PATIENT_RESULT>
    -<ORU_R01.PATIENT>
    -<PID>
    -<PID.2>
    <CX.1/>
    </PID.2>
    </PID>
    </ORU_R01.PATIENT>
    </ORU_R01.PATIENT_RESULT>
    </ORU_R01>
    ]]>
    </ns1:payload>
    </ns1:OutboundMessages_DispatcherProcessRequest>
    </part>
    </inputVariable>
    Can anybody give me a pointer what am I doing wrong here?
    Thanks,
    DP

    Dipal,
    did you find a solutions to this?
    I am also facing the same problem :(
    anks

  • Invoking JDev bpel process from Eclipse BPEL Process?

    Is it possible to invoke a bpel process (with dbadapter) developed in JDev from a bpel process created in Eclipse (Designer)?

    I was unsuccessful.
    Scenario:
    I was trying to invoke jdev bpel process (that had a database adapter to update the database) from Eclipse bpel process (since we do not have adapters in Eclipse designer).
    The namespace wasn't known by Eclipse( some schema missing?) and therefore we couldn't compile it.

  • Eclipse BPEL Designer with Oracle BPEL Process Manager

    Gurus,
    I am tryting to develop a BPEL 2 process using Eclipse Helios BPEL Designer (v0.5).
    Request your help with a problem that I am facing, which is as follows:
    I am trying to create a Partner Link (PL) in my BPEL process, using the Partner Link Type (PLT) provided by TaskService (for user interactions) in BPEL Process Manager 11g integration services.
    However, the PLT is not recognized by Eclipse BPEL Designer. The Port Types in the WSDL show up but not the PLTs.
    I noticed that the PLT namespace being used in the TaskService WSDL is BPEL v1 namespace (namely, http://schemas.xmlsoap.org/ws/2003/05/partner-link/). I am able to work with PLTs from WSDLs with BPEL v2 namespce (namely, http://docs.oasis-open.org/wsbpel/2.0/plnktype)
    Is there anyway I can work with v1 PLTs using Eclipse BPEL 2 Process?
    Many Thanks,
    Pulkit Sharma

    Hi,
    I believe the Eclipse BPEL Designer is not a supported tool to create SOA composites. I suggest using Oracle JDeveloper 11g as it is a supported tool for development and is Oracle's go-forward IDE strategy.
    Hope this helps!

  • How to pass OSB fault variables into input payload

    Hi ,
    I am very new to OSB. as we know that OSB has some predefined variable structure like body,header, fault,inbound,outbound,..My requirement is that I want pass the fault variable elements(errorCode,reason,details..) to input payload elements. I want to see the faulted data in my payload elements which is generated by fault variables.
    Ex:-> If any validation fault occur then my payload fault variables will display errorCode---->BEA-382525, errorMessage-->Variable targeted for validate is not XML or MFL..
    Could you please help me out.I tried but i did not get the result what I expected .. Thanks in advance
    Thanks,
    Viswas

    Hi Vlad,
    I tried what you said in the Otherwise section.
    Step 1:-->This is my xQuery code:
    declare namespace ns1 = "http://www.bea.com/wli/sb/context";
    declare namespace ns0 = "http://xmlns.itc.com/emf/xsd/04/2013/v1.0/loggingService";
    declare namespace xf = "http://tempuri.org/GreetingService/xquery/faultToGreetingService/";
    declare function xf:faultToGreetingService($fault1 as element(ns1:fault))
        as element(ns0:logInfo) {
            <ns0:logInfo>
                <ns0:HeaderInfo>
                    <ns0:faultCode>{ data($fault1/ns1:errorCode) }</ns0:faultCode>
                </ns0:HeaderInfo>
            </ns0:logInfo>
    declare variable $fault1 as element(ns1:fault) external;
    xf:faultToGreetingService($fault1)
    Note: My requirement is I want pass this errorCode into ns0:faultCode which is the input element for publish action (This is publish action would call the logging Service, It is one-way process)
    Step2:-->I used a replace action-->XQuery Resource tab--> I browse the xQuery ..Here In the Variable Name section it is showing fault1 and what value we need to give in the Binding section.
              a)  If i did not provide any value it is giving the error message as "XQuery expression validation failed:XQuery error for the variable "fault1": line1,column1:                                 {err}XP0003:invalid...  "            
              b) If i provide $fault1 or $fault1/*:errorCode or $body in Binding section then the public action would not calling the logging service.
    Can anybody provide me the answer.
    Thanks,
    Viswas

  • How can we attach input payload of failed message in Alert mail

    Hi Experts,
    Please suggest If by using alert framework (No BPM) can we attach payload of failed message in alert mail.
    If yes, Another query...
    Scenario: IDoc to File
    Requirement: If message fails in PI, need to trigger an alert mail having IDoc number(DOCNUM) in it.
    Regards,
    Raghav

    Hi,
    Thanks for your update Vankata, Please let me know in case message successfully passed receiver determination step and after that if it fails in any other step then how can we proceed for mail including Input payload field values.
    Thanks for you suggestions sunil but I need to send mail only when any error happend in PI scenario. While using UDF or RFC lookup concept, I can only send mails independent of PI message failure. I mean to say what if message failed before mapping execution.
    One query, Is it possible to handle this kind of scenario requirement where the input field value need to populate in mails ( not using BPM) via Custom modules?
    Waiting for more suggestions on this.
    Regards,
    Raghav
    Edited by: RaghavTiwari on Feb 15, 2012 3:55 PM
    Edited by: RaghavTiwari on Feb 15, 2012 4:23 PM

  • Reg Input parmeters and Output parameters.

    Hi frnds,
                I would like to know about Input parameters and Ouput parametets.How they can be used in Smartforms. could please provide me some expamles if any.
    Regards many,

    Defining a Form Interface
    Use
    You define a form interface to send data from your application to a form.
    Integration
    The form interface is a part of the Interface form object and is defined in the Form Builder. The form interface of a form is structured in the same way as the interface of a function module in the system. However, form interfaces do not support Changing parameters.
    Prerequisites
    &#9679;     You have created an Interface form object.
    &#9679;     The application program provides the data that you want to insert in the form. Therefore, you already know the types of the corresponding variables.
    The semantics of the valid parameter types match the semantics of a function module,
    See also:
    Getting Information about Interface Parameters
    Overview of Function Modules (in ABAP Workbench: Tools)
    Creating Function Modules (in ABAP Programming (BC-ABA))
    Procedure
           1.      Open the required interface in the Repository Browser of the ABAP Workbench.
           2.      The Interface tab is displayed. Under Form Interface, double-click the Import node.
           3.      You see a screen for entering import parameters. This screen also shows the standard parameter /1BCDWB/DOCPARAMS. You cannot change this parameter.
    You use this parameter in your application program, to specify the value for the language setting, for example. To display this structure in the ABAP Dictionary, double-click the SFPDOCPARAMS type.
           4.      XML schema-based interface
    &#9675;     The standard parameter /1BCDWB/DOCXML with the type XSTRING is used for sending data from the application program.
    ABAP-based or Smart-Forms-compatible interface
    &#9675;     To insert a new line, choose Insert Line (). Enter the parameter names of the data you want to import. These names are valid for the whole form and do not have to match the variable names in the data collection program. All data types are valid. TYPE can be selected under Type Assignment.
           5.      When you double-click Export, you see the standard parameter /1BCDWB/FORMOUTPUT of the generated function module. You cannot change this parameter.
    You use this parameter in your application program, to make the generated form available as a PDF for further processing, for example.
           6.      To display the exceptions used by the generated function module, double-click Exceptions.
           7.      Activate the interface.
    At runtime, the application program must provide the parameters. If a parameter has been defined in the form, but is not defined when the application program is called, then the output of the form ends with the program crashing (hex dump).
    However, it is also possible that the application program provides parameters that the form does not need. You do not need to mention these parameters in the form; they can also be specified in a different order from the code of the application program. This has the advantage that an application program can work with several different forms.
    Migrated Smart Forms Interface or New Smart Forms-Compatible Interface
    When you edit the interface of a migrated Smart Form or a new interface that is compatible with Smart Forms, the Tables option gives you extra parameters. When you set the Import, Export, and Exceptions parameters, the system also lets you use the standard parameters from the Smart Forms.
    If you have a Smart Forms-compatible interface, you can use the existing application program of this Smart Form without making any modifications. (See also Switching Runtime in Migrating Smart Forms.)
    Result
    You have defined the form interface and you can use the specified parameter names in the form context.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/da/8fcc44d98b4e8bac6f102aa1fc69cc/content.htm

  • Need Help-SOA 11g File Adapter unable to delete input file and its crashing

    Hi All
    Please find the details below:
    1. We have created a simple SOA composite to Read file from an input directory, archive the file in an archive directory using Inbound File Adapter Read
    and then use Outbound File Adapter Write to move the file to a output directory.
    2. File Adapter needs to delete the file after successful read/retrieval.
    3. We are using the "Use Trigger File" for invoking the file adapter. This is a new feature in SOA 11g
    4. Also we are using the option of reading the file as an attachment as we are not doing any transformation in the composite
    Issue Details_
    1. When the trigger file is put in the input directory for the first time, the File Adapter reads the file, archives it and moves it to the output directory
    2. However it does not delete the input file from the input directory and raises Fatal Exception mentioned below:
    [*2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]*
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC PostProcessor::
    Delete failed, the operation will be retried for max of [0] times
    [2011-01-12T16:55:48.639+05:30] [soa_server1] [WARNING] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@19c243d]
    [userId: <anonymous>] [ecid: 0000IptyLrL9_aY5TrL6ic1DBOS_000009,0] [APP: soa-infra] File Adapter FileAdapterTriggerFilePOC [[
    BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : C:\Dibya\AttachmentTest\InputDir\TestFile3.txt could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    If any one has faced similar issues, kindly provide pointers on how to resolve it.
    Regards,
    Dibya

    Hi,
    Using the file adapter, you can poll from multilple locations...
    Keep the following property in your .jca file
    <property name="DirectorySeparator" value="," />
    While giving the path in File Adapter configuration, keep comma and give the next location....then the file will be picked up from the locations you gave....
    Hope this helps...
    Thanks,
    N

  • Report of input - GR and IR

    Hi, expert. I need your help about an report to , I need check if  all input GR and IR with the registers of the documents 50...and 51...was input an SAP.
    Have any t-code standard for this it.
    PS: MB5S - no good.
    Tks
    Armando

    Hi
    check
    MR11 t-code it may hepful
    Regards
    Kailas Ugale

  • Highlighting input field and  table cell column in red colour

    Hi,
           I have 4 input fields and a table in my screen. All the input fields are read only.
        I have a functionality where I have to highlight a input field with the red colour. In the sense, I have to put a thin Red border over the input field without thowing any errors or messages.
           Also, i have to highlight a particular cell in the table. i.e, i have to put Red colour border over the cell of the table for some rows only. Right now i have changed the background colour of the cell for required rows, but i need Red thin border rather than changing the entire background colour.
    Please guide me on achieving these functionalities..
    Thanks and Regards,
    -Shabir Rahim.

    Hi,
    The red thin lines border you are talking about comes from the framework during the exceptions. If this is the case then refer the following links, hope this will help you.
    [Re: Automatic message for inputfields with state=required]
    [Re: Validation of InputField]
    Well without exceptions, i dont think it will come.
    thanks & regards,
    Manoj
    Edited by: Manoj Kumar on Feb 7, 2008 12:09 PM

Maybe you are looking for

  • Check for Duplicate files.

    I have multiple folders with duplicate files, i was wondering what is the best way to check for duplication based on file content even if the file name is slightly different.

  • Multiple BPEL/ Mediator payloads how to store in DB using DB adapter.

    I have huge XML which is XSD define for the same and have complex types which required around > 50 DB tables to store the entire XML. Have one parent table which has reference ID to child tables. Now first I want store the parent table and get the ID

  • PMS colors in Photoshop to be used in InDesign?

    Hi, I have a logo file that I'm doing in Photoshop that I want to throw into my InDesign document (a gift certificate - I like using ID so that the text is crisp), and this will be printed in 2 PMS colors (metallic gold 873 and green 330) on an offse

  • Desktop AIR 2.5 application with transparency and embedded Flash with wmode transparency error

    I'm working on a desktop AIR project using the 2.5 SDK (ADT) to create an application that combines html and flash content. My application is using systemChrome none and transparent true. I have an swf element in my html file that I have set to wmode

  • IMac (Mid 2007) loses color after Mountain Lion upgrade

    Few days ago while watching a movie, I suddenly lost color on iMac. At first I thought something's maybe wrong with ATI Radeon HD 2600 PRO graphic card inside it, but then such color loss didn't happen when using Lion, before upgrading to Mountain Li