Invoking secure web services using SOAPUI - part1
SOAPUI is a very useful free tool which can be used in SOA testing. Service invocation using SOAPUI is straight forward and you can find a lot of references by surfing web. However, there are limited information about invoking services with various QOS (Quality of Service) features such as WS-Security, WS-Addressing etc. This post takes you through the simplest QOS scenario, a web service is secured with UserName token policy and how SOAPUI is used to invoke such a service. I will use the default HelloService hosted in WSO2 WSAS in this demonstration but the service invocation approach is similar with any service provider. Pre-requisites: 1. Download and install SOAPUI-3.6.1 or later (free version) 2. Download and install WSO2 WSAS-3.* Step 1 First, we need to secure a web service hosted in WSAS. We will configure HelloService so that only the users in admin group will be allowed to invoke the service. In order to do that, start WSO2 WSAS and log in to management console. Then, selec...