Verifying Adapters with the Oracle JDeveloper 11g Adapter Configuration Wizard

14-8 Oracle Fusion Middleware Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF DOCTYPE_REVISIONlt;MSG_TYPE1lt; MSG_TYPElt;PAYLOADlt; PAYLOADlt;tns:PayloadHeaderlt;tns:Header Example Steps to Perform After Upgrading to Oracle BPEL Process Manager After upgrading to Oracle BPEL Process Manager 11g: 1. Define a new variable headerVariable of type string. For example: variable name=headerVariable type=xsd:string 2. Create an assign block, such as the one shown in Example 14–1 . 3. At the time of invocation, make sure that the headerVariable value is copied back to the jca.aq.HeaderDocument property: invoke name=Send_PO partnerLink=X12_4010_850_ENQ_Service portType=ns2:Enqueue_ptt operation=Enqueue inputVariable=Send_PO_Enqueue_InputVariable bpelx:inputProperty name=jca.aq.HeaderDocument variable=headerVariable invoke Example 14–1 Assign Block When Upgrading Adapter Headings assign name=assign header copy from expression=lt;?xml version = quot;1.0quot;standalone = quot;yesquot; standalone = quot;yesquot;?lt;tns:Header xmlns:tns=quot;http:xmlns.oracle.compcbpeladapteraqInbound tns:PayloadHeaderlt;MSG_ID12345lt; MSG_IDlt;INREPLYTO_MSG_ID54321lt; INREPLYTO_MSG_IDlt;FROM_PARTYAcmelt; FROM_PARTYlt;TO_PARTYGlobalChipslt; TO_PARTYlt;ACTION_NAMEcontentType:applicationoctet-stream;filename:abc.xmllt; ACTION_NAMElt;DOCTYPE_NAME850lt; DOCTYPE_NAMElt;DOCTYPE_REVISION4010lt; DOCTYPE_REVISIONlt;MSG_TYPE1lt;MSG_TYPElt;PAYLOADlt; PAYLOADlt;tns:PayloadHeaderlt;tns:Header to variable=headerVariable copy assign

14.2.9 Upgrading Composite Applications That Rely on Payload Header Functionality

Section 14.2.7, Upgrading AQ Adapter Headers describes how to use the jca.aq.HeaderDocument property that is required in Oracle Fusion Middleware 11g when your application needs to access Payload Headers. The procedure described in that section must be performed for all Oracle Application Server 10g BPEL and ESB processes that access the payload headers functionality. Note that in addition to the information in Section 14.2.7 , the target namespace of Header and PayloadHeader elements have changed Oracle Fusion Middleware11g Release 1 11.1.1.3.0. As a result, for any BPEL and ESB processes that involve accessing payload headers and that were designed using Oracle SOA Suite 10g, you must use the adapter wizard to regenerate its service and reference artifacts, also known as partner links in Oracle Application Server 10g.