Courtney White
New Member
We need to interface our QAD 2012.EE system with our document control system, MasterControl.
We are working with OpenEdge Release 10.2B05.
First, we make a connection and request an XML file. We have to pull a fresh XML file each time, as there are unique identifiers:
getProcess is a LONGCHAR that contains the xml info. See attachment for example.
We need to add values to some of the fields, then return it back to another process.
If I hand edit the XML or submit the unchanged XML, it creates the document, so the web elements work fine.
The question is, how do I change the values in the xml inside Progress? Would it be easier to save to a file and use an OS-COMMAND to use an external tool?
Thank You!
We are working with OpenEdge Release 10.2B05.
First, we make a connection and request an XML file. We have to pull a fresh XML file each time, as there are unique identifiers:
Code:
CREATE SERVER hWebTaskService.
hWebTaskService:CONNECT("-WSDL 'http://slmmcwebtst.slm.moog.com/mctest/ws/Taskservice.cfc?wsdl'").
RUN Taskservice SET hTaskservice ON hWebTaskService.
RUN getProcess IN hTaskservice(INPUT connectionid, INPUT processRoute, OUTPUT getProcessReturn).
getProcess is a LONGCHAR that contains the xml info. See attachment for example.
We need to add values to some of the fields, then return it back to another process.
Code:
RUN launchProcess IN hTaskservice(INPUT connectionID, INPUT getProcessReturn, OUTPUT launchProcessReturn).
If I hand edit the XML or submit the unchanged XML, it creates the document, so the web elements work fine.
The question is, how do I change the values in the xml inside Progress? Would it be easier to save to a file and use an OS-COMMAND to use an external tool?
Thank You!