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

Infopath 2013 SOAP Web Service Data Connection - Error: The file is not a valid XML file

$
0
0

Here are the steps to replicate the issue I’m having when adding lists.asmx or any other SharePoint web service in InfoPath 2013. This web service opens fine in the browser from my desktop. My account is a farm administrator and is added to the web application’s User Policy.  I can use these services just fine using Nintex 2013 Workflow.

  1. Open InfoPath Designer 2013.
  2. Select Blank Form and click Design Form button.
  3. Click “Data” tab.
  4. Click “From Web Service” and select “From SOAP Web Service”

  1. Enter https://mysiteurl.com/_vti_bin/lists.asmx?WSDL for the web service definition.
  2. Click Next.
  3. Windows Security window pops up.
  4. Enter a credential. I tried both my account and the farm account. My account is a farm admin and is added to the web application’s User Policy with Full Control.
  5. Click OK. It prompts for credential multiple times.
  6. I get below this error messages: 

Sorry, we couldn't open https://mysiteurl.com/_vti_bin/lists.asmx?WSDL
InfoPath cannot find or cannot access the specified Web Service description.
The file is not a valid XML file.
Not enough storage is available to process this command.

We have a project that is in need of these services using InfoPath so any help is greatly appreciated.


Viewing all articles
Browse latest Browse all 9368


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