Search code examples
web-serviceslotus-dominolotusscriptdomino-designer-eclipse

How to receive data using Domino webservice provider


I have an external application that should send and recieve data from a Domino web service provider. I managed to create a webservice proivider using lotusscript that send data back to the caller

I need to know how to receive data from the caller using the provider and add it to Domino? could not find any example on the internet, is it possible?


Solution

  • In the code of the provider (I call it wsOfDomino), you add a function, just put parameter(s) to this function.

    Class wsOfDomino
      function getWSdata( userName as string) as string
        getWSdata = "Hello " + userName
      End Function
    End Class
    

    Domino will generate the WSDL, in which the external application will "see" that it can send to Domino the userName.

    Change userName and name of the function according your needs.