<?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: InfoPath 2007: can't submit object to web service</title><link>https://www.infopathdev.com:443/forums/thread/30450.aspx</link><pubDate>Tue, 15 Jul 2008 13:03:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30450</guid><dc:creator>jus10</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=30450</wfw:commentRss><description>&lt;p&gt;We are having the same problem when we try to not give the data connection a value to an integer parameter to any web method.&amp;nbsp; I even have a web method that just take one integer parameter and returns it.&amp;nbsp; Give the parameter a value and it works.&amp;nbsp; Don&amp;#39;t provide a value and you get the error above.&amp;nbsp; Is there anyway to get InfoPath to send nulls to a web service or to get around this problem?&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007: can't submit object to web service</title><link>https://www.infopathdev.com:443/forums/thread/17952.aspx</link><pubDate>Sat, 27 Jan 2007 07:08:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17952</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17952.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17952</wfw:commentRss><description>Hi niteshambastha and welcome to our forum!&lt;br /&gt;Has the submit ever worked? Looks like a parameter issue with the input string.</description></item><item><title>InfoPath 2007: can't submit object to web service</title><link>https://www.infopathdev.com:443/forums/thread/17576.aspx</link><pubDate>Thu, 25 Jan 2007 15:18:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17576</guid><dc:creator>niteshambastha</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17576</wfw:commentRss><description>We have a simple form submitting to a web method:&lt;br /&gt;&lt;br /&gt;public void SaveCallSiteVisitNoteObject(string ceId, CallSiteVisitNote notes)&lt;br /&gt;&lt;br /&gt;The submit data connection is configured to submit the group node of the schema corresponds to the type, with "Text and child elements only" option. "Submit data as a string" checkbox is clear.&lt;br /&gt;&lt;br /&gt;The developer#%92s machine is installed with VS 2005, .Net 3.0 and InfoPath 2007 client.&lt;br /&gt;&lt;br /&gt;Upon clicking submit button, the form shows following error message box:&lt;br /&gt;&lt;br /&gt;InfoPath cannot submit the form.&lt;br /&gt;An error occurred while the form was being submitted.&lt;br /&gt;&lt;br /&gt;which contains following details:&lt;br /&gt;&lt;br /&gt;The SOAP response indicates that an error occurred:&lt;br /&gt;&lt;br /&gt;System.Web.Services.Protocols.SoapException: Server was unable to read request. ---&amp;gt; System.InvalidOperationException: There is an error in XML document (1, 432). ---&amp;gt; System.FormatException: Input string was not in a correct format.&lt;br /&gt;   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&amp; number, NumberFormatInfo info, Boolean parseDecimal)&lt;br /&gt;   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)&lt;br /&gt;   at System.Int32.Parse(String s, NumberStyles style, IFormatProvider provider)&lt;br /&gt;   at System.Xml.XmlConvert.ToInt32(String s)&lt;br /&gt;   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read8_CallSiteVisitNoteType(Boolean isNullable, Boolean checkType)&lt;br /&gt;   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read27_SaveCallSiteVisitNoteObject()&lt;br /&gt;   at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer28.Deserialize(XmlSerializationReader reader)&lt;br /&gt;   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)&lt;br /&gt;   --- End of inner exception stack trace ---&lt;br /&gt;   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)&lt;br /&gt;   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)&lt;br /&gt;   at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters()&lt;br /&gt;   --- End of inner exception stack trace ---&lt;br /&gt;   at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters()&lt;br /&gt;   at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>