I am trying to create a simple JAXWS webservice with XML message level security with XML signature. Below is the XML provided in sample in the link provided. When i try to create a web project and then create a webservice as New -> other -> Webservice following the menu and select JAXWS runtime in WAS Liberty in the dialog boxes that appear it creates the webService but the WS Security is not working. I checked with SOAP UI and the service is not secure. The WS security policy part is not visible when I hit the deployed URL. It just shows the WSDL without the security.
I am following the example from this link below. I used RAD 9 / Liberty 220.127.116.11 (developer edition) Also tried Eclipse 4.3.1 with the WAS Developer Tools 18.104.22.168 ( tried with Alpha also seperately).
Securing a web service by using a WS-Security policy
PLEASE HELP ME. I will have to complete a POC by this weekend and desperately trying every possible action.
Here is the server.xml from Liberty server
<server description="new server">
<!-- Enable features -->
<httpEndpoint host="localhost" httpPort="9080" httpsPort="9443" id="defaultHttpEndpoint"/>
<enterpriseApplication id="jwsAddressbookEAR" location="jwsAddressbookEAR.ear" name="jwsAddressbookEAR"/>
Thanks a lot!!!