基于 SOAP 的 SugarCRM - V2
我们使用 Apache Axis 生成客户端存根,以便与 Java 应用程序中的 SugarCRM 进行通信。
截至几天前,我们使用的 WSDL 文件位于 http://.../soap.php ?wsdl 生成我们的存根。我们在 http://.../services/v2/soap 找到了版本 2 WSDL 文件.php?wsdl,出于删除关系的需要,我们升级到了新版本。
在升级之前,对 set_entry() 的调用将返回 Set_entry_result,其中包含调用的状态以及指示状态的 Error_value。我们能够使用它来报告/记录 set_entry() 调用的状态。
现在,使用 v2,set_entry() 调用返回 New_set_entry_result,其唯一字段是字符串“id”。这是非常没有帮助的,我们还没有找到任何有关 ID 用途的文档,也没有找到确定呼叫状态的方法。
有人熟悉 v2 SOAP API 吗?值得升级吗?如果我们不应该升级,是否有任何实际方法可以使用 v1 API 删除关系?各种 SugarCRM 论坛帖子(尤其是这个:http://panther.sugarcrm.com /forums/showthread.php?t=43871)提出了一些方法,但似乎都不起作用。
We're using Apache Axis to generate client-side stubs to communicate with SugarCRM in a Java application.
As of a few days ago, we were using the WSDL file at http://.../soap.php?wsdl to generate our stubs. We found the version 2 WSDL file at http://.../services/v2/soap.php?wsdl, and out of necessity to delete relationships, we upgraded to the new version.
Prior to upgrading, calls to set_entry() would return a Set_entry_result, containing the status of the call, along with an Error_value indicating the status. We were able to use this to report/log the status of the set_entry() call.
Now, using v2, the set_entry() call returns a New_set_entry_result, whose only field is a String "id". This is very unhelpful, and we haven't found any documentation as to the purpose of the ID, nor have we found a way to establish the status of the call.
Is anyone familiar with the v2 SOAP API? Is it worth upgrading? If we shouldn't upgrade, is there any actual way to delete relationships using the v1 API? Various SugarCRM forum posts (this one in particular: http://panther.sugarcrm.com/forums/showthread.php?t=43871) suggest ways, but none seem to work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常您会在回复中获得新记录的 ID。很多人一直在抱怨肥皂的变化,所以如果这是你唯一的选择,那就升级吧。
ussualy you get the id of a new record in the reply. A lot of people have been complaining on the soap changes, so if this is your only option go with the upgrade.