browser enabled (sharepoint) infoPath forms errors when accessing webservice

N

Nalaka

Hi,
I have a webservice (annonymous access) on a different machine.

I have added a call to this webservice on a infopath form.
(First added data connection.... then Right click on a button.. add
properties... add rule to call webservice)


But when I run this form in sharepoint as a browser-enabled form.... gives
following error.....
"An error occurred accessing a data source"

I have deployed this form as a trusted form....


Any help is deeply appreciated
Thanks
Nalaka
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

Make sure that cross domain access is enabled for InfoPath Forms Services -
Go to SharePoint Central Admin > Switch to the Application Management tab.
Underneath InfoPath Forms Services - Choose Configure InfoPath Forms
Services. Check "Allow cross domain access for user templates"
 
N

Nalaka

Hi Kalyan,
Thanks... I check the box... "Allow cross domain access for user templates"
and restarted the system......
I also unchecked the SSL option.... just in case...

I still have the same issue.... are there any logs I can look into....

Thanks again
Nalaka





"Kalyan G Reddy MVP (GGK Tech)"
 
N

Nalaka

Shrarepoint log says to add "connections must be in a Data Connection
Library"....
Question is.. I add the connection using the infopath data menu.... how do I
add this back to "Data Connection Library"...


Forms Services Runtime - Data C 82fx Warning The form could not retrieve
data from http://gtwwsapp01:81/TestBizTalkPeopleSoftWS/WebService.asmx
because it would violate cross-domain restrictions. To allow this connection
for administrator-approved form templates, enable full trust for the form
template, or add the connection to a Data Connection Library. For user form
templates, cross-domain connections must be enabled in SharePoint Central
Administration, and all connections must be in a Data Connection Library.
For more information, please see the security documentation for InfoPath
Forms Services. (User: xxxxx, Form Name: NewHireDataEntry, IP: , Request:
http://gtwbizapd01/_layouts/Postback.FormServer.aspx, Form ID:
urn:schemas-microsoft-com:eek:ffice:infopath:NewHireDataEntry:-myXSD-2007-03-08T04-48-13,
Type: DataAdapter... e9a45d4d-5bba-4ee5-af19-ae2a59853273

Forms Services Runtime - Data C 82fx Warning ...Exception, Exception
Message: Security settings on the server prevent the use of this data
connection.) e9a45d4d-5bba-4ee5-af19-ae2a59853273
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top