Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6887261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:51:48+00:00 2026-05-27T05:51:48+00:00

I am generating WSDL/XSD for SOAP services from a UML model using IBM Rational

  • 0

I am generating WSDL/XSD for SOAP services from a UML model using IBM Rational Software Architect (RSA). RSA allows you to document the classes and attributes in the model using rich-formatting.

For example, I have the following documentation on a Trailer class:

A wheeled Vehicle that is designed for towing by another
Vehicle. Known subtypes include:

  • Caravan
  • BoxTrailer
  • BoatTrailer

When the UML model is transformed to WSDL/XSD (using the out-of-the-box UML to WSDL transform), the formatting is preserved as HTML markup inside the xsd:documentation element:

  <xsd:complexType name="Trailer">
    <xsd:annotation>
      <xsd:documentation>&lt;p&gt;
    A&amp;nbsp;wheeled &lt;strong&gt;Vehicle&lt;/strong&gt; that is designed for&amp;nbsp;towing by another &lt;strong&gt;Vehicle.&lt;/strong&gt; Known
    subtypes include:&amp;nbsp;
&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;
        &lt;strong&gt;Caravan&lt;/strong&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;strong&gt;BoxTrailer&lt;/strong&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;strong&gt;BoatTrailer&lt;/strong&gt;
    &lt;/li&gt;
&lt;/ul&gt;</xsd:documentation>
    </xsd:annotation>
  </xsd:complexType>

Unfortunately, this is really hard to read and I’ve been searching (with no luck) for a program that can view WSDL/XSD with documentation in HTML markup.

XmlSpy 2008 can’t do it, RSA can’t do it (which is a bit surprising, as it generated the XSD in the first place), neither can any web browser I’ve tried.

I did write a JET template that extracted the documentation from the model and outputted to HTML, and I could probably write some XSLT to do something similar from the XSD, but I was hoping there’s a program out there (ideally free) that could view the documentation as HTML.

Essentially, I’d like to be able to tell the consumers of our web service that they can view the WSDL in X program if they want to read the documentation – does anybody know the best solution to this?

Edit:
Thanks for the suggestions, but I think I have a solution! I didn’t realise that RSA can export a WSDL to HTML (right-click on WSDL, export, HTML). The generated HTML has a graphical view of each schema element, the documentation for each element, as well as the original source, and everything is hyperlinked together.

Most importantly, the documentation is richly-formatted again! One small caveat is that the ;nbsp‘s appear in the HTML output. This seems to be because the ampersand is escaped in the HTML:

&amp;nbsp;

Instead it should be

&nbsp;

I will update my model-to-model transform to ensure that the ;nbsp‘s are replaced with real spaces (I don’t believe I’ll need non-breaking spaces in the documentation), so the generated WSDL/XSD won’t ever have them.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:51:49+00:00Added an answer on May 27, 2026 at 5:51 am

    This issue is fixed in RSA 8.0.4 – which now supports exporting to WSDL/XSD with plain text (as well as an option to sort the schema by type, then name alphabetically!).

    To view the the documentation in a WSDL/XSD generated from a UML model in prior versions of RSA, the easiest solution is to export the WSDL/XSD as HTML using RSA. You can do this by right-clicking on the WSDL/XSD, selecting export, then selecting HTML.

    The generated HTML has a graphical view of each schema element, the documentation for each element, as well as the original source, and everything is hyperlinked together.

    Most importantly, the documentation (that’s virtually unreadable in the WSDL/XSD) is richly-formatted again! One small caveat is that the ;nbsp‘s that RSA’s documentation editor inserts also appear in the HTML output. This seems to be because the ampersand is not only escaped in the WSDL/XSD (which is good), but also in the HTML (bad!):

    &amp;nbsp;

    Instead it should be

    &nbsp;

    A simple workaround to this is to replace all &amp;nbsp;‘s in the WSDL/XSD with real spaces before generating the HTML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're generating Java files from WSDL descripitons using the axis-wsdl2java ant task. <axis-wsdl2java url=${src.dir.etc}/wsdl/BLAH.wsdl
I am generating WSDL from XSD with XSLT 2.0, and I am copying the
I'm generating a WSDL from a Java class using the @WebService annotation and running
I have multiple WSDL/XSD files and using JAXB I'm generating it's clients. But there
I'm creating a web services and generating a contract (WSDL) with Axis2 like a
I am using Eclipse WTP plugin to generate the stub from this WSDL: https://api.sandbox.ebay.com/wsapi?wsdl
I'm encountering a problem generating my client and server code from wsdl. I've been
I have a WSDL-fisrt approach to generating Web Services. Basically, this means, I have
How would I go about generating Visual Basic 6 Proxy dll/tlb from a WSDL
I'm currently learning Apache CXF . When CXF is generating a WSDL file from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.