We want to secure our Web Service Provider with security Policy using basic authentication and when we test with SOAP UI it always giving to us an error.
A Web Service Provider can be secured using basic authentication. Please follow the below steps for achieving your requirement:
- Create a security Policy using Basic authentication /UserID and Password.
- While creating WS Provider ,attach this security policy with it.
- Now load the Published wsdl in soapUI and Click AUT tab as shown in attached screenshot, provide UserID and password.