I created a web service using Openedge 10.1C03. How do I pass a temp table for a Doc/Lit Web service? I would like to take advantage of the built-in XML formatting.
In my client code I have the following:
DEFINE TEMP-TABLE b-test LIKE test.
RUN XYZ IN hXYZObj(OUTPUT result, OUTPUT TABLE b-test ) NO-ERROR.
In the web service I have the following:
DEFINE TEMP-TABLE b-test LIKE test .
DEFINE OUTPUT PARAMETER TABLE FOR b-test.
Populate b-test.
The code compiles. When I run it I’m able to connect to the web service; however, I get the following runtime error:
Invalid handle. Not initialized or points to a deleted object (3135)
Cannot access the SOAP-FAULT-CODE attribute because the widget does not exist. (3140).
When I access the web service using soapUI it looks like I’m getting a good response.
Thanks
In my client code I have the following:
DEFINE TEMP-TABLE b-test LIKE test.
RUN XYZ IN hXYZObj(OUTPUT result, OUTPUT TABLE b-test ) NO-ERROR.
In the web service I have the following:
DEFINE TEMP-TABLE b-test LIKE test .
DEFINE OUTPUT PARAMETER TABLE FOR b-test.
Populate b-test.
The code compiles. When I run it I’m able to connect to the web service; however, I get the following runtime error:
Invalid handle. Not initialized or points to a deleted object (3135)
Cannot access the SOAP-FAULT-CODE attribute because the widget does not exist. (3140).
When I access the web service using soapUI it looks like I’m getting a good response.
Thanks