Add SugarCRM REST services to NetBeans

有些话、适合烂在心里 提交于 2019-12-13 07:15:08

问题


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:

  • "cannot determine if the service is of type wsdl or wadl".

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

Any help?


回答1:


As far as I know, Sugar uses the same methods and types for both SOAP and Rest. Can Netbeans interpret a soap wsdl for rest purposes?




回答2:


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

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.



来源:https://stackoverflow.com/questions/8701666/add-sugarcrm-rest-services-to-netbeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!