Solved

wsdl visual representation

Posted on 2007-11-15
11
1,516 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
 
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
DevOps Toolchain Recommendations

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

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to count occurrences of each item in an array.
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now