添加在Netbeans的新的Web服务 [英] Adding new web services in Netbeans

查看:310
本文介绍了添加在Netbeans的新的Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立使用NetBeans那里的应用在Java应用程序的MySpace。试图更新我的帐户,朋友的更新和​​所有那种东西。上有nebeans网站Twitter的类似的教程。但是,当我尝试添加 MySpace的API的API地址它显示错误无法确定该服务类型WSDL或WADL的,并说安装JAX-RPC插件。

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 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.

我使用NB 6.9.1,显然我发现,这个版本的NetBeans不支持JAX-RPC插件了。请帮助我如何与此进行。

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.

推荐答案

这似乎是在Netbeans的一个bug在lesast为WADL(REST样式)说明如下:
http://netbeans.org/bugzilla/show_bug.cgi?id=163155

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

至少使用Netbeans 7.1.1我发现 HTTP一种解决方法://回购。 jfrog.org/artifactory/api/application.wadl

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

我不得不下载WADL和替换

I had to download the WADL and replace

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

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

然后我可以从文件中导入描述。

Then I could import the description from the file.

我添加的缺陷的补丁应该解决这个问题,所以你可能会考虑这个bug投票。

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

这篇关于添加在Netbeans的新的Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆