Solved

wsdl visual representation

Posted on 2007-11-15
11
1,518 Views
Last Modified: 2013-11-26
Is there a way to create a visual representation of a wsdl file in VS2005?  If so, how?

Thanks for any help.
0
Comment
Question by:-Dman100-
  • 5
  • 5
11 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 20298138
What kind of "visual representation" are you looking for?

Bob
0
 

Author Comment

by:-Dman100-
ID: 20298415
A simple diagram would  be fine.  Something similar to a SQL Server database diagram?  What options are available?

Thanks.
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 20298723
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 96

Expert Comment

by:Bob Learned
ID: 20299016
Now, those links are pretty useless, without any explanation of their intent.

Are you talking about something like a class diagram of the proxy class?  There is the 'View Class Diagram' button on the Solution Explorer, that can generate a class diagram for the web service.

Bob
0
 

Author Comment

by:-Dman100-
ID: 20299178
Bob,

Sorry for my confusion, but I don't know wht a class diagram of a proxy class is?

Basically, what I'd like to do is open the wsdl xml file in VS2005 and use some tool to show visually how the objects are related...i.e. like how sql server diagrams show the tables and fields and the relationships to other tables and fields.  one to one, one to many, many to many, etc.

Something like that?  Also, if that is possible, can it be exported to a file, pdf, something to print out?  If not, that's okay.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 20299360
When you say "objects", do you mean web methods?  There isn't any diagramming tool that I know of that will diagram the relationships between web methods.

Bob
0
 

Author Comment

by:-Dman100-
ID: 20299815
Yes, you're right.  The wsdl xml file is only describing the properties and methods, correct?

So, backing up, you said that there is a "View Class Diagram" in the Solution Explorer.  I have the wsdl xml file open and I see the "Class View" tab, but that doesn't show me anything related to the wsdl file.  Is there another tab or somewhere I'm not looking?

How do I convert the wsdl xml file to a class file and then compile into an assembly?  Is there a tool in VS2005 that allows you to do this?  Previously, I had to copy the wsdl file to the folder where the wsdl.exe file is and use the command window to convert the xml file to the class file.  Then I again used the command window to convert the class file into the .dll assembly.  I'm sure I took the most difficult route to do this, but I didn't know what tool or how to do this within the VS2005 IDE???
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 20300461
I wasn't talking about the "Class View" tab, but the "View Class Diagram" button at the top of the Solution Explorer.  You can also create a class diagram through the 'Add New Item' dialog box.  

When you created the web service, the proxy class was created in the App_Code folder.  That is what is used for the class diagram.

Bob
0
 

Author Comment

by:-Dman100-
ID: 20300676
Okay, I see the "View ClassDiagram"...my bad.

Actually, I didn't create the web service.  It is a web service that I downloaded from from another system that we use to communicate thru their API.

How do I create the proxy from the web service in the VS2005 IDE?
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 20300884
I found this open source WSDL diagram:

Linguine Maps For WSDL
http://www.softwaresecretweapons.com/jspwiki/linguinemapsforwsdl

I haven't tried it, and I don't know if it is any good.

Bob
0
 

Author Comment

by:-Dman100-
ID: 20301491
Hi Bob, got what I needed.  Thanks for your help.

After downloading the wsdl file, I used the wsdl.exe utility to create the source code proxy.  Then I created a new class library and copied the newly created class file into the library project.  Created a class diagram from the class file and then built the project, which created the assembly.  Everything looks good.

Thanks again for your help.
Regards.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question