I am creating an integration using Oracle SOA Suite 11g and UltiPro HR using UltiPro's web services. I am familiar with JDeveloper, SOA, XML but I would say that I am still a beginner and my question will reflect as much. Any input is greatly appreciated.
The inputVariable created has a tag for CompanyIdentifier. In the base document it looks like this:
<con:CompanyIdentifier/>
In the end I need it too look like this:
<con:CompanyIdentifier i:type="con:CompanyCodeIdentifier">
<con:CompanyCode>XXX</con:CompanyCode>
</con:CompanyIdentifier>
So my mission is to add the 'type' attribute and the tag for Company Code and the contents of Company Code. I have, for the most part figured out how to add the attribute. I used a copy operation as follows:
<copy bpelx:insertMissingToData="yes">
<from>'ns3:CompanyCodeIdentifier'</from>
<to>$invoke_nh3_up_new_hire_NewHireUsa_InputVariable.parameters/ns4:entities/ns3:Employee/ns3:CompanyIdentifier/@xsi:type</to>
</copy>
But I don't know how to get that CompanyCode tag and it's contents into the payload. I've been looking all day at the Manipulating XML Data in a BPEL Process document and I'm pretty sure I need to use something like bpelx:append and create an XML fragment but I just can't figure out how to do it. Thanks in advance for any suggestions. Currently I am just populating the payload using the Expression Builder.
No comments:
Post a Comment