creating proxy client via .wsdl file

Discussion in 'ASP .Net Web Services' started by jv, Feb 10, 2004.

  1. jv

    jv Guest

    I have a simple web service(service1.asmx). I browse the wsdl via?wsdl
    option. Then I save the wsdl to a txt file with wsdl
    extension(service1.wsdl).
    If I do add web reference and point to this wsdl file, i get the
    following error:Invalid at the top level of the document. Error
    processing resource 'file:///C:/temp/Service1.wsdl'. Line 1, Position
    42

    <?xml version="1.0" encoding="utf-8" ?>
    I know this used to work before.
    Could anybody please help?
     
    jv, Feb 10, 2004
    #1
    1. Advertising

  2. can you post the WSDL file?
    "jv" <> wrote in message
    news:...
    > I have a simple web service(service1.asmx). I browse the wsdl via?wsdl
    > option. Then I save the wsdl to a txt file with wsdl
    > extension(service1.wsdl).
    > If I do add web reference and point to this wsdl file, i get the
    > following error:Invalid at the top level of the document. Error
    > processing resource 'file:///C:/temp/Service1.wsdl'. Line 1, Position
    > 42
    >
    > <?xml version="1.0" encoding="utf-8" ?>
    > I know this used to work before.
    > Could anybody please help?
     
    Dino Chiesa [Microsoft], Feb 13, 2004
    #2
    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. Trebek

    Best pratices ... advice -- client proxy from wsdl

    Trebek, Apr 30, 2004, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    134
    Trebek
    Apr 30, 2004
  2. RH
    Replies:
    1
    Views:
    269
    Dino Chiesa [Microsoft]
    May 27, 2004
  3. mrnu

    wsdl.exe fails with WebMethods generated wsdl file

    mrnu, Jun 7, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    215
  4. Raghu Dongur via .NET 247

    creating proxy class from WSDL file

    Raghu Dongur via .NET 247, Jun 9, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    346
    robiweb90
    Jun 9, 2004
  5. Max2006
    Replies:
    2
    Views:
    897
    Max2006
    Nov 16, 2007
Loading...

Share This Page