<?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: Call a web service with C# in VS2005</title><link>https://www.infopathdev.com:443/forums/thread/19827.aspx</link><pubDate>Mon, 14 May 2007 08:37:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19827</guid><dc:creator>basescu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=19827</wfw:commentRss><description>&lt;p&gt;I didn&amp;#39;t got it.&lt;/p&gt;&lt;p&gt;:)&lt;/p&gt;&lt;p&gt;Please explain it to me.&lt;/p&gt;&lt;p&gt;For start i fave a form with one textbox and one button.&lt;/p&gt;&lt;p&gt;I want to consume a web service with just one web method, the HelloWorld() method.&lt;/p&gt;&lt;p&gt;I want that when i click on the button, the method to be colled, and my textbox to be filled with the string returned by the method.&lt;/p&gt;&lt;p&gt;Can u give me some lines of code, please?&lt;/p&gt;&lt;p&gt;Basescu&lt;/p&gt;</description></item><item><title>Re: Call a web service with C# in VS2005</title><link>https://www.infopathdev.com:443/forums/thread/17921.aspx</link><pubDate>Thu, 09 Nov 2006 00:38:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17921</guid><dc:creator>dream1213</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17921.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17921</wfw:commentRss><description>Thanks Shiva,&lt;br /&gt;I got it.&lt;br /&gt;&lt;br /&gt;Eugene,</description></item><item><title>Call a web service with C# in VS2005</title><link>https://www.infopathdev.com:443/forums/thread/17564.aspx</link><pubDate>Wed, 08 Nov 2006 00:22:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17564</guid><dc:creator>dream1213</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17564.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17564</wfw:commentRss><description>Thanks Shiva,&lt;br /&gt;I followed your code as below:&lt;br /&gt;&lt;br /&gt;------------------------------&lt;br /&gt;WebServiceAdapter2 myWebAdapter = (WebServiceAdapter2)thisXDocument.DataAdapters["AdapterName"];&lt;br /&gt;&lt;br /&gt;myWebAdapter.DOM.selectSingleNode("XPath").text = "myValue";&lt;br /&gt;&lt;br /&gt;myWebAdapter.Query();&lt;br /&gt;&lt;br /&gt;--------------------------------&lt;br /&gt;An error says: &lt;br /&gt;'Microsoft.Office.Interop.InfoPath.SemiTrust.WebServiceAdapter2' does not contain a definition for 'DOM'	&lt;br /&gt;&lt;br /&gt;Could you give me an hint about it? &lt;br /&gt;&lt;br /&gt;BTW, the "XPath" should be the real field's path in data source? &lt;br /&gt;How to get this Xpath from data source?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Eugene,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>