DEFINE VARIABLE param1 AS LONGCHAR NO-UNDO.
DEFINE VARIABLE param2 AS LONGCHAR NO-UNDO. param1 = " <ns0:foo xmlns:ns0='http://tempuri.org/'> <ns0:bBoolean>true</ns0:bBoolean> <ns0:iInteger>17</ns0:iInteger> </ns0:foo>" RUN foo IN hWebService (INPUT param1, OUTPUT param2). DISPLAY "Returned from web service call:" SKIP " param2 = " SKIP param2 NO-LABEL FORMAT "x(200)". |
Returned from web service call:
param2 = <ns0:fooResponse xmlns:ns0='http://tempuri.org/'> <ns0:iInteger>18</ns0:iInteger> <ns0:cString>Hello world!</ns0:cString> </ns0:fooResponse> |