Can any web app communicate with another?

Discussion in 'ASP .Net Web Services' started by rooster575, Sep 26, 2003.

  1. rooster575

    rooster575 Guest

    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.
    rooster575, Sep 26, 2003
    #1
    1. Advertising

  2. rooster575

    Michael Per Guest

    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...

    "rooster575" <> wrote in message
    news:...
    > 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.
    >
    >
    Michael Per, Sep 26, 2003
    #2
    1. Advertising

  3. rooster575

    rooster575 Guest

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

    "Michael Per" <> wrote in message
    news:miMcb.23558$...
    > 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...
    >
    > "rooster575" <> wrote in message
    > news:...
    > > 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.
    > >
    > >

    >
    >
    rooster575, Sep 26, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gery D. Dorazio
    Replies:
    4
    Views:
    533
    Suvra B
    Nov 5, 2004
  2. Dean Slindee
    Replies:
    1
    Views:
    328
    Flinky Wisty Pomm
    Apr 4, 2006
  3. Leo Violette
    Replies:
    2
    Views:
    504
    Leo Violette
    Apr 21, 2009
  4. Maras
    Replies:
    0
    Views:
    110
    Maras
    Jun 17, 2004
  5. Replies:
    1
    Views:
    152
    R. Rajesh Jeba Anbiah
    Jan 13, 2005
Loading...

Share This Page