473,379 Members | 1,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Proxy in .Net and IE

SK
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
Nov 23 '05 #1
5 5257
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,

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

Nov 23 '05 #2
SK
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/247referenc...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

"Dilip Krishnan" wrote:
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,

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


Nov 23 '05 #3
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.

http://www.dotnet247.com/247referenc...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
"Dilip Krishnan" wrote:
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,

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

Nov 23 '05 #4
SK
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...5BLN%5D;318140

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

"Dilip Krishnan" wrote:
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.

http://www.dotnet247.com/247referenc...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
"Dilip Krishnan" wrote:
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,

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


Nov 23 '05 #5
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
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...5BLN%5D;318140

Anyway Thanks for your reply. I will just check out the suggestion
you
mentioned in your earlier reply.
Regards
SK
"Dilip Krishnan" wrote:
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.

http://www.dotnet247.com/247referenc...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
"Dilip Krishnan" wrote:
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,
>
> 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

Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Fuzzyman | last post by:
In a nutshell - the question I'm asking is, how do I make a socket conenction go via a proxy server ? All our internet traffic has to go through a proxy-server at location 'dav-serv:8080' and I...
2
by: nitrogenycs | last post by:
Hello, I need a way to get a notification whenever a variable of an object changes. The approach should be non-intrusive so that I can use existing objects without modifying them. I want to be...
6
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in...
10
by: Abubakar | last post by:
hi, I work on a computer that is part of a network and uses proxy to connect to net. I cant connect to servers outside my proxy with simple ConnectTo code. I need to know how to make my requests go...
3
by: Codex Twin | last post by:
Hello apologies if this is the wrong newsgroup to be sending this to. Basically, I have an ASP.NET application that I am trying to force to use a proxy server settings. This can be done by...
9
by: Codex Twin | last post by:
I am re-sending this in the hope that it might illicit a response. I have a corporate client who forces their workstations to get the proxy server details using an automatic proxy discovery script....
7
by: Pro1712 | last post by:
Hello, I need to write a simple proxy server. What I want to do is to use HttpListener to get requests from the browser, add some proxy information and some other stuff and send the request to...
7
by: chandru1782 | last post by:
Dear friends, I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy. when trying to install...
2
by: =?Utf-8?B?TGVuc3Rlcg==?= | last post by:
A C# (.NET 2) application which uses the System.Net.HttpWebRequest object to request a resource over HTTPS is failing following the installation of a new proxy server on our internal network with...
2
by: | last post by:
Hi all, I have an asp.net 2.0 website that accesses a locally hosted web service. This works fine on servers that are connected to our network. However, I am having a problem with a laptop...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.