在Web服务连接方面需要帮助. [英] Need help in web service connection.

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

问题描述

亲爱的所有人,
我想通过Web服务从外部内容类型获取数据,并且这些数据想显示在共享点2010外部列表中:为此,我按照以下步骤操作:
步骤:我从共享点2010设计器中打开了该网站,并创建了外部内容类型.在下拉列表中创建外部内容类型时,我们可以看到以下选项
.NET类型
WCF Web服务
SQL Server
我不知道如何从共享点2010设计器选项中使用.NET Type,所以我选择了WCF Web服务选项.我已经使用Visual Studio 2008创建了Web服务来获取客户信息.在WCF Web服务中放置普通Web服务URL时.其显示错误,例如无法创建xml文档.
以下是我的查询:
1)我犯了什么错误,或者如何在共享点2010设计器中将普通的.net Web服务用作WCF Web服务.
2)或通过其他任何方式在共享点列表中获取外部数据,我的意思是我们可以从共享点列表本身调用Web服务,而不是去找设计师.
3)在这种情况下,如何使用.NET Type(如上所述)作为来自SP2​​010设计器的数据源,并带有一个简单示例.
您的帮助将一直受到您的衷心感谢.在此先谢谢您.

Dear all,
I want to get data from external content type thru web service and those data want to display in share point 2010 external list: To do this I have followed the below steps:
Step: I have opened that website from share point 2010 designer and created external content type. While creating external content type in the dropdown list as we can see the below option
.NET Type
WCF Web Service
SQL Server
I don’t know how to use .NET Type from share point 2010 designer option so I chosen the WCF Web Service option. I have created web service using Visual Studio 2008 to get the customer information. While placing the normal web service URL in WCF web service. Its displaying error like can not create xml document.
Below is my query:
1) What is the mistake I am making or how can I use normal .net web service as WCF web service in share point 2010 designer.
2) Or any other alternate way to get the external data in share point list I mean can we call the web service from share point list itself instead of going for designer.
3) How can I use .NET Type (as I mentioned above) as data source from SP2010 designer with a simple example in this case.
Your help is always heartily appreciated. Thanks in advance.

推荐答案

您需要在SharePoint应用程序和外部数据之间创建数据连接.可以在SharePoint内部使用数据连接来连接外部内容

http://msdn.microsoft.com/en-us/library/ms772101.aspx [ ^ ]
You need to create a Data Connection between your SharePoint application and the external data. The data connection can be used inside SharePoint to connect external content

http://msdn.microsoft.com/en-us/library/ms772101.aspx[^]


这篇关于在Web服务连接方面需要帮助.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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