Calling web services with no proxy

  • Thread starter Thread starter JC
  • Start date Start date
J

JC

I'm a newbie to web services, so forigve me if I ask a stupid
question, but here it is...

The application I am working on is supposed to be a test client for a
web service. Basically, they want to be able to construct an XML file
containing a function call in Notepad (or whatever) then my
application will enable them to select an .xml file, post it to a URL
and record the response.

From the reading I have done around web services to date, it appears
that the usual usage of a web service involves a tight definition of
the call, creating a proxy class and so on, but I don't want to make
calls like this - I just want to be able to send XML data to a URL and
see what I get back.

Can anyone give me some guidance on classes/namespaces or other
resources I can look at to get me started on achieving this?

Thanks in advance,
 
(e-mail address removed) (JC) wrote in @posting.google.com:
Can anyone give me some guidance on classes/namespaces or other
resources I can look at to get me started on achieving this?

Thanks in advance,

WebService calls are just http calls. If you generate a proxy with wsdl.exe
you can see exactly how it is making the calls to the server.

For posting XML and getting responses back, you probably want to look at
the HttpWebRequest and HttpWebResponse classes.

Mark
 
Back
Top