Forum Discussion

prashanthy's avatar
Regular Visitor
7 years ago

Unable to call Outside WSS from Groovy



I have Outgoing WSS configured at project level. It works when i apply it to request every time..I have multiple operations in the project i have created a Testsuite..Now i want to have a Groovy script to call that Outgoing WSS and not to create it again


How can i call it


Below is the code i am trying. "Start"
def project = testRunner.testCase.testSuite.project;
def WssC = project.getWssContainer();
def owss = WssC.setOutgoingWss("dsig"); "end"


But i am receiving below error


groovy.lang.MissingMethodException: No signature of method: is applicable for argument types: (java.lang.String) values: [dsig] Possible solutions: addOutgoingWss(java.lang.String), getOutgoingWssAt(int) error at line: 4



Can anyone please help me out 

No RepliesBe the first to reply