This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 137133 - Test client: Wadl not found message using "/*" servlet pattern
Summary: Test client: Wadl not found message using "/*" servlet pattern
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
: 127765 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-12 19:23 UTC by Ayub Khan
Modified: 2008-06-21 02:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayub Khan 2008-06-12 19:23:19 UTC
Using NB6.1 with the last Jersey stable build (0.7),  the plugin uses a servlet url pattern of "/resources/*"  instead
of just "/*".  This causes my access url to look like "http://localhost/isaas/resources/users"  vs. 
"http://localhost/isaas/users".  When I change the value in the servlet adapter definition of the web.xml file, I can
use the latter url but I get something like a "Wadl not found.  http://localhost/isaas/resources"  message.

Workaround:

After run "Test Restful Web Services", change the file /build/generated/rest-test/test-resbeans.html

from

<script type="text/javascript">
  var baseURL = "___BASE_URL___resources";
</script>

to

<script type="text/javascript">
  var baseURL = "___BASE_URL___";
</script>
Comment 1 Ayub Khan 2008-06-21 01:54:45 UTC
Fixed for NB6.5M1
Comment 2 Ayub Khan 2008-06-21 02:35:28 UTC
*** Issue 127765 has been marked as a duplicate of this issue. ***