simple BPM with read file and write file immediatly again
789201Aug 3 2010 — edited Aug 5 2010Hello,
I am trying to create a very simple BPM process, with reading a file that is simply written out again.
For that I am using a 'receive task' that call the read task and a 'service task' for calling write task.
The composite.xml generated for the wires looks like this:
<component name="Process">
<implementation.bpmn src="processes/Process.bpmn"/>
</component>
<reference name="WriteFile" ui:wsdlLocation="WriteFile.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/file/Playground/Project1/WriteFile#wsdl.interface(Write_ptt)"/>
<binding.jca config="WriteFile_file.jca"/>
</reference>
<wire>
<source.uri>Process/Services.Externals.WriteFile.reference</source.uri>
<target.uri>WriteFile</target.uri>
</wire>
bold
<wire>
<source.uri>Process/References.Externals.ReadFile.service</source.uri>
<target.uri>ReadFile</target.uri>
</wire>
bold
<wire>
<source.uri>ReadFile</source.uri>
<target.uri>Process/References.Externals.ReadFile.service</target.uri>
</wire>
</composite>
When trying to deploy an error message is generated:
Error(33,17): Cannot find reference name "References.Externals.ReadFile.service" in component "Process" for wire definition
which relates to the above shown code of
<wire>
<source.uri>Process/References.Externals.ReadFile.service</source.uri>
<target.uri>ReadFile</target.uri>
</wire>
Once I remove this part the process deploys ok and runs as expected.
As this is generated code and I have not done anything on the wiring, could someone point me to what I am doing wrong ?
If additional information is needed, please let me know.
Thanks and regards,
Isa