LotusScript如何调用.Net开发的WebService?
谢谢,对Lotus不太了解,希望能给出一个Demo。
[解决办法]
转帖,供参考。
JAVA代理是可以的,在代理里(LS代码)调用WS!
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = session.DocumentContext
Dim strWsdl As String
Dim Client As Variant
strWsdl = "http://" & doc.Server_Name(0) & "/" & doc.Current_Database(0) & "/TestWS?wsdl"
Set Client =CreateObject("MSSOAP.SoapClient30")
Client.ClientProperty("ServerHTTPRequest") = True
Call Client.MSSoapInit(strWsdl)
'Get the current database's name
doc.txtDbName = Client.getDBName
'Get the current database's path
doc.txtDbPath = Client.getDBPath
测试通过,o(∩_∩)o...