Remote web service

  • Thread starter Thread starter doc. Zenobiusz Furman
  • Start date Start date
D

doc. Zenobiusz Furman

Hi!

How to call a method of a remote web service from another web service
(local)? Any help?
 
Just create a WebReference to the Remote webservice in your primary
webservice project, as you would with any other .NET Application, and make
the method call on the generated webservice proxy class.
Pete
 
Just create a WebReference to the Remote webservice in your primary
webservice project, as you would with any other .NET Application, and make
the method call on the generated webservice proxy class.

I've to do it dynamically. Webservice remote adress is one of the variables
in my application.
 
Dnia Sun, 20 Aug 2006 05:34:01 -0700, Peter Bromberg [C# MVP] napisa³(a):
The WebReference object has a handy URL property. Just set this based on your
variable before using. Lather, rinse, repeat.
Peter

I'll be greateful for a code sample.
 

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

Back
Top