Adding New Web Services to Netbeans

I am trying to create a myspace application in java using netbeans where the application is. trying to update my account, friends updates and all that. There is a similar nebeans tutorial for twitter. But when I try to add the Myspace api API address, it shows the error "Unable to determine if the service is of type WSDL or WADL" and says to install the JAX-RPC Plugin.

I am using NB 6.9.1, and apparently I found out that this version of netbeans no longer supports the JAX-RPC plugin. Please help me how to do this.

+4
source share
1 answer

This seems to be a bug in Netbeans in 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 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 bug fix that should fix this problem, so you might consider voting on this bug.

0
source

Source: https://habr.com/ru/post/1336501/


All Articles