i imoported wsdl file and generated lotus script library that looks like this :
Class MOLSoap_n0 As PortTypeBase
Sub NEW
Call Service.Initialize ("HttpMicrolineHrWebServicesMOL", _
"MOL.MOLSoap", "http://www.microlin.......", _
"MOLSoap_n0")
End Sub
Function itemData(aspServer As XSD_STRING, customerKey As XSD_STRING, password As XSD_STRING, _
cookie As XSD_STRING, itemKey As XSD_STRING, quantity As XSD_LONG, extraInfo As Boolean, _
termsKey As XSD_STRING) As XSD_STRING
Set itemData = Service.Invoke("itemData", aspServer, customerKey, password, cookie, itemKey, quantity, extraInfo, termsKey)
End Function
end class
when i try to call function doing like this:
first type use “script1” in option part (script1 is name od script)
in initialize part :
dim servis as MOLSoap_n0
set servis=new MOLSoap_n0()
and after that i tried 3 things:
- Call servis.itemData(“micpg”, “kupac”, “bestpc”, “12345”, “nec-fd”, 1, True,“1”) ERROR : type mistmach
2.servis.itemData(“micpg”, “kupac”, “bestpc”, “12345”, “nec-fd”, 1, True,“1”) ERROR : illegal use of parentheses
3.servis.itemData ERROR missing argument for item data
HOW TO CALL THAT FUNCTION?!?