<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Consuming custom sharepoint web services from infopath</title><link>https://www.infopathdev.com:443/forums/thread/53037.aspx</link><pubDate>Tue, 23 Mar 2010 09:55:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53037</guid><dc:creator>mrsafe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=53037</wfw:commentRss><description>&lt;p&gt;Hi There,&lt;br /&gt;I have developed a custom web service hosted inside my MOSS platform. The web service takes string&amp;nbsp;3 values, List, Field and queryValue and performs a simple query returning a data set. I did this because I could not seem to use the lists web service from infopath at all. The web service seems to be installed correctly as it can be consumed from a custom console app, however, the console app does require the [webservicename].UseDefaultCredentials = true; in order to avoid a 401 unaithorised error. From inside infopath 2k7 when adding a new a data connection, I can see the web service after entering the URL/_vti_bin/webservicename.asmx. Infopath then required me to enter 3 bits of data as expected. At this point I think the sample data is used to perform the query in order to build the returning schema for the form. This does not happen, Am I missing something here? I am developing the infopath form on the same box as the MOSS install&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do I maybe need to add some code the custom webservice to ensure authentication?&lt;/p&gt;
&lt;p&gt;Does infopath use strings when passing parameters?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;</description></item></channel></rss>