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

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.
Open InfoPath Designer 2013.
Select Blank Form and click Design Form button.
Click “Data” tab.
Click “From Web Service” and select “From SOAP Web Service”
Enter https://mysiteurl.com/_vti_bin/lists.asmx?WSDL for the web service definition.
Click Next.
Windows Security window pops up.
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.
Click OK. It prompts for credential multiple times.
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.

Hi Brian_TX,
For your issue, try to the following methods:
Change your service binding in web.config to:binding="basicHttpBinding". It seems in VS it defaults to wsHttpBinding.
Replace all instances of "parameters" from the web service wsdl with the name "parameter"
There are some similar articles about the issue, you can have a look at them:
http://www.infopathdev.com/forums/t/23239.aspx
https://social.msdn.microsoft.com/Forums/office/en-US/621929c3-0335-40af-8332-5a0b430901ab/problems-with-infopath-web-service-connection?forum=sharepointcustomizationprevious
https://social.msdn.microsoft.com/Forums/en-US/5fa5eca8-f8d7-4a2e-81ba-a3b4bdcfe5af/infopath-cannot-find-or-cannot-access-the-specified-web-service-description?forum=sharepointcustomizationlegacy
Best Regards
Lisa Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]

Similar Messages

  • HP Web Services Setup - Connection error. Check Internet connection.

    I am trying to enable HP Web Services but Connection error. Check Internet connection. .
    I use static ip with Preferred DNS Address: 8.8.8.8 and 8.8.4.4 and it does not work.
    I changed to DHCP also it does not work.
    I have a ZTE home modem router connected to the printer.
    This question was solved.
    View Solution.

    Hi MaBek,
    Can you check if your printers IP address is valid.
    If you have a laptop or PC connected to the same network, open a browser and type the IP address in the address bar and hit enter. 
    This should open a Embedded web Server page if the IP address is valid.
    Here you can navigate to Web Services tab and click on enable to enable web services.
    Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • The windows Cryptographic service provider an error: the keyset is not defined. Error code: 2148073497

    I am using Windows 7, 64 bit,  Adobe 8.1 Professional, ActivClient Agent, with CAC card
    Trying to sign a document digitally however  I keep getting :  The windows Cryptographic service provider an error: the keyset is not defined. Error code: 2148073497
    -I have  tried by deleting my certificates off the computer and reinstalling, this did not help.
    -I have tried rebooting the computer, this did not help.
    -I google the error message and can't locate any step by step instructions to fix this problem.
    Could use some assistance. Please do not assume I'm top of line knowledgeable in Adobe when giving me a fix. That is the reason I am looking for step by step instructions. Thanks.
    Navy Chief

    Hi Chief Mendenhall,
    It's really a Microsoft error, not a Acrobat error, but I know that doesn't make the inability to sign any less frustrating.  This probably has something to do with the communication bridge between Acrobat, Windows, and the CAC software. I know you're not responsible for software upgrades, but is there any chance you can download the free Adobe Reader (Adobe Reader Install for all versions). Even though Reader doesn't have the same editing capability as Acrobat Pro, it will allow you to sign a PDF file, and what I'm looking to see is if this is somehow related to the age of version 8.1, which is well past its end-of life. Even version 9 in longer supported.
    Thanks,
    Steve

  • "1325 Error: iTunesHelper.Resources is not a valid short file name"

    I recently got a new hard drive, and I tried to drag all of my iTunes information to it, and it did. But when I opened iTunes, it said that it was not installed properly and that if I wanted to get cd track names I would have to install it again. So I deleted it, and now when I try to reinstall iTunes, I get the following error:
    "1325 Error: iTunesHelper.Resources is not a valid short file name" I don't remember if it was iTunesHelper or iTunesMiniplayer, but it was one of the two. I have tried everything I can think of to fix this. I have tried doing a system restore, getting rid of the registry information for the entire apple corp. folder, and searching for anything iTunes and deleting it. HOW DO I FIX THIS!? I need iTunes to put music on my ipod (which also got deleted during this).
    PLEASE HELP!!

    Ok first of all never try just copying a program folder again. You always need to do an fresh install.
    Try uninstalling iTunes, then going into C:\Documents and Settings\<<Your user Name>>\Application Data\and rename the "Apple Computer" folder to "_Apple Computer"
    Then go to C:\Documents and Settings\All Users\Application Data\ and rename the "Apple Computer" folder to "_Apple Computer"
    Then go to My Documents > My Music and move the files iTunes Library.itl and iTunes Music Library.xml any where else. Do not delete them.
    Then go to C:\Program Files and delete the iTunes folder if it is still there.
    Then reboot.
    Then try re installing.
    After you have that copy your music files to the new PC and use the File > Add Folder option to add them to iTunes. Use the other import features under File to import the other music data

  • Infopath 2013/REST Web Service - XML Data format

    I've created an Infopath 2013 form and connected it to an existing REST Web Service. The form connects successfully, but I can't get to the nodes that contain the actual data. The REST results look like this:
    <wddxPacket version='1.0'>
    <header/>
    <data>
    <struct>
    <var name='MIDDLENAME'><string>S</string></var>
    <var name='FIRSTNAME'><string>John</string></var>
    <var name='UID'><string>jdoe</string></var>
    <var name='EMAIL'><string>[email protected]</string></var>
    <var name='DEPARTMENT'><string>IT ADMINISTRATION</string></var>
    <var name='TITLE'><string>Director</string></var>
    <var name='LASTNAME'><string>Doe</string></var>
    </struct>
    </data>
    </wddxPacket>
    When I connect to the web service in InfoPath, here is what I see:
    Notice that when we expand the tree, it only shows the "struct" node. How do I get down to the actual data fields?
    Thanks in advance.
    cflbasser

    Hi cflbasser ,
    According to your description, my understanding is that you want to query data using rest web service in InfoPath 2013.
    For achieving your demand, please refer to the blog:
    http://johnliu.net/blog/2012/4/26/infopath-2010-query-using-the-rest-interface.html
    http://sharepointlessons.blogspot.com/2013/09/infopath-and-sharepoint-web-services.html
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Not able to access SOAP web service data control from adf mobile

    Hi,
    I am trying to call web services from adf mobile..
    I have created data control from external web service and it is perfectlly working on web browser..
    But why it is showing an error on emulator??
    Is there any .jar file missing in adf mobile so that it is not supporting a web service?
    Or is there any other problem? Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Please help me to solve this issue..
    Thanks,
    Laxmi

    Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Connecting to WSDL in the browser is not the same as connecting to WSDL in an application.
    To access a web service from an Android device enable a permission in AndroidManifest.xml that allows applications to open network sockets. Add the following uses-permission element.
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

  • Web Service Data Control error

    I was folllowing the instructions on this demo for web service data control.
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/WSDataControl/WSDataControl.htm
    For some reason I am getting the following error right when the page loads.
    'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    Here is the entire error stack. Any idea why it is doing this:
    Client received SOAP Fault from server : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error occured when get webservices record ---> System.Data.SqlClient.SqlException: Procedure or function 'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    at WeatherService.WeatherForecast.GetWeatherByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    Client received SOAP Fault from server : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error occured when get webservices record ---> System.Data.SqlClient.SqlException: Procedure or function 'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    at WeatherService.WeatherForecast.GetWeatherByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    OK

    I would recommend that rather then working according to the demo you actually follow this tutorial:
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_52/jdtut_11r2_52_1.html
    Which in the last part shows you how to use the Web service data control against a service you'll build.

  • Using 2 web services data sources in the same report

    I've been trying unsuccesffuly to use 2 web services data sources in a report. The main report accesses the first web service to get job summary information. 3 fields are are passed as parameters to a sub-report and used as parameters for the sub-report selection. Each report works fine independently, but when I link them together the subreport alway fails to retrieve data.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • I have an older version of itunes on my L drive.  Everytime I try to download the newest version I get the error itunes.resources is not a valid short file name.  Now I obtained an iphone and cannot sync the phone to my account because it wants me to upda

    I have an older version of itunes on a separate drive.  Everytime that there has been an update to itunes it will not let me update.  Now I purchased an iphone and I hooked the phone up to the computer and it tells me I need to install the latest version of itunes.  I downloaded to try it, but I keep getting an error message that says itunes.Resources is not a valid short file name.  What can I do from here?

    That is a new one on me.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • Adobe Reader XI Install Error 1325 AI_RecycleBin is not a valid short file name

    Adobe 10 worked fine on my computer, when I did the update for Adobe XI I got this error.  I tried a couple of times to redownload and install with no success.  Adobe Reader 10 wouldn't work either.  I did a restore on my computer back before the Reader update and that did not get Adober Reader back to working.
    I have been through the Adobe Help & Support, and  Community.  I have used the uninstaller programs and checked anything and everything I found in those two places.  I even tried to install Reader 9 to no avail.
    I am ready for some help and ideas?

    In your post https://forums.adobe.com/thread/1572490 you show message 'Documents is not a valid short file name'.  Now you have the same problem with AI_RecycleBin?

  • Sharepoint 2013, Infopath 2013 and SQL List Data Connection

    I created one list library in SharePoint 2013
    Customized with info path forms 2013 …
    External data connection with SQL servicer table
    SQL table fields are associated with List fields…
    I converted data connection in to UDC file and uploaded in the Data connection Library in SharePoint 2013
    I published the list… when I new document I am getting an error …
    You do not have permissions to access a database that contains data required for this form to function correctly.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    Correlation ID:
    0bb79b9c-3893-20d2-21e3-d428b2f4e92f
    Hai

    Hello , 
    Please refer below threads .
    http://social.msdn.microsoft.com/Forums/en-US/6bead079-4a71-49aa-9c67-ad59069a0ffe/sharepoint-2010-infopath-form-error-you-do-not-have-permissions-to-access-a-database?forum=sharepointcustomizationprevious
    http://blogs.technet.com/b/rajbugga/archive/2013/08/07/infopath-over-claims-authentication-sharepoint-2010-amp-2013.aspx
    Also I would suggest you to create a simple web service to get and update the data to database . And use that Web service to your DB operations . 
    Best Regards Kuldeep Verma
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful. 

  • Web Services problem - Connection error. Check Internet connection. - 1102w

    Hello!
    When i try to enable Web Services Setup i get  "Connection error. Check Internet connection." error message. I tried to do manual and automatic IP Address Configuration.
    Picture:
    If you have any idea what should i do, please help me!
    Thank you!
    Benyke

    I did the firmware update utility.  Says my firmware is up to date.  Still get error.

  • Web Service Timeout & connection errors

    Using jwsdp 2, i have developed a client that has a timeout property set. How are timeouts processed? Is an exception thrown by the port? or does the web method just return with a null return value?
    I also have noticed that in simulating a connection error (by stopping my app server) that an exception is thrown by the web method? but the exception is a javax.xml.ws.WebServiceException. How do I distinguish connection errors from other exceptions? what other exceptions are there?
    Basically, where is this info documented?

    Hello Vipul
    Enter the RZ10 and validates the TIMEOUT value of parameter "icm/server_port_<x>" for  PROT=HTTP and PROT=HTTPS.
    For example, the HTTP service is on port 0 and TIMEOUT=600 seconds
    icm/server_port_0 = PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
    in your case, increasing the TIMEOUT and validates the WS again
    regards
    Juan

  • Leading zeros from Adobe form web service data connection

    I created a web service for BAPI_PRODORD_GET_DETAIL and used it as a data connection in an Adobe form. When executing the connection using request parameters of:
    Number = [Production Order #]
    OrderObjects.Operations = 'X'
    no production orders are found.
    I debugged and discovered the BAPI only found production orders when the Number importing parameter contained padded leading zeros. After searching the forums, I suspect (1) I have the wrong field type and / or pattern for the production order number input field or (2) SAP Note 1050826 may apply.
    Does anyone have suggestions on which field types and patterns to use? I have tried each of Text, Numeric, and Decimal. When using Numeric, I set the data format to Float instead of Integer. I tried data patterns such as: num , the data displays with leading zeros but does not pass to the BAPI with them.
    I was also thinking a Formcalc or Javascript may be the solution.
    Livecycle version: 8.1.2
    Component SAP_APPL: 603 (for SAP note relevancy)
    Thank you,
    --- Scott

    Hello,
    maybe it would be the fastest approach here to work with the value as a string and check the length of the "string" and if needed add some leading zeros. You may try some validations, so the value entered by the user is denied if not in the respective format.
    For a smooth start with scripting start here:
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
    http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf
    Regards, Otto

  • Web Services Server Connection Error

    Although I was able to add my printer to hpeprintcenter successfully, after a few hours it was showing disconnected.  When I pressed refresh I received a popup saying my printer had been removed.  After clicking ok on the popup my printer was still listed and it's state was disconnected.  Some advice I read suggested I disable Web Services from my printer's menu and renable it which would give it a new email adddress.  I disabled it, but now when I try to enable Web Services the printer displays "Server Connection Error There was a problem connecting to the Server. Touch retry to connect again, or OK to Exit.".  I have retried multple times for the last 12 hours with no success.  Any suggestions?

    I don't want to jump to that conclusion just yet. When you set the static IP from the front panel of the printer, did it let you set a static DNS? The static DNS is the important part of that step. If it didn't let you set the static DNS, go into the printer's EWS by typing it's IP address into a web browser. Set the printer to use Google's DNS (Preferred = 8.8.8.8 : Alternate = 8.8.4.4). Once you set the static DNS, power down the printer and router. Turn the router back on first and let it stabilize before turning the printer back on. It normally takes a minute or two for a router to stabilize. Let me know what happens.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

Maybe you are looking for

  • 10.5.2 kicks me back out when I log in

    I've updated my MacBook from 10.5.2 to 10.5.2, and now when I log in as my usual user, I don't get as far as the desktop before I get kicked back out again. It's hard to tell what's going on, too, as I'm getting vast amounts of segmentation faults fo

  • FBZ5 PROBLEM

    HI gurus, i posted one payment through F-53 after when i am planning to issue check from FBZ5 by giving that document it is showing the following error. "Line item for outgoing payment cannot be determined; check Message no. F5 474 Diagnosis In the d

  • IPhoto doesn't show up in iMovie media browser

    I have the fully installed iLife 06, and when I am in iMovie and go to the media browser to pick an image, nothing shows up to populate the browser. It seems as if the browser is not seeing iPhoto. I have tried this with iPhoto open and closed. No di

  • Created website in flash cs3, wont open once hosted...

    I tried to find the answer here in the forums but couldn't,.  I'm sorry, i bet this question has been posted before.. I created a website in flash cs3.  published it so that I now have an index.html, home.swf and AC_RunActiveContent.js file. when I u

  • I need to update my flash player-but i need  a password please...

    i need  to update my flashplayer and it says i need a password please