Forum Discussion

prashanthy's avatar
prashanthy
Regular Visitor
6 years ago

Unable to call Outside WSS from Groovy

HI,

 

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. 

 

log.info "Start"
def project = testRunner.testCase.testSuite.project;
def WssC = project.getWssContainer();
def owss = WssC.setOutgoingWss("dsig");
log.info "end"

 

But i am receiving below error

 

groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.support.wss.DefaultWssContainer.setOutgoingWss() 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