Soapcall1.ecl 471 B

12345678910111213141516171819202122
  1. //
  2. // Example code - use without restriction.
  3. //
  4. IMPORT $;
  5. OutRec1 := $.DeclareData.Layout_Person;
  6. RoxieIP := 'http://192.168.11.130:8002/WsEcl/soap/query/myroxie/roxieoverview1.1';
  7. svc := 'RoxieOverview1.1';
  8. InputRec := RECORD
  9. STRING30 LastName := 'KLYDE';
  10. STRING30 FirstName := '';
  11. END;
  12. //1 rec in, recordset out
  13. ManyRec1 := SOAPCALL(RoxieIP,
  14. svc,
  15. InputRec,
  16. DATASET(OutRec1));
  17. OUTPUT(ManyRec1);