Web service provider with security policy


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:

  1. Create a security Policy using Basic authentication /UserID and Password.
  2. While creating WS Provider ,attach this security policy with it.
  3. Now load the Published wsdl in soapUI and Click AUT tab as shown in attached screenshot, provide UserID and password.


Have more questions? Submit a request


Article is closed for comments.