Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 93556 - 'Test Web Service' functionality is inaccessible if security is enabled
'Test Web Service' functionality is inaccessible if security is enabled
Product: serverplugins
Classification: Unclassified
Component: Identity
All All
: P3 (vote)
Assigned To: Peter Liu
Depends on:
  Show dependency treegraph
Reported: 2007-01-30 13:51 UTC by Andrey Yamkovoy
Modified: 2007-06-05 14:55 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2007-01-30 13:51:07 UTC
'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 ...'.
Comment 1 Peter Liu 2007-02-08 03:37:07 UTC
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.
Comment 2 Peter Liu 2007-02-08 03:56:03 UTC
closed the wrong bug.  Reopening.
Comment 3 Peter Liu 2007-02-08 03:57:30 UTC
This might be an issue with the build script.
Comment 4 Peter Liu 2007-02-08 22:32:02 UTC
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
secured services

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.

Comment 5 rdelaplante 2007-06-05 14:55:20 UTC
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. 

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo