Solved

wsdl visual representation

Posted on 2007-11-15
11
1,525 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-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
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 dynamically set the form action using jQuery.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

696 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