XML Replay: Difference between revisions
From DataFlex Wiki
Jump to navigationJump to search
no edit summary
No edit summary |
No edit summary |
||
Line 61: | Line 61: | ||
If hoXMLResponse Send Destroy of hoXMLResponse<br /> | If hoXMLResponse Send Destroy of hoXMLResponse<br /> | ||
End_Procedure // InvokeService | End_Procedure // InvokeService | ||
The above code obviously assumes the existence of objects (probably of class "Form") which contain the relevant information: | |||
*oInput - the path/name of the XML file to load and send | |||
*oOperation - the operation (function) name beng invoked | |||
*oServer - the server or IP address the service is running on (localhost in most debugging scenarios) | |||
*oPort - the port number to use (80 by default) | |||
*oURI - the URI of the service within the host: e.g. "MyService/TestService.wso" | |||
*oReturnedXML - an object of class cTextEdit to take and display the response XML |