Consuming WebServices using HttpWebRequest class

B

Baccarin

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top