XML Web Service vs. deployment

  • Thread starter Thread starter Teeravee Sirinapasawasdee
  • Start date Start date
T

Teeravee Sirinapasawasdee

Hi, all

After I have learnt about XML Web Service, I have questions about deploying
XML Web Service and application that call the XML Web Service. When we
develop windows application or web application that call XML Web Service, we
have to add web reference, right? But now I don't know the way how to build
it to be dynamic. I mean when I deploy my application to another
environment, how can my application know URL of XML Web Service if it do not
publish on the Internet? What I mention is I want to build a generic
application that can be deploy in different environment but I must know the
way of deployment. Can anyone give me some information how to solve this
problem?

Thank you in advance,
Teeravee Sirinapasawasdee
Gestalt IT Consulting Group
 
Without going into too much detail because this is a huge
topic, you need to use the UDDI to discover the web
service and extract the url (especially if you've already
add the web reference). There are several web sites that
talk about this and you can find a chapter on it with
examples in my book as well (but it does not concentrate
on web services so you'll probably be better off with a
book that specializes in how to interrogate the UDDI
server).

Jeff Levinson

Author of "Building Client/Server Applications with
VB.NET: An Example Driven Approach"
 
Back
Top