[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

Consuming WebServices using HttpWebRequest class

Baccarin

7/15/2003 6:34:00 PM

Hi,

Did anyone try to consume a WebService using
HttpWebRequest class? I'm getting error 500 using the
following syntax:

req = (HttpWebRequest)WebRequest.Create
("http://IP/vdir/<web service>.asmx/<my method>");

The problem (I believe) is that HttpWebRequest can't
understand correctly the syntax above, or I need to set
some properties that I don't know.

Any help will be useful.

Regards,

Baccarin.