Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WSDL/Web Reference and Classes

Reply
Thread Tools

WSDL/Web Reference and Classes

 
 
Ryan
Guest
Posts: n/a
 
      10-18-2006
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
 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      10-18-2006
"Ryan" <> wrote in message
news:8CDEFDA5-4C82-4BD9-B6A8-...
> 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


 
Reply With Quote
 
 
 
 
Ryan
Guest
Posts: n/a
 
      10-20-2006
Actually, I found out you can add in classes with the XmlInclude attribute.

"John Saunders" wrote:

> "Ryan" <> wrote in message
> news:8CDEFDA5-4C82-4BD9-B6A8-...
> > 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
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about big projects and classes within classes August0866 Ruby 1 03-17-2008 12:02 AM
classes and cons reference... 1337-chixor;) C++ 13 04-02-2007 11:00 PM
ASP.NET 2.0: master pages and web user controls: reference to a non-shared member requires an object reference bminder ASP .Net 0 06-24-2005 12:22 AM
What is the difference between nested classes and inner classes ? Razvan Java 5 07-27-2004 07:59 PM
Modifiers applied to attributes, local variables, member functions, classes and inncer classes ! Razvan Java 11 07-17-2004 08:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57