<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: error to expose dataset from webservice</title><link>https://www.infopathdev.com:443/forums/thread/31233.aspx</link><pubDate>Wed, 06 Aug 2008 18:16:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31233</guid><dc:creator>cyberdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=31233</wfw:commentRss><description>&lt;p&gt;One more thing I forgot to add is that I do not want to retrieve any data for the infopath form. I only want to use the receive web method to get the schema for the form. I do not know if the above code is the best for this or not.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;also have another dilemma. I cannot use a direct database connection to retrieve my schema because&amp;nbsp;image type is not supported, so I need to use web services. Howerver, I read that&amp;nbsp;web services or using an XSD schema has another issue: that int types&amp;nbsp;cannot be blank in the form. (This is not a problem with database connections that can optional int types with null). The only solution I have&amp;nbsp;read is to manually edit the&amp;nbsp;XSD file to add the nil attribute or buy the Qdabra&amp;nbsp;suite.&amp;nbsp;Editing&amp;nbsp;the &amp;nbsp;file is not reasonable for me, since I have over 1000 fields. The Qdabra would be great, but it is very expensive for my company. I am just so frustrated with this infopath stuff already.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>error to expose dataset from webservice</title><link>https://www.infopathdev.com:443/forums/thread/31230.aspx</link><pubDate>Wed, 06 Aug 2008 16:17:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31230</guid><dc:creator>cyberdog</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=31230</wfw:commentRss><description>&lt;p&gt;Hello. I am trying to do a simple receive dataset webmethod to receive the schema for my infopath form. I first tried to do it based on a direct sql server 2005 database connection, but found out that infopath 2007 does not support image (ink picture) types from databases and I need to use a web service. That sucks, by the way. So I looked at msdn and found a simple receivedataset method but using VS 2003 and sqldata adapters. I am using VS 2005 and tried to modify it for the new typed datasets and tableadapters. However, when I run the code and invoke the method on my dev machine, I just get a HTTP 500 error. Here is all I am doing and it looks OK in winforms. I am new in this, so please can somebody help me.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;WebMethod()&amp;gt; _&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Function&lt;/font&gt;&lt;font size="2"&gt; ReceiveDataSet() &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; DataSet&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;font size="2"&gt;.ReferralTableAdapter1.Fill(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;font size="2"&gt;.LlgaDataSet1.Referral)&amp;nbsp;&amp;nbsp; &amp;#39;it bombs out here&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Return&lt;/font&gt;&lt;font size="2"&gt; LlgaDataSet1&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Function&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;</description></item></channel></rss>