Hello,
I am developing 2 applications, of which, one is intended to provide a Web-Service while the second is intended to consume that web-service.
I have been using Domino Designer 7.0.2 and Domino Server 7.0.2
In the first application I have created a Web-Service Class in Lotus Script which will accept a search key and perform a document search in the same database and return the results.
I have developed the class in the Web Service section of the Application.
I have named the both the Web Service design element and the Lotus Script class as “MyWebService”.
I have HTTP Server running on Domino already.
PROBLEM:
From the 2nd database I need to call this Web Service and receive the results from the first database.
Can anyone help as to how can this be done ??
I myself have been trying to do this using SOAP but I could not
succed. I understand that all messages in Web Service communication need to be done through SOAP messages. But I have no idea how to use the WSDL generated for the WS & whether it will be needed at all or not.
Besides I would also like to know if any modification has to be made on the Domino server or not.
I have http server running on Domino already.
Will I need to install any other SoftWare.
Is it possible to accomplish entire job within Lotus Notes’ Domino Designer only(using LotusScript and Java).
Please Note: The Applications are entirely for WEB-Use
Any Descriptive Help will be very helpful and appreciated
Thanks in Advance
Sudip.
Subject: Example: consume web service in R6/R7 using LotusScript - simple solution
Install MS SOAP toolkit on your computer. This is basically a dll file.you can download the file from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en
after downloading the file you install the file (automatic wizard follows the file)
After this write some LS-code:
I will use a simple web service provided by www.w3schools.com. It simply convert celsius to fahrenheit and - fahrenheit to celsius… to simple methods.
Here is the link to the wsdl-file for the web service. I use this link in my code:
http://www.w3schools.com/webservices/tempconvert.asmx?WSDL
Make a form with a button and add this code:
Sub Click(Source As Button)
= "http://www.w3schools.com/webservices/tempconvert.asmx?WSDL"
'http://www.w3schools.com/webservices/tempconvert.asmx?WSDL
Set Client =CreateObject("MSSOAP.SoapClient30")
Call Client.mssoapinit (sWSDL)
result = Client.CelsiusToFahrenheit("100")
Messagebox result, MB_OK, ""
End Sub
http://www.zoomtek.dk
Subject: How 2 Use Web Services
Hi Sudip,To consume web service in V7 you must use java with all axis jar, see this article : IBM Developer
You can use Java script libray with LS2J Classes (see designer Help)
I hope you have any suport with this

Laurent
Subject: RE: How 2 Use Web Services
You’re probably already aware of this, but if you upgrade to v8, you can consume web services from LotusScript. As this is for web apps only, you should only have to upgrade the server and the clients of the development team
Subject: RE: How 2 Use Web Services
Thanks to both of you for your repliesLaurent & Michael.
I intend to use Domino version 7.0 for the moment.
So, for the moment I am following the link provided by Laurent.
I would try out the process described in the link and let you know in a short while if I face problems.
Thanks Again
Sudip.