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 129070 - Incorrect url for delicious services
Summary: Incorrect url for delicious services
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Manager (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on: 128943
Blocks:
  Show dependency tree
 
Reported: 2008-03-04 02:40 UTC by Peter Liu
Modified: 2008-03-12 15:45 UTC (History)
1 user (show)

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 Peter Liu 2008-03-04 02:40:20 UTC
When I dnd [posts]/[recent]/delicious.posts_recent, the generated url in the service wrapper is:
https://api.del.icio.us/v1/tags/get/posts/get

For some reason, the code execute find but still this is not the correct url.
The correct url should be:

https://api.del.icio.us/v1/posts/recent

The same issue applies to the services with deep hierarchy like this.

This is a showstopper.
Comment 1 Ayub Khan 2008-03-04 08:04:16 UTC
This is due to issue in the following method

WadlSaasMethod.getResourcePath() 

It returns an array of 4 resources as follows

[tags][get][posts][get]. The correct array should be

[posts][recent]

Nam, can you please look into this issue.
Comment 2 Lukas Jungmann 2008-03-04 13:17:57 UTC
not serious enough to block the final beta
Comment 3 Nam Nguyen 2008-03-04 15:53:41 UTC
http://hg.netbeans.org/main/rev/22bfd73bc35f
Comment 4 Nam Nguyen 2008-03-04 20:02:45 UTC
Additional fix for filtering case; also unit test:
http://hg.netbeans.org/main/rev/ff7e33df70e0
http://hg.netbeans.org/main/rev/f68c013aa808
Comment 5 Lukas Jungmann 2008-03-04 21:01:29 UTC
v. waiting for issue 128943...
Comment 7 Jaroslav Pospisil 2008-03-12 15:45:35 UTC
v.