X3 server did not return a response (NDRESULT). (6 replies)
Hi Raoul, looking at the error, I can see there's an error in message.error.open.win
Can you explain a little more about the subprogram?
The subprogram does the following:
a. Calls a pre-published webservice (SOH).
b. Prior to the order being updated, we have some code which updates the quantities on the order lines....essentially we loop through the existing lines and perform a check, then update the quantity field.
c. After the quantities on the lines are updated the normal webservice code for the sub-program is executed.
And...
We're able to execute the sub-program from within X3 sucessfully.
OK....I think I understand.
If you're calling the standard published webservice wrapper code from the exposed subprogram, you're going to end with some duplication of the open and close of the webservice trace code.
The calls to OUVRE_TRACE, FERME_TRACE, LEC_TRACE will be called both the subprogram wrapper code AND the object wrapper code.
I would recommend removing/commenting out the TRACE calls in the object code.
Bingo!
That did the trick!
Closed due to inactivity.
Hi, we have the following error when attempting to run a subprogram.