From: Ina C. <in...@st...> - 2001-02-04 23:49:37
|
Hi, Here is what I understand regarding the client side: One of the modules will be an interface to the SOAP server. It will require an uri, method name and arguments, then embed the above information using XML format. Consequently send them to the server using SOAP protocol and wait for the response. Once the response is obtained, translate that to mercury type. Eg: :- module client_interface. soap_call(uri, method_name, list_of_arguments) :- translate the arguments to univ type, embed the information in XML format and SOAP protocol, tcp__connect to the server, send the request, wait for the response, translate the response back to mercury types. Another module will be a demo consisting the main function handling command line arguments, calling the interface and displaying the response. Eg. :- module client_demo :- import client_interface. main --> handle command line arguments Result = soap_call(uri, method_name, list_of_arguments), write(Result). Ina <in...@st...> |