<?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: Accessing Webservice from SharePOint server</title><link>https://www.infopathdev.com:443/forums/thread/76890.aspx</link><pubDate>Tue, 27 Mar 2012 05:29:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76890</guid><dc:creator>siva_prasads</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=76890</wfw:commentRss><description>&lt;p&gt;This error is from exception block.&lt;/p&gt;&lt;p&gt;Yes the form set as full trust before admion approves.&lt;/p&gt;&lt;p&gt;I am using below code to establish connection to webservice before consuming the service.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;System.Environment.SetEnvironmentVariable(&amp;quot;http.proxyHost&amp;quot;, &amp;quot;000.00.00.000&amp;quot;);&lt;br /&gt;&amp;nbsp; System.Environment.SetEnvironmentVariable(&amp;quot;http.proxyPort&amp;quot;, &amp;quot;80&amp;quot;);&lt;/p&gt;&lt;p&gt;&amp;nbsp; AuthHeader Credentials = new AuthHeader();&lt;br /&gt;&amp;nbsp;&amp;nbsp;Credentials.Username = &amp;quot;abc&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;Credentials.Password = &amp;quot;abc&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;objervice.AuthHeaderValue = Credentials;&lt;/p&gt;&lt;font size="2"&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;blnFlag = objService.IsRef_Name(Name.Value);&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Accessing Webservice from SharePOint server</title><link>https://www.infopathdev.com:443/forums/thread/76755.aspx</link><pubDate>Thu, 22 Mar 2012 14:59:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76755</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=76755</wfw:commentRss><description>&lt;p&gt;Is this the error from the SharePoint logs?&lt;/p&gt;
&lt;p&gt;Is your form set as full trust before you admin approve it? If you aren&amp;#39;t using data connections for your web service, the form will have to be full trust.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/1410425/cause-of-exception-system-net-webexception-the-remote-name-could-not-be-resolv"&gt;Here&amp;#39;s&lt;/a&gt; a StackOverflow thread on this exception - you may be able to find other that will give you ideas for tracking the issue down.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Accessing Webservice from SharePOint server</title><link>https://www.infopathdev.com:443/forums/thread/76736.aspx</link><pubDate>Thu, 22 Mar 2012 05:16:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76736</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76736.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=76736</wfw:commentRss><description>&lt;p&gt;Hi Siva,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry, this sounds like an issue with your code or server and I can&amp;#39;t help you with that. Let&amp;#39;s see if other forum posters know any solutions for you.&lt;/p&gt;</description></item><item><title>Re: Accessing Webservice from SharePOint server</title><link>https://www.infopathdev.com:443/forums/thread/76735.aspx</link><pubDate>Thu, 22 Mar 2012 05:10:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76735</guid><dc:creator>siva_prasads</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=76735</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your respose. Yes the form was published as admin-approved and the SharePoint administrator approved and activate it to the site collection&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Siva&lt;/p&gt;</description></item><item><title>Re: Accessing Webservice from SharePOint server</title><link>https://www.infopathdev.com:443/forums/thread/76733.aspx</link><pubDate>Thu, 22 Mar 2012 04:58:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76733</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=76733</wfw:commentRss><description>&lt;p&gt;Hi Siva,&lt;/p&gt;
&lt;p&gt;How did you deploy the form? You&amp;#39;re using code so you need to publish the form as admin-approved, and then have your SharePoint administrator approve and activate it to the site collection. &lt;/p&gt;</description></item><item><title>Accessing Webservice from SharePOint server</title><link>https://www.infopathdev.com:443/forums/thread/76607.aspx</link><pubDate>Tue, 20 Mar 2012 06:51:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76607</guid><dc:creator>siva_prasads</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=76607</wfw:commentRss><description>Hi,
&lt;p&gt;
I am new to Infopath .
&lt;/p&gt;
&lt;p&gt;
I have Created a Blank Infopath form and Added a Button. Button Properties-&amp;gt; Edit form Code  -&amp;gt; Written My custom code calling the web-serice from here in Vs2005.
I am able to get the data from webservice in the preview of the form.
But when I access the same form deployed on SharePoint server, I am getting the below error message
&lt;/p&gt;
&lt;p&gt;
System.Net.WebException: The proxy name could not be resolved: &amp;#39;www.abc.com&amp;#39;     at System.Net.HttpWebRequest.GetRequestStream(TransportContext&amp;amp; context)     at System.Net.HttpWebRequest.GetRequestStream()     at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)     at Form.Service5.Is_Name(String name)     at Form.FormCode.check_Clicked(Object sender, ClickedEventArgs e)

Any Example  on this ?Any Ideas?  
Help me
 
&lt;/p&gt;
Thanks in advance
 &lt;p&gt;
Siva</description></item></channel></rss>