将SugarCRM REST服务添加到NetBeans [英] Add SugarCRM REST services to NetBeans

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

问题描述

我正在尝试使用NetBeans添加Web服务"向导来查看SugarCRM REST Web服务.但是,当我插入网址"http://ip/sugarcrm/service/v2/rest.php"(或"http://ip/sugarcrm/service/v2/rest.php?wadl")时,我收到错误消息:

I'm trying to use NetBeans "Add Web Service" wizard to see SugarCRM REST web services. But when I insert url 'http://ip/sugarcrm/service/v2/rest.php' (or 'http://ip/sugarcrm/service/v2/rest.php?wadl') I receive the error message:

  • 无法确定服务的类型是wsdl还是wadl".

我已经包含了JAX-RPC插件,如"http://stackoverflow.com/questions/4762149/adding-new-web-services-in-netbeans"中所述,但这没有帮助.实际上,我认为NetBeans不需要RPC插件即可连接到REST服务...

I have already included JAX-RPC plugin, as mentioned in 'http://stackoverflow.com/questions/4762149/adding-new-web-services-in-netbeans', but this not helped. In fact, I think NetBeans doesn't need RPC plugins to connecto to REST services...

有帮助吗?

推荐答案

我认为您使用的网址不正确.

I don't think you're using the correct URLs.

帖子中的网址之一: http://ip/sugarcrm/service/v2/rest.php ->正在尝试转到名为"ip"的主机.这是您网络中的主机吗?如果没有,那就无济于事了.

One of the URLs in your post: http://ip/sugarcrm/service/v2/rest.php -> is trying to go to a host called "ip". Is that a host in your network? If not, then its going nowhere.

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

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