<?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>method does not accept valid XML data?</title><link>https://www.infopathdev.com:443/forums/thread/50554.aspx</link><pubDate>Wed, 13 Jan 2010 10:50:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50554</guid><dc:creator>evvo1961</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=50554</wfw:commentRss><description>&lt;p&gt;im trying to do something that should be simple... i want my infopath form to submit its data to a sql server db as well as a sharepoint library.&lt;/p&gt;
&lt;p&gt;i have a stored procedure which is called from a web service coded in c#. the web sservice works fine on its own... adds a record to the table.&lt;/p&gt;
&lt;p&gt;however when i try and add a data connection to this web service within my infopath form and select my method as the operation i get this error...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Infopath cannot use the selected WEb service method to submit data&amp;nbsp;because the method does nt accept valid XML data&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;How do i get round this problem?&lt;/p&gt;
&lt;p&gt;the web service is fairly simple. creates a connection and calls the stored procedure. i wasnt too sure how i pass my parameters across so these are blank, i assumed i would be able to set these in the infopath data connection wizard.&lt;/p&gt;
&lt;p&gt;any help appreciated... &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>