REST XML page failing to open or import - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

REST XML page failing to open or import

Last post 02-21-2018 07:52 AM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-21-2018 07:41 AM

    REST XML page failing to open or import

    I have an application web service which just returns XML responses. In a browser, a URL like http://server:port/webservice/objects/list will return an XML list of the objects I want to use as a data source. The webservice does ask for basic http authentication (which in chrome can be done with http://user:password@server:port/webservice/objects/list). In InfoPath Designer 2013 I try to create a data connection to rest webservice using the same URL. It flashes a couple times, then gives two notices: "sorry we couldn't open [url]" and then "InfoPath cannot open the XML document: [url]. Not enough storage is available to process this command". It never asks for authentication so I doubt it's going where it's supposed to. I also tried to add a data connection From Other Sources > XML using the same link and got the same error. While googling, it seems like many people have had similar issues, but almost always with https or server-side issues or old versions of IE. None of these are the case for me. I get an event in event viewer as well every time I attempt to connect - attached screenshot, but it basically says the same thing.
  • 02-21-2018 07:44 AM In reply to

    Re: REST XML page failing to open or import

    Usually when I've seen this it is an authentication issue - but I don't know of a work around. Is this a REST or SOAP service?
    Hilary Stoupa

  • 02-21-2018 07:49 AM In reply to

    Re: REST XML page failing to open or import

    This is a rest service. I'm just not sure how to pass any credentials if it doesn't prompt for them. As an aside - how do line breaks work on this forum?
  • 02-21-2018 07:52 AM In reply to

    Re: REST XML page failing to open or import

    Unfortunately, the forum runs on rather old software - if you use IE, you get better formatting. I'm going to ask a colleague of mine if he has any ideas on how to work around the credential issue - I'm wondering if perhaps you put them in your Windows credential manager? But then all your form users would need to do that.... I guess once you get a data connection created, you may be able to use UDCX with the credentials stored in it?
    Hilary Stoupa

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.