InfoPath无法运行的WebService无法找到站点查找信息 [英] WebService with InfoPath not working Cannot find site lookup info

查看:70
本文介绍了InfoPath无法运行的WebService无法找到站点查找信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个InfoPath表单,其代码可以访问位于另一台服务器上的简单WebService的数据。当infopath表单从Web服务打开填写表单字段

时,但我没有收到任何数据。



在USL日志中我得到了错误"无法找到请求的网站查找信息Uri http://myservername/mywebservice.asmx"

b $ b b来自sharepoint服务器我已经确认我可以访问http:// myservername / mywebservice.asmx



请指导可能存在的问题以及解决方法。

Thx



iffi

Hi,

I have a InfoPath form with code that access data from a simple WebService, located on another server. When infopath form open its fill form fields
from web services, but i am not getting any data.

On USL log i am getting error "Cannot find site lookup info for request Uri http://myservername/mywebservice.asmx"

from sharepoint server i have confirm i can access http://myservername/mywebservice.asmx

Please guide what could be an issue and how to fixed it.
Thx


iffi

推荐答案

您好iffi,

Hi iffi,

尝试关注以下步骤将数据连接转换为udcx文件:

Try to follow the steps below to convert the data connection to udcx file:

1。如果数据连接文档库不存在,请创建它。

1. Create a data connection document library if it doesn’t exist.

2。打开InfoPath表单数据连接窗口,选择数据源并单击"转换"按钮。

2. Open up the InfoPath forms Data Connections window, select the data source and click the ‘Convert’ button.

3。批准数据连接文档库中的udcx文件。

3. Approve the udcx file in data connection document library.

4。将InfoPath表单重新发布到SharePoint。

4. Re-publish the InfoPath form to SharePoint.

5。转至管理中心 - >常规应用程序设置 - >配置InfoPath Forms Services->确保选中"允许对使用数据连接文件中的连接设置的用户表单模板进行跨域数据访问"选项。

5. Go to Central Administration->General Application Settings->Configure InfoPath Forms Services->make sure the "Allow cross-domain data access for user form templates that use connection settings in a data connection file" option is selected.

祝你好运,

Grace Wang

Grace Wang


这篇关于InfoPath无法运行的WebService无法找到站点查找信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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