Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2008

Tip: Looking for answers? Try searching our database.

IPFS, Web-based forms and SharePoint Web Services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
larko_s - 27 Mar 2008 17:12 GMT
I read these entries about using web services in a browser-enabled IP Form.

http://blogs.msdn.com/bowerm/archive/2006/12/06/calling-web-services-from-infopa
th-web-forms.aspx

http://jopx.blogspot.com/2006/08/using-webservices-in-browser-enabled.html

I did what they said to do to utilize the Sharepoint Lists web service.  
However, I'm getting an error when trying to use:

opsPerList = lists.GetListItems(listGUID.ToString("B"), "", query,
viewFields, "", queryOptions, webGUID.ToString("B"));

I get a security error:

Request for the permission of type 'System.Net.WebPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Does anyone have an answer for this?
Clay Fox - 27 Mar 2008 18:44 GMT
I would set them up in data connections rather than calling them directly
from code.
Plus for prowser based froms they will need to be UDC's anyway.
Then you do not get security issues and you will maintain your browser
compatibility. Plus it is much easier to troubleshoot.

Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> I read these entries about using web services in a browser-enabled IP Form.
>
[quoted text clipped - 13 lines]
>
> Does anyone have an answer for this?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.