WSDL/Web Reference and Classes

Discussion in 'ASP .Net Web Services' started by Ryan, Oct 18, 2006.

  1. Ryan

    Ryan Guest

    What causes the definitions of classes to be in the WSDL/Web Reference? I
    need to add in some class definitions to my WSDL/Web Reference but VS 2005
    will not do it automatically. It appears to be adding classes that are in my
    Web Service functions as ref parameters and some of my other classes. I can
    not see how VS is adding them in or how it determines how to add them in.

    Thanks

    Ryan
     
    Ryan, Oct 18, 2006
    #1
    1. Advertising

  2. "Ryan" <> wrote in message
    news:...
    > What causes the definitions of classes to be in the WSDL/Web Reference? I
    > need to add in some class definitions to my WSDL/Web Reference but VS 2005
    > will not do it automatically. It appears to be adding classes that are in
    > my
    > Web Service functions as ref parameters and some of my other classes. I
    > can
    > not see how VS is adding them in or how it determines how to add them in.


    It will only add the classes if you are using the class.

    John
     
    John Saunders, Oct 18, 2006
    #2
    1. Advertising

  3. Ryan

    Ryan Guest

    Actually, I found out you can add in classes with the XmlInclude attribute.

    "John Saunders" wrote:

    > "Ryan" <> wrote in message
    > news:...
    > > What causes the definitions of classes to be in the WSDL/Web Reference? I
    > > need to add in some class definitions to my WSDL/Web Reference but VS 2005
    > > will not do it automatically. It appears to be adding classes that are in
    > > my
    > > Web Service functions as ref parameters and some of my other classes. I
    > > can
    > > not see how VS is adding them in or how it determines how to add them in.

    >
    > It will only add the classes if you are using the class.
    >
    > John
    >
    >
    >
     
    Ryan, Oct 20, 2006
    #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. Dark
    Replies:
    1
    Views:
    4,677
    milfar
    Nov 14, 2008
  2. Chris Bedford
    Replies:
    0
    Views:
    613
    Chris Bedford
    Aug 21, 2003
  3. Stephen Edgecombe

    WSDL.EXE: WSDL Import Directive

    Stephen Edgecombe, Aug 13, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    277
    Stephen Edgecombe
    Aug 13, 2003
  4. RH
    Replies:
    1
    Views:
    284
    Dino Chiesa [Microsoft]
    May 27, 2004
  5. mrnu

    wsdl.exe fails with WebMethods generated wsdl file

    mrnu, Jun 7, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    238
Loading...

Share This Page