Transform activity - 10.1.2.2

I have a syncronous read file activity that reads a csv, works great. Then I try to transform to the next partner link. Here is what I get in the console. They payload looks fine to me, it was created by the native conversion wizard in the tool.
receiveInput
[2007/08/13 16:56:32] Received "inputVariable" call from partner "client" More...
<inputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
<SyncronousReadFileProcessRequest xmlns="http://xmlns.oracle.com/SyncronousReadFile">
<input>io</input>
</SyncronousReadFileProcessRequest>
</part>
</inputVariable>
Invoke_PL_SyncrounousReadFile
[2007/08/13 16:56:32] Invoked 2-way operation "Write" on partner "PL_SyncronousReadFile". less
<messages>
<Invoke_PL_SyncrounousReadFile_Write_InputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Empty">
<empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/file/ReadFile/" />
</part>
</Invoke_PL_SyncrounousReadFile_Write_InputVariable>
<Invoke_PL_SyncrounousReadFile_Write_OutputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="response-headers">null</part>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Root-Element">
<Root-Element xmlns="http://xmlns.oracle.com/ReadFile">
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89310380106020419182</ICCID>
<IMSI>310380062437960</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>41165716</PUK1>
<PUK2>7765</PUK2>
<PIN2>13845106</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>03/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>02</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>191</PDP3>
<PDP4>MEI030220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>01MB</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$8.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89310380106020419190</ICCID>
<IMSI>310380062437961</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>48908411</PUK1>
<PUK2>7965</PUK2>
<PIN2>49374779</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>03/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>02</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>192</PDP3>
<PDP4>MEI030220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>01MB</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$8.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89310380106020657658</ICCID>
<IMSI>310380076448307</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>39526324</PUK1>
<PUK2>5003</PUK2>
<PIN2>32190875</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>03/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>02</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>91</PDP3>
<PDP4>MEI030220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>01MB</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$8.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89014103201146533075</ICCID>
<IMSI>310410114653307</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>95266730</PUK1>
<PUK2>2222</PUK2>
<PIN2>20970882</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>04/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>08</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>941</PDP3>
<PDP4>MEI040220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>VRG1</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$5.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89014103201146533083</ICCID>
<IMSI>310410114653308</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>16266729</PUK1>
<PUK2>2222</PUK2>
<PIN2>8235397</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>04/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>08</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>942</PDP3>
<PDP4>MEI040220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>VRG1</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$5.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89014103201146533091</ICCID>
<IMSI>310410114653309</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>78942885</PUK1>
<PUK2>2222</PUK2>
<PIN2>13007195</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>04/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>08</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>943</PDP3>
<PDP4>MEI040220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>VRG1</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$5.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89014103201146533109</ICCID>
<IMSI>310410114653310</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>58803732</PUK1>
<PUK2>2222</PUK2>
<PIN2>67919281</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>04/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>08</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>944</PDP3>
<PDP4>MEI040220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>VRG1</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$5.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89014103201146533117</ICCID>
<IMSI>310410114653311</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>67010609</PUK1>
<PUK2>2222</PUK2>
<PIN2>61424518</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>04/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>08</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>945</PDP3>
<PDP4>MEI040220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>VRG1</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$5.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
<Record>
<SIM_Status>Activated</SIM_Status>
<TNS_Division>Vending</TNS_Division>
<ICCID>89014103201146533125</ICCID>
<IMSI>310410114653312</IMSI>
<MSISDN />
<PIN1>1111</PIN1>
<PUK1>86920575</PUK1>
<PUK2>2222</PUK2>
<PIN2>48985958</PIN2>
<Wireless_Carrier>Cingular</Wireless_Carrier>
<Rate_Plan>1MB</Rate_Plan>
<Roaming>No</Roaming>
<Internet>No</Internet>
<M2M>No</M2M>
<Telco_Activation_Date>04/02/2007</Telco_Activation_Date>
<Telco_De-Activation_Date />
<Customer_Activation_Date />
<Customer_De-Activation_Date />
<Ship_Date />
<Customer_Name />
<Customer_Contact_Name />
<Custome_Contact_Number />
<Customer_Contact_Email />
<Customer_Address />
<Sub_Customer_Name />
<Notes />
<Cingular_APN_Profile>08</Cingular_APN_Profile>
<PDP1>VENDING</PDP1>
<PDP2>MEI-RDP</PDP2>
<PDP3>946</PDP3>
<PDP4>MEI040220071.txt</PDP4>
<PDP5 />
<MO />
<MT />
<Cingular_Roaming>No</Cingular_Roaming>
<Cingular_Plan_Code>VRG1</Cingular_Plan_Code>
<Plan_Description />
<Action_Type />
<Monthly_Fee>$5.99</Monthly_Fee>
<O2_APN_Profile_1 />
<O2_APN_Ref_1 />
<O2_APN_Profile_2 />
<O2_APN_Ref_2 />
<O2_APN_Profile_3 />
<O2_APN_Ref_3 />
<O2_APN_Profile_4 />
<O2_APN_Ref_4 />
<O2_APN_Profile_5 />
<O2_APN_Ref_5 />
<O2_Roaming_Country />
<Radius_Login />
<Radius_Password />
<Radius_APN_Name />
<TNS_Radius_Activation_Date />
<Telco_Radius_Activation_Date />
<TCP_Port />
<Number_of_Transactions />
<Remedy_Request_ID />
</Record>
</Root-Element>
</part>
</Invoke_PL_SyncrounousReadFile_Write_OutputVariable>
</messages>
Transform_FileInput (faulted)
[2007/08/13 16:56:32] "XPathException" has been thrown. less
XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:processXSLT("XSLT_FileInput_CreateRemedy.xsl", bpws:getVariableData("Invoke_PL_SyncrounousReadFile_Write_OutputVariable", "Root-Element"))", the reason is The XML data is invalid.
The XML data is invalid; the reason is "Error on line 2 of document : The markup in the document following the root element must be well-formed. Nested exception: The markup in the document following the root element must be well-formed.".
Please verify xml data.
Please verify the xpath query.

Still getting the same error, why is the xml not valid, this xml was produced from a file adapter and is indentical to another project i have that is fine. I have checked all namespaces and the xsd if fine. my apology for the long payload I pasted into here, I meant to cut that in 1/3.
Here is the error that I have, please disregard the previous error.
[2007/08/21 16:42:36] "XPathException" has been thrown. less
XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:processXSLT("tsfrmtoRemedy.xsl", bpws:getVariableData("Receive_ReadFileInput_onResult_OutputVariable", "payload"))", the reason is The XML data is invalid.
The XML data is invalid; the reason is "Error on line 2 of document : The markup in the document following the root element must be well-formed. Nested exception: The markup in the document following the root element must be well-formed.".
Please verify xml data.
Please verify the xpath query.
thanks

Similar Messages

  • How to insert a blank value in not nul column using transform activity

    can anyone help me on how to insert blank values in a not null column using transform activity or however possible..This is a requirement in my project ..

    vidya
    In DB adapter or-mappings.xml , did you made any changes. If not the open that file in any notepad editor and change the following
    <attribute-mapping xsi:type="direct-mapping">
    <attribute-name>director</attribute-name>
    <field table="MYTABLE" name="MAKE_IT_BLANK_NOT_NULL" xsi:type="column"/>
    <attribute-classification>java.lang.String</attribute-classification>
    </attribute-mapping>You can try to add this:
    <attribute-mapping xsi:type="direct-mapping">
    <attribute-name>director</attribute-name>
    <field table="MYTABLE" name="MAKE_IT_BLANK_NOT_NULL" xsi:type="column"/>
    <null-value></null-value>
    <attribute-classification>java.lang.String</attribute-classification>
    </attribute-mapping>Refer below link for details
    Re: Insertion of Blank value to a Not Null varchar column in SQL server table
    Thanks
    AJ

  • JDev deletes empty elements in transform activity

    Dear all,
    the XSD in my BPEL process defines a "Group" element:
    <xs:element name="Groups">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="Group" type="Group_Type" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:complexType name="Group_Type">
    <xs:sequence>
    <xs:element name="id" type="xs:int"/>
    <xs:element name="name" type="xs:string"/>
    <xs:element name="desc" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    As one can see, a "Group" element contains three mandatory elements named "id", "name" and "desc". This "Group" element is the output target of an XSLT transform activity in my BPEL process.
    In the output target, the "desc" element should be empty (<desc/> or <desc></desc>). Therefore, the corresponding XSLT should look like:
    <foo:Group>
    <foo:id>
    <xsl:value-of select="'do something'"/>
    </foo:id>
    <foo:name>
    <xsl:value-of select="'do something'"/>
    </foo:name>
    <foo:desc/>
    </foo:Group>
    First, it is not possible to define an empty element (<desc/>) in the graphical design modus of an XSLT transform activity. Or is there a workaround available?
    Second, when inserting the empty element in the source modus => saving the document => changing to the graphical design modus => do something in the graphical design modus => returning to the source modus, the empty element was deleted by JDeveloper! Is there a workaround for this very annoying bug of Jdev?
    Thanks in advance!
    Lars

    You can also append an xml fragment to put back the missing fields....for example:
    - Type: Append (Note, this is different than the copy operation)
    - From Type: XML Fragment
    - From Value:
    <ns4:ShipTo xmlns:ns4="http://www.globalcompany.com/ns/order">
    <ns4:Name>
    <ns4:First/>
    <ns4:Last/>
    </ns4:Name>
    </ns4:ShipTo>
    (Replace ns4 in this example with your namespace .)
    - To Type: Variable

  • Transform Activity in BPEL

    Hi,
    I have a question in transform activity in BPEL. Basically my composite consists of a DB adapter polling for records. when it gets the records, i will insert the same records in the database. So, here in the BPEL i have a while loop which iterates the number of record times. In each while loop, i will insert that iteration record in the table. I can do this using assign activity and point to that specific record using the xpath and all. But, i want to use the transform activity instead and assign the current record of that iteration to the Db insert input variable. Basically, i need to add a variable to the XSL Map and that variable needs to be incremented in each while loop. Any inputs appreciated.
    Thanks,
    N

    Hi Eric,
    This is my source code in XSL Map.
    <xsl:param name="newCType"/>
    <xsl:template match="/">
    <ns1:Testnew2Collection>
    <ns1:Testnew2>
    <ns1:id1>
    <xsl:value-of select="/ns0:Testnew1Collection/ns0:Testnew1[$newCType/ns3:element2/ns3:element3]/ns0:id1"/>
    </ns1:id1>
    <ns1:id2>
    <xsl:value-of select="/ns0:Testnew1Collection/ns0:Testnew1[$newCType/ns3:element2/ns3:element3]/ns0:id2"/>
    </ns1:id2>
    </ns1:Testnew2>
    </ns1:Testnew2Collection>
    </xsl:template>
    </xsl:stylesheet>
    You can see above that i have declared a complex type and in that i have created an element of type string. So, newCType is of that complex type because inorder to add for transformation input , we cannot add directly the string or integer variables right. So, when my BPEL process is getting 5 rows as input, in each of the while loop iteration the same first row is getting assigned.
    How to indexing here in this source code ?
    Please help...
    Thanks,
    N

  • Access Multiple Source Variables in Transform  Activity

    We have a transform activity that fills a complex type from another complex type that is received from a webservice invoke activity.
    One of the nodes in that destination complex type does not exist in the source complex type. The actual value of that destination node exists as a value in the current bpel process wsdl file, but I can't figure out how to set that value in the transform activity.
    I've been trying to use the xpath document method to parse an external xml file to grab the node that contains the value. Here is my xsl transformation file. Notice the line that contains the document method call. Does this not work in the BPEL transformations? The error I always receive is.
    Invalid XPath expression
    Is there another way to access a second source file within a transformation xslt file?
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
      <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
      <mapSources>
        <source type="WSDL">
          <schema location="StorePrice.wsdl"/>
          <rootElement name="GetPricingResponse" namespace="http://services.darr.fastenal.com/GetPrice/StorePriceOutput.xsd"/>
        </source>
      </mapSources>
      <mapTargets>
        <target type="WSDL">
          <schema location="TestMobilieQuote.wsdl"/>
          <rootElement name="TestMobilieQuoteProcessResponse" namespace="http://xmlns.oracle.com/TestMobilieQuote"/>
        </target>
      </mapTargets>
      <!-- GENERATED BY ORACLE XSL MAPPER 10.1.2.0.0(build 050923.1500) AT [THU FEB 02 14:10:26 CST 2006]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:tns="http://services.darr.fastenal.com/GetPrice/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:s1="http://services.darr.fastenal.com/GetPrice/StorePriceOutput.xsd"
    xmlns:s0="http://services.darr.fastenal.com/GetPrice/StorePriceInput.xsd"
    xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:client="http://xmlns.oracle.com/TestMobilieQuote"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    exclude-result-prefixes=
    "xsl tns mime wsdl soap12 http ns0 soap soapenc s1 s0 tm plnk client bpws ldap xp20 ora orcl">
      <xsl:template match="/">
        <client:TestMobilieQuoteProcessResponse>
          <client:result>
            <client:AccountNumber>
              <xsl:value-of select="document('TestMobilieQuote',/)/TestMobilieQuoteProcessRequest/CustomerNumber"/>
            </client:AccountNumber>
            <xsl:for-each select="/s1:GetPricingResponse/s1:GetPricingResult/s1:PricingInformation">
              <client:PartList>
                <client:PartNumber>
                  <xsl:value-of select="s1:PartNumber"/>
                </client:PartNumber>
                <client:SellPrice>
                  <xsl:value-of select="s1:SellPrice"/>
                </client:SellPrice>
                <client:IsValid>
                  <xsl:value-of select="not(xp20:matches(s1:SellPrice,"^0$"))"/>
                </client:IsValid>
              </client:PartList>
            </xsl:for-each>
          </client:result>
        </client:TestMobilieQuoteProcessResponse>
      </xsl:template>
    </xsl:stylesheet>

    I noticed in my post that I had a copy error for the line in the xsl transformation that I have a question about. Here is the proper line
    <xsl:value-of select="document('TestMobilieQuote.wsdl',/)/TestMobilieQuoteProcessRequest/CustomerNumber"/>

  • BPEL Variables in to Transform activity (XSL)

    Hi,
    I need to access a BPEL variable from within a Transform activity (XSL).
    I need an output like this:
    <XML>
    <val1>1</val1>
    <val2>2</val2>
    <val3>3</val3>
    <val4>4</val4>
    </XML>
    Val1 and val2 is reachable from the xsd in the Transform activity (source variable). A DB-adapter is used to provide these data.
    Val3 and val4 is present in the BPEL, within BPEL variables.
    I have created a Transform activity with source = result of DP-adapter (val1 + val2), but will then need to get val3 + val4 (BPEL vars) from inside the Transform activity as well.
    How can I do this ?
    I have tried passing the variables in as parameters, but can't get this to work. I either only get the parameters, or only get the values from the DB-adapter, as it seems I only can have 1 source.
    Similar thread, but with no answer:
    Global Variables in to XSL

    Thank you for answering.
    The link you're referring to is the thing that I mentioned that I couldn't get to work.
    Works fine when just passing parameters, but when I already have a source (like my DB-adapter output), and want the parameters as well, it's getting tricky. Seems there can only be 1 source: Parameters or DB-adapter output.
    What I need is values from a source (DB-adapter output) + be able to send BPEL variables to the same Transform activity (XSL).
    Have you tried this ? Is it at all possible ?

  • Problems with: orcl:lookup-xml in BPEL process transformation activity

    All,
    I'm trying to do a lookup (using orcl:lookup-xml) from a transform activity within a BPEL process.
    The function editor in JDeveloper tells me that the following params are needed:
    - docURL
    - parentXPath
    - keyXPath
    - lookupXPath
    - key
    All of this is clear! In the examples I can find on the oracle site, the value for the docURL is always like: "file:/x:/somefile.xml". This works fine when I test the xsl on my local development pc. However when I deploy to my test environment (SOA Suite on Linux) this file reference isn't going to work obviously.
    I want the docURL to point to an XML file which I include in the deploy of the BPEL process. Can anyone tell me how to do this?
    Hope you can help!
    Message was edited by:
    Chris Everett NL

    Is this xml-file on some relative path of your bpel process, or can you ship it in the same directory inwhich also the .bpel file exists ?

  • BPEL 11g Transform Activity

    Hi
    We are developing EDI 850 Transaction using SOA 11g Environment. We are successfully able to complete the B2B 11g Trading partner setups and able to successfully puch EDI XML to IP_IN_QUEUE.
    We developed a 850 EDI BPEL mappings using BPEL 11g (Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536). We received the payload from IP_IN_QUEUE using B2B adapter successfully. After receiving this payload we are trying to map source elements to target schema. For testing we have mapped couple of elements from source to target.
    But, Transform activity is not performing the mappings which we mapped and its coming null at run time.
    We are not able to find the reason. Could some body let us know what could be issue?
    Regards
    Ravi

    Hi
    Thanks for your reply.
    We tried by assigning the static text, this text successfully comes at run time.
    We have only issue when mapping from source to target. None of the values are getting mapped to target from source.
    - Ravi

  • Transformation activity - Audit trail or logging

    We have a big transformation file (XSL) and the input and output payload to the transformation activity is also huge. Currently, the process is failing in transformation activity and the error is FOTY0001: type error.
    Is there any way, by which we can add some debug messages in the XSL code to know, till which point the transformation has succeed ? Ideally, would like to view these debug messages in the audit log of the BPEL instance .
    Thanks.

    There is no explicit logging for XSL. I use JDeveloper XSL Test as available on XSL Maps to test the XSL input --> Output. To Solve FOTY errorYou can just copy you payloads from BPEL instance and copy in the source file for XSL Test.

  • Real trouble creating BPEL transform activity, please advise.

    I am using JDeveloper 10G (10.1.3.3.0)
    1. I create a new application, right click it, create a new bpel process project. (Async)
    2. in the bpel design window, I drag a transform activity to the middle, double click it and in the transformation tab select source=inputVariable and target=outputVariable. (then click ok)
    3. up comes the xsl mapping: I drag a line across from the input to the result. (the only option as this only takes in 1 value and only outputs 1 value)
    4. I right click the center and test it. both Transformation_1-Source.xml and Transformation_1-Target.xml are selected. I click ok.
    here I get an error in a pop up window, "failed to transform source xml, null". what does this mean and how do you fix it?
    does this version of Jdeveloper have bugs, I am trying to follow tutorials but I keep getting these kind of errors.
    can anyone get a small example working like this? if so what did you do differently?
    Lavanya
    ps - I also get "failed to save xsl map, make sure xsl map is valid"....starting to wonder if it is a bug
    Edited by: LavanyaHalliwell on Jun 25, 2010 9:42 AM

    I'm having the same problem with 10.1.3.5.0.4306
    10.1.3.4 worked great but since moving up to .5 it's nothing but headaches with xsl. I even entered an SR and was sent a new version of lib/xmlparserv.jar but still have problems.
    Simple one-to-one test transforms even fail as above. If I view the source then go back to design it gives another error "Error: XSL Map generation failed. Please use the source editor to correct the problems an return to the design editor".
    I re-downloaded an installed and it worked for a little while then started flaking out again.
    How do we get it to work like 10.1.3.4 did?

  • SOA11g: Transform Activity shows as Pending

    Guys,
    After migration of a process from 10.1.3.4 into 11.1.1.4, In many processes Transform/Assign activity always shows in pending state. Here is the xsl used in one of the Transform activity.
    *<?xml version = '1.0' encoding = 'UTF-8'?>*
    *<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"*
    xmlns:tns="http://xmlns.oracle.com/AddUser"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue">
    *<xsl:output method="text" omit-xml-declaration="yes"/>*
    *<xsl:template match="/">*
    *<xsl:for-each select="/tns:AddUserRequest/tns:UserGroups/tns:UserName">*
    *<xsl:text>~ </xsl:text>*
    *<xsl:value-of select="."/>*
    *<xsl:text> </xsl:text>*
    *</xsl:for-each>*
    *</xsl:template>*
    *</xsl:stylesheet>*
    This is just one of the case, there are many processes in which assign/Transform activity shows as pending after migration.
    the error it shows in audit trail is:
    Error in evaluate <from> expression at line "140". The result is empty for the XPath expression : "ora:processXSLT(........)
    and fault thrown by process is:
    Non Recoverable System Fault :
    *<bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"></selectionFailure></bpelFault>*
    can someone help on this?
    Thanks,
    AB
    Edited by: AB on Sep 26, 2011 11:28 PM

    There is a known bug related to ORA:PROCESSXSLT() in PS3 (11.1.1.4). Raise a case with support and you should get a patch.
    Regards,
    Anuj

  • Oraext:parseEscapedXML  in xsl of  Transform Activity

    Hi,
    oraext:parseEscapedXML is not working in xsl of a Transform Activity. But the same thing works in Assign activity
    In xsl:
    <xsl:value-of select="oraext:parseEscapedXML('&lt;person>&lt;name>sreeny&lt;/name>&lt;/person>')"/> returns "sreeny" (It returning only text values of the xml elements only)
    In Assign Activity:
    <copy>
    <from>oraext:parseEscapedXML('&lt;person>&lt;name>sreeny&lt;/name>&lt;/person>')</from>
    <to>$tmpDocument</to>
    </copy>
    returns: <name xmlns="">sreeny</name>
    as per my requirements, I have to use xsl tranform only. Anyone know how do i tranform xml string to an XML Elemen using xslt?
    Any help is appriciated.
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    If you use copy-of instead of value-of it should work
    Regards,
    Melvin

  • Transform Activity

    Can Transform Activity in BPEL Process have Multiple Input Scource Schema to Feed Destination Schema
    I want schemas s1. s2. s3 feed destination d1?
    is it possible?

    Also, if you just need to pass in a handful of other values (not in the input schema), you can use parameters. Something along the lines of this: http://sathyam-soa.blogspot.com/2009/05/passing-bpel-variables-to-xsl.html

  • Using the XPATH expression function in Transformation activity

    Hi,
    I have to map the variable value(other than the source variable) to one of the node in the target variable in the transformation activity. For that I am using the XPATH expression function bpws:getVariableData ('variableName') and map it to corrsponding target node. But this mapping is not at all happening. The same prolem occurs while using function ora:getInstanceID() in transformation function. Then I could find a metalink note id: 387381.1,saying it as the bug in 10.1.2.2 BPEL PM, which they are covering in the next release. But our BPEL PM version is 10.1.3.3. But still the same type of problem occurs.
    Please let me know, is there are any solution for using the ora:getInstanceID() , bpws:getVariableData in Transformation activity.

    Hi,
    I dont understand why would you need to use the "bpws:getVariableData" function.
    When you are mapping a source-node to a target-node, it usually assigns the value in the source-node to the target-node, which is as good as using the "bpws:getVariableData" function.
    So, technically speaking you need to use this function explicitly to achieve that ...
    Also, if you want the instance-id, you can use the "ora:getInstanceId()" directly in the BPEL code than using it in the transformation.
    Regards,
    Madhu.

  • Transform activity in Process Flow

    Hi Guys,
    After wasting hour trying to get the SQLPlus activity working I noticed that I can just drop the stored procedures into the flow as a
    "Transform activity". I linked everything up but as soon as I put the "Transform activity" in the process flow it failes with
    a complete failure. The OWB Browser gives NO details. It just says complete failure. The stored procedure aka. "Transform activity" validates fine
    and executes fine when I do it manually via the DB console.
    Any ideas?

    Hi MccM,
    The OWB browser tells me that the sql load worked and the procedure did not. (I am not familiar with audit views but I doubt that the problem is on the database side since the stored procedure complies fine from there). I noticed that I can configure the activity and set the execution environment with is "NATIVE" in my case. - I dont have any options there.
    Here is a [screen print|http://www.metallon.org/test/e34.jpg] of the OWB browser.
    This is urgend now so I would be very happy for any help and generously give out the "Helpful" post points :)

  • Transform Activity in BPEL 10.1.3 (Developers Preview)

    Hi
    Have you tried to use Transform Activity in BPEL 10.1.3 Developers Preview?
    Try this simple test:
    I create a new BPEL process, add a transform, edit the transformation map: connect the two variables (inputVariable and outputVariable), click save and get this error:
    "Failed to save XSL map. Make sure XSL map is valid".
    Thanks

    Can't say that I duplicated your scenario but I did test transforms out to see if there were any distinctive changes in 10.1.3.1. I was hoping there would be some relief from the hard coded partner link endpoint in the transform file.
    Anyway, I was able to generate and save the transform without difficulty.

Maybe you are looking for