-----Original Message-----
Vipin,
You don't want to use the HttpWebRequest class when trying to connect to
a web service. Rather, you will want to add a "web reference" (by right
clicking on the references folder) in VS.NET. If you do not have VS.NET,
then you can use the WSDL.EXE tool to create a proxy to the exposed web
service (given that you provide the URL for it). You can find the
documentation for the WSDL.EXE tool at (watch for line wrap):
url=/library/en-
us/cptools/html/cpgrfWebServicesDescriptionLanguageToolWsdl
exe.asp
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Hi All,
I am looking for a sample c# program which
demonstrates how to create a webrequest(http) and send it
to a webservice (specified using port no.)
thank you
vipin
.