Forum Discussion

tomaszarmata's avatar
tomaszarmata
Contributor
10 years ago

Script library. Problem with following guide

Hello, Im using Ready! API 1.4.1, SoapUI NG PRO. Im trying to build my script library using guide - http://www.soapui.org/scripting---properties/scripting-and-the-script-library.html. But i hav...
  • nmrao's avatar
    10 years ago

    You see that because of incorrect signature and with added complexity as package being used. 

     

    There is hello() method without any parameters, and you are using with arguments.

     

    Right way to call is

    import soapui.demo.Callee
    def say = new Callee() log.info say.hello()

    If you want to salute

    import static soapui.demo.Callee.salute
    salute("John", log)