Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2008

Tip: Looking for answers? Try searching our database.

Error Adding Data Connection: inline XDR schemas

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LJ Kyser - 12 Jan 2008 00:32 GMT
Hi all,

I am using InfoPath 2007. I am trying to add a Data Connection, to receive
data, from a web service. The web service is returning a DataSet. I have
tested the web service from a Windows Forms app and I am able to use the web
service successfully.

When I enter the location of the web service, InfoPath is able to read the
WSDL and enumerate the web service methods. When I then select the method I
want and click next, I get the following error:

"The selected XML document cannot be used as a data connection source
because it contains inline XDR schemas."

Does anybody have any insight as to what that means and how to fix it? I
have searched google, msdn, etc. but have yet to find anything.

Thanks in advance!
S.Y.M. Wong-A-Ton - 15 Jan 2008 05:12 GMT
Have you already checked whether you've met the conditions specified in this
article? http://msdn2.microsoft.com/en-us/library/bb852081.aspx
---
S.Y.M. Wong-A-Ton

> Hi all,
>
[quoted text clipped - 14 lines]
>
> Thanks in advance!
LJ Kyser - 15 Jan 2008 06:15 GMT
I actually ran across that article a day or two after posting this. This
morning I found that if any method in my web service returns or accepts a
generic list, an extra namespace is added to the WSDL causing the error. That
makes sense given the mention of no support for complex abstract types.

Thanks for the help!

> Have you already checked whether you've met the conditions specified in this
> article? http://msdn2.microsoft.com/en-us/library/bb852081.aspx
[quoted text clipped - 19 lines]
> >
> > Thanks in advance!
Ranier Bonnici - 08 Apr 2008 11:58 GMT
I am running into this same error when trying to consume a web method which
returns a stongly typed data table.

Is it permissible with InfoPath to use strongly typed data tables?

> I actually ran across that article a day or two after posting this. This
> morning I found that if any method in my web service returns or accepts a
[quoted text clipped - 26 lines]
> > >
> > > Thanks in advance!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.