Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Proxy in .Net and IE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SK - 01 Feb 2005 18:53 GMT
Hi,

We have 2 Servers in our Production Environment.  Inside our application I
am calling a Webservice in Production Server 2 from Production Server 1.  It
is failing.  But when I try to open the webservice from Production 1 Server
using IE, it is working.  Initially I don't have web proxy object in my code,
then after reading couple of posting, I tried that also, it won't help much.  
I tried to use the Proxy object forcefully, no result.  Any glue or I am
missing something.

Thanks in advance
SK
Dilip Krishnan - 01 Feb 2005 20:07 GMT
Hello SK,
  Hard to give any answers without an example of what you're trying to do.
You cannot call a webservice without  proxy. Having said that I'd be interested
in code as to how you actually call the service without the proxy object

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Hi,
>
[quoted text clipped - 9 lines]
> Thanks in advance
> SK
SK - 01 Feb 2005 20:27 GMT
Hi Dilip,
Thanks for your reply.  Here is the link for your question for calling the
Web Service without your own coded proxy.

http://www.dotnet247.com/247reference/msgs/29/147392.aspx

Again I am clarify you that you don't need to instantiate Web Proxy object,
explicitly.    It worked for me quite well, may be I am wrong?

Thanks & Regards
SK

> Hello SK,
>    Hard to give any answers without an example of what you're trying to do.
[quoted text clipped - 21 lines]
> > Thanks in advance
> > SK
Dilip Krishnan - 01 Feb 2005 20:43 GMT
Hello SK,
   Well the WebRequest class is a proxy :) all you're doing there is yr
writing all the soap stack functions using the webrequest object. Having
said that, it may be that you have windows authentication turned on in Production
Server 2 and thats preventing you from accessing the service.
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Hi Dilip, Thanks for your reply.  Here is the link for your question
> for calling the Web Service without your own coded proxy.
[quoted text clipped - 35 lines]
>>> Thanks in advance
>>> SK
SK - 01 Feb 2005 20:59 GMT
Hi Dilip
Thanks once again.  After going through the reply from you,  I came across
the following articles.  I will agree that the WebRequest is derived from
Base proxy class(i.e)System.Net.   But if you don't specify or not
implemented webproxy in your code, .Net will take the system default proxy.  
Again May be I am wrong?

http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;318140

Anyway Thanks for your reply.  I will just check out the suggestion you
mentioned in your earlier reply.
Regards
SK  

> Hello SK,
>     Well the WebRequest class is a proxy :) all you're doing there is yr
[quoted text clipped - 47 lines]
> >>> Thanks in advance
> >>> SK
Dilip Krishnan - 01 Feb 2005 23:12 GMT
Hello SK,
   The proxy refered to in that article is very different from a webservice
proxy. The article refers to a network proxy, one that is used in general
to monitor/control internet access/usage. A web service proxy is a class
that sends the web service requests on behalf of the client.

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Hi Dilip
> Thanks once again.  After going through the reply from you,  I came
[quoted text clipped - 67 lines]
>>>>> Thanks in advance
>>>>> SK

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.