On Apr 11, 7:25 am, subhash <chend...@hotma il.comwrote:
If your service is using a port other than 80, you can specify it in
the service instantiation's Url property:
From this example,
ReportingServic e2005 rs = new ReportingServic e2005();
rs.Credentials = System.Net.Cred entialCache.Def aultCredentials ;
// Set the base Web service URL of the source server
rs.Url = "http://mySourceServer/reportserver/
reportservice.a smx";
Add your port after the server name like this:
rs.Url = "http://mySourceServer: 81/reportserver/
reportservice.a smx";
Brian
Hi,
>
I'm trying to access a webservice from internet through my C# .NET
application.
First i got a proxy 407 error and i solved that by assigning some proxy
address used in my company network.
Now I got "The request failed with HTTP status 404: Not Found." error. I
tried invoking the service from the IE and its working fine.
Some people told me that the default port 80 might be closed by the network
administrator and we need to open that. I dont know whether it solves my
problem or not. Can i get help on how to solve this problem or how to open
the port from code, if this is the solution?
--
With Regards,
Subhash.
>
I'm trying to access a webservice from internet through my C# .NET
application.
First i got a proxy 407 error and i solved that by assigning some proxy
address used in my company network.
Now I got "The request failed with HTTP status 404: Not Found." error. I
tried invoking the service from the IE and its working fine.
Some people told me that the default port 80 might be closed by the network
administrator and we need to open that. I dont know whether it solves my
problem or not. Can i get help on how to solve this problem or how to open
the port from code, if this is the solution?
--
With Regards,
Subhash.
the service instantiation's Url property:
From this example,
ReportingServic e2005 rs = new ReportingServic e2005();
rs.Credentials = System.Net.Cred entialCache.Def aultCredentials ;
// Set the base Web service URL of the source server
rs.Url = "http://mySourceServer/reportserver/
reportservice.a smx";
Add your port after the server name like this:
rs.Url = "http://mySourceServer: 81/reportserver/
reportservice.a smx";
Brian