I have a question regarding creating a class in Visual Studio 2008.
I am using a web service that is added by adding a web link. It works great, and all classes seem to be successfully generated. When I try to create a class diagram using the View Class Diagram for a project that uses a web service, I get:
Some of the selected types cannot be added to the class diagram. Check the error code and all the necessary assembly link
I followed both of these suggestions and the project has no errors or warnings. I do not get errors for other projects in the same solution that does not use the web service.
The web service http://foo.bar.com/wsdl/ in a slightly anonymous form (although it still has the same structure, I just changed some names) can be found here if it is important for the answer: http: // pastebin.com/rd7W9BA6
Append
- As an example, if I double-click the Age class inside the WebService folder (in the tree) in the class view, I get a look at the public partial Age class in the Reference.cs file.
- I also see the Age class above in the Object Browser.
It seems that I have all the necessary information to build a class diagram. But when I right-click on the specified class and select View Class Diagram, I get the error message above.
, WebService, " ", , . - , WSDL .