p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Web Services (http://p2p.wrox.com/forumdisplay.php?f=102)
-   -   How to send Web Service request & response to url? (http://p2p.wrox.com/showthread.php?t=37542)

gyandeosingh January 24th, 2006 12:55 AM

How to send Web Service request & response to url?
I created a Web Application and a Web Service Application. In the Web Service, I have to create a AddJob() method. The AddJob() method takes job details as parameters. I want to send these job details to a job board url as xml file and get/read the response from that url.
Web Application call this AddJob method by passing parameters through proxy.
How I will implement this? I want help immediately.


gyan deo singh

rodmcleay January 30th, 2006 04:21 AM

You need to include the web service as a reference in your web project then call the method as normal.
MyWebService ws = new MyWebService();
object myResponse = ws.AddJob(YourXMLDocument);

They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.

All times are GMT -4. The time now is 05:39 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.