Results 1 to 3 of 3

Thread: WSDL definition of class

  1. #1

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479

    WSDL definition of class

    I'm having a mental block, I can't remember how to make a class in my web service available to clients.
    None of the methods in the service return or accept this class but one of them may return them in an array list. How do I make the sevice include a definition for this class in the wsdl file?

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: WSDL definition of class

    If you want to return an object of that class' type, make the class serializable.

  3. #3

    Thread Starter
    Hyperactive Member GlenW's Avatar
    Join Date
    Nov 2001
    Location
    Gateshead, England
    Posts
    479

    Re: WSDL definition of class

    Quote Originally Posted by mendhak
    If you want to return an object of that class' type, make the class serializable.
    I'm not directly returning an object of that type. I return an array list that may contain one or more of them.
    There is a way to instruct the web service to declare the class in the wsdl file but I can't remember how or find in on msdn.

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