Quantcast
Channel: SharePoint 2013 - Using SharePoint Designer, InfoPath and Other Customizations forum
Viewing all articles
Browse latest Browse all 9368

InfoPath Webservice Error, using SOAP WebServices

$
0
0

Hi @ all,

I'm trying to get data from the UserProfileService in a Infopath Webform with SharePoint 2013.

I have created a DataConnection File in InfoPath that retrive data from SOAP Webservice UserProfileService. I used the Method GetUserProfileByName. The UDC File is Stored in a SharePoint Connection Libary. 

When i show the Form local in InfoPath Designer Preview all Things are rigth and the DataSource will retrive the User Informations. But when i publish the Form to a SharePoint Form Libary and open there a new form, i get following error.

(Translated from German)

Error when querying a data source.
Error attempting to connect to a Web service.

In the ULS Log i found following entrie for this correlation ID


The following query failed: GetUserProfileByName (User: 0#.w|domain\user, Form Name: testlib, IP: , Connection Target: http://portal.domain.local/organisation/Formulare/InfoPath Connection Libary/GetUserProfileByName.udcx, Request: http://portal.domain.local/_layouts/15/FormServer.aspx?XsnLocation=http://portal.domain.local/organisation/Formulare/testlib/Forms/template.xsn&SaveLocation=http://portal.domain.local/organisation/Formulare/testlib&ClientInstalled=true&DefaultItemOpen=1&Source=http://portal.domain.local/organisation/Formulare/testlib/Forms/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:testlib:-myXSD-2013-07-31T08-21-25 Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error.  Server did not recognize the value of HTTP Header SOAPAction: http://microsoft.com/webservices/SharePointPortalServer/UserrofileService/GetUserProfileByName. The remote server returned an error: (500) Internal Server Error.)

What i'm doing false?

Thanks for any help!



Viewing all articles
Browse latest Browse all 9368


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>