Can any web app communicate with another?

R

rooster575

It seems that in order for a client machine to connect to an asmx web
service, the client needs to have compiled code specifically for that
particular host.

What if you have a database with 10 urls of available webservices(the exact
same service, but different hosts) and you would like to connect dynamically
to any host you'd like, without having the host information compiled, or a
web reference added to the client application.

I'd like to be able to have our clients, all with webservers, to connect to
each other, with just a url of the host to connect to.

Is this possible?

Thanks in advance for any responses.
 
M

Michael Per

In the case you're describing you can add a web reference to the web service
on one of the hosts at development time. Then at run-time when instantiating
the web service simply change its URL property to reflect the desired
host...
 
R

rooster575

Cool! I'll try that. Thanks a lot!

Michael Per said:
In the case you're describing you can add a web reference to the web service
on one of the hosts at development time. Then at run-time when instantiating
the web service simply change its URL property to reflect the desired
host...
 

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,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top