开发者

Adding new web services in Netbeans

I am trying to build a myspace application in java using netbeans where the app. tries to update my account, friends updates and all that kind of stuff. There is a similar tutorial on nebeans site for twitter. But when I开发者_如何学C try adding the API address of Myspace api it shows error "Cannot determine if the service is of type WSDL or WADL" and says to install JAX-RPC plugin.

I am using NB 6.9.1 and apparently I found out that this version of netbeans doesn't support JAX-RPC plugin anymore. Please help me on how to proceed with this.


This seems to be a bug in Netbeans at lesast for WADL (REST style) described here: http://netbeans.org/bugzilla/show_bug.cgi?id=163155

At least with Netbeans 7.1.1 I found a workaround for http://repo.jfrog.org/artifactory/api/application.wadl

I had to download the WADL and replace

<application xmlns="http://wadl.dev.java.net/2009/02">

with

<application xmlns="http://research.sun.com/wadl/2006/10">

Then I could import the description from the file.

I added a patch at the bug which should resolve this issue, so you may consider voting for this bug.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜