'Test Web Service' functionality is inaccessible if message level security is
enabled through 'Security' TAB but it works if enable security using WSIT.
Steps to reproduce:
- Create Web Application using java EE version 5.
- Add web service with some operation to this app.
- Enable message level security using some profile (for example 'SAML-HolderOfKey').
- Deploy the project.
- Select web service in projects tree and invoke context menu item 'Test Web
- Warning message appears: 'Unable to open web service tester page ...'.
This exception is due to a name change of a dependent jar file. It used to be
appserver-ws.jar in appserver 9.0. It is now called webservices-rt.jar in
appserver 9.1. This issue is fixed in milestone 6.
closed the wrong bug. Reopening.
This might be an issue with the build script.
Changing this to a RFE. Testing secured web services is not supported. If you
open the url for the tester in the browser, you'll get the following message:
HelloServiceServiceis a secured web service; Tester feature is not supported for
BTW, this feature shouldn't have worked for WSIT because in order to access a
secured web service, you need to enable security on the client. The "Test Web
Service" feature clearly doesn't allow you to do that.
Test Web Service feature also does not work if you enable SSL for your web
service. It does not know to use a different port number or https.
Also, it does not work if you enable HTTP BASIC authentication. I don't know
how you would fix this without prompting the developer for a username/password.