<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: instantiate the web service proxy</title><link>https://www.infopathdev.com:443/forums/thread/11392.aspx</link><pubDate>Tue, 03 Apr 2007 15:15:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11392</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11392.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11392</wfw:commentRss><description>Hi Basescu,&lt;br /&gt;&lt;br /&gt;I've never used web services this way, but I doubt you'll want to do it this way in InfoPath.  Seems like it would need to be full trust.  To interact with a web service in InfoPath you add it as a secondary data source, and then manipulate the queryFields node to change the values of the parameters.  Once that is done you can call Query() on the web service object and the dataFields node will contain the values of the return.</description></item><item><title>instantiate the web service proxy</title><link>https://www.infopathdev.com:443/forums/thread/6161.aspx</link><pubDate>Fri, 30 Mar 2007 12:04:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6161</guid><dc:creator>basescu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6161.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6161</wfw:commentRss><description>&lt;br /&gt;hello&lt;br /&gt;&lt;br /&gt;I vahe a little problem in using the web service i built.&lt;br /&gt;I am not capable of instantiating the web service proxy. I read that this is done by &lt;br /&gt;namespace_of_the_client.name_of_the_web_reference_to_webservice myWebServiceProxy= new namespace_of_the_client.name_of_the_web_reference_to_webservice();&lt;br /&gt;&lt;br /&gt;and than, when i want to use a a web method, called let's say Add,&lt;br /&gt;i write &lt;br /&gt;myWebServiceProxy.Add(1,2);&lt;br /&gt;&lt;br /&gt;This works fine when my client is a ConsoleApplication that is using the webService. When i am using an infopath it doesn't work. Is this because i have two namespaces, a simple one and a INfopathNamespace, or is something else?&lt;br /&gt;&lt;br /&gt;I use c#&lt;br /&gt;&lt;br /&gt;Basescu</description></item></channel></rss>