Forum Discussion

KrishnaNavat's avatar
16 years ago

How to access secure webservice using username and password through soapUI

Hi All,

I am able to access secure webservice by giving username and password using the client code like below:

CalculatorService svc = new CalculatorService_Impl("http://localhost:7001/CalculatorProject/Calculator?WSDL");
Calculator calculator = svc.getCalculatorSoapPort("SriKrishna","12345678");
int result = calculator.sub(2,1);
System.out.println("Result->"+result);

But how to access the secured webservice using soapUI?
I tried giving username and password details in the 'Aut' tab..what should be the value of 'Domain:' and Outgoing WSS and Incoming WSS?

Please do the needful.

Thanking you
No RepliesBe the first to reply