Solved

wsdl visual representation

Posted on 2007-11-15
11
1,519 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

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…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

726 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