<?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: Dataset contains null values</title><link>https://www.infopathdev.com:443/forums/thread/40025.aspx</link><pubDate>Thu, 26 Mar 2009 13:21:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40025</guid><dc:creator>Vedran</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=40025</wfw:commentRss><description>&lt;p&gt;I have found out what is causing this. The DNSName field in databse is varchar type and it doesn&amp;#39;t allows null values. That&amp;#39;s ok.&lt;/p&gt;
&lt;p&gt;The thing is when I try to submit from InfoPath empytf field DNSNAme, it is passed as &amp;#39; &amp;#39; (without space) and it is not interpret as null value.&lt;/p&gt;
&lt;p&gt;I have employeed a validation on the form and everything is now working fine now.&lt;/p&gt;
&lt;p&gt;The only problem is that DNSName when empty become uneditable (eg I cannot write new name). Is there any solution to this?&lt;/p&gt;</description></item><item><title>Re: Dataset contains null values</title><link>https://www.infopathdev.com:443/forums/thread/39945.aspx</link><pubDate>Wed, 25 Mar 2009 00:13:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39945</guid><dc:creator>emoreau</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=39945</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have the exact same problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Have you find any solution? Do you have anything to share?&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;</description></item><item><title>Dataset contains null values</title><link>https://www.infopathdev.com:443/forums/thread/39776.aspx</link><pubDate>Fri, 20 Mar 2009 14:18:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39776</guid><dc:creator>Vedran</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39776.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=39776</wfw:commentRss><description>&lt;p&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;Here is scenario: I&amp;#39;m using web service to&amp;nbsp;receive and submit data from myForm to the&amp;nbsp;SQL server.&amp;nbsp;The DB is very simple (IPAddress (PK), Gateway, DNS). DNS is defined that can contain null.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;The problem is when I try to retrieve the rows that have null in DNS column (there is no problem when trying to retrieve records&amp;nbsp;that have&amp;nbsp;DNS names). The error&amp;nbsp;showing is &amp;quot;&lt;em&gt;The attribute &amp;#39;{http://www.w3.org/XML/1998/namespace}space&amp;#39; on the element &amp;#39;{http://tempuri.org/serverDataSet.xsd}DNSName&amp;#39; is not defined in the DTD/Schema.&amp;quot;&lt;/em&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;I have looked into XML file that web service returns to myForm&amp;nbsp;and&amp;nbsp;it states (here is part of it):&lt;/font&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&lt;span class="m"&gt;&amp;lt;&lt;/span&gt;&lt;font color="#990000"&gt;&lt;span class="t"&gt;usp_ServerTableSelect&lt;/span&gt;&lt;span class="t"&gt; diffgr:id&lt;/span&gt;&lt;/font&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;b&gt;&lt;font color="#000000"&gt;usp_ServerTableSelect2&lt;/font&gt;&lt;/b&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt; msdata:rowOrder&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;b&gt;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;/b&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&lt;font color="#0000ff"&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div class="e"&gt;
&lt;div style="MARGIN-LEFT:1em;TEXT-INDENT:-2em;"&gt;&lt;span class="b"&gt;&lt;strong&gt;&lt;font face="Courier New" color="#ff0000"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/span&gt; &lt;span class="m"&gt;&amp;lt;&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DNSName&lt;/font&gt;&lt;/span&gt;&lt;span class="ns"&gt;&lt;font color="#ff0000"&gt; xml:space&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;=&amp;quot;&lt;/span&gt;&lt;b class="ns"&gt;&lt;font color="#ff0000"&gt;preserve&lt;/font&gt;&lt;/b&gt;&lt;span class="m"&gt;&amp;quot;&lt;/span&gt;&lt;span class="m"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tx"&gt;&lt;/span&gt;&lt;span class="m"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="t"&gt;&lt;font color="#990000"&gt;DNSName&lt;/font&gt;&lt;/span&gt;&lt;span class="m"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN-LEFT:1em;TEXT-INDENT:-2em;"&gt;&lt;span class="m"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="MARGIN-LEFT:1em;TEXT-INDENT:-2em;"&gt;&lt;span class="m"&gt;I In form I have tried to put DNS field into Optional Section, but that didn&amp;#39;t work. &lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN-LEFT:1em;TEXT-INDENT:-2em;"&gt;&lt;span class="m"&gt;&amp;nbsp;Any suggenstions?&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN-LEFT:1em;TEXT-INDENT:-2em;"&gt;&lt;span class="m"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="MARGIN-LEFT:1em;TEXT-INDENT:-2em;"&gt;&lt;span class="m"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="MARGIN-LEFT:1em;TEXT-INDENT:-2em;"&gt;&lt;span class="m"&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/font&gt;&lt;/span&gt;</description></item></channel></rss>