Results 1 to 3 of 3

Thread: service exists?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    service exists?

    hi. i am trying to "discover" a webservice using..

    webservice.discover()

    but it gives me an exception:

    An unhandled exception of type 'System.InvalidOperationException' occurred in system.web.services.dll

    Additional information: Discovery document at the URL http://www.webservicex.com/country.asmx?wsdl could not be found.



    but it does exist! how do i go about checking if a service exists?

    thanks

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690

    Re: service exists?

    I don't have an answer, just curious. What's the class you're using? I mean, I don't see a WebService.Discover() method.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: service exists?

    that was an example ...

    this.theNameWebService = new DPPWebService.country();

    then


    this.theNameWebService.Discover();

    you need to add a web reference in your project...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width