Web services

webservices is hosted on (10.8.81.61/test.nsf) server---------------------------------------------------------

my web service takes anly one argument which add to itself which is on another server


I am calling this web service in may followling Agent

  1. webServiceTarget = “http://10.8.81.61:80/test.nsf/Math?OpenWebService

  2. Method = “add”

  3. targetNamespace=“http://10.8.81.61/test.nsf/

  4. Dim webService As New SOAPClient(webServiceTarget )

  5. ret = webService.invoke(targetNamespace, Method,a )

At line no 5. webservices could not invoke, what would the problem .

If any one have good link for web services ,include it.

plz help.

Subject: web services

You can use MSXML instead of MSSOAP. You will need XML code instead of WSDL. You can figure out XML from WSDL or use some tool to call WSDL and see the outgoing XML.

Here is an LotusScript example which gets data from a web service:

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/102ba7a484e4e7b185256e2f004fc3c2?OpenDocument

In the example above, instead of “Microsoft.XMLHTTP” object use “Msxml2.ServerXMLHTTP” or “Msxml2.XMLHTTP”.

Here is an example using MSSOAP: