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

  • SEARCH
  • Home
  • 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 8968773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:30:03+00:00 2026-06-15T17:30:03+00:00

I have to write documentation for an existing WSDL file and would prefer to

  • 0

I have to write documentation for an existing WSDL file and would prefer to do so inside the document. The problem is, that I cannot find anything about whether wsdl:documentation allows the usage of xml:lang as an attribute or if any documentation generator would use it.

So far I have not found anything on the web and I simply cannot believe that I’m the only one who would like to do a dual language documentation. Any hints?

  • 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-06-15T17:30:03+00:00Added an answer on June 15, 2026 at 5:30 pm

    From the WSDL 1.1 specification:

    WSDL uses the optional wsdl:document element as a container for human readable documentation. The content of the element is arbitrary text and elements (“mixed” in XSD). The documentation element is allowed inside any WSDL language element.

    From the WSDL 2.0 specification (emphasis mine):

    WSDL 2.0 uses the optional documentation element information item as a container for human readable or machine processable documentation. The content of the element information item is arbitrary character information items and element information items (“mixed” content in XML Schema [XML Schema: Structures]). The documentation element information item is allowed inside any WSDL 2.0 element information item.

    Like other element information items in the “http://www.w3.org/ns/wsdl” namespace, the documentation element information item allows qualified attribute information items whose [namespace name] is not “http://www.w3.org/ns/wsdl“. The xml:lang attribute (see [XML 1.0]) MAY be used to indicate the language used in the contents of the documentation element information item.

    It seems that this was somehow forgotten in V1 and fixed in V2. Basically, you are on your own.

    But even if the specification would mandate the use of xml:lang for documentation, you can never know what your clients will use to process the WSDL you provide them and never know if they can properly extract the documentation out of it.

    I hope you don’t mind me saying this, but I think you are approaching this the wrong way. Documentation for a web service doesn’t resume itself to the WSDL. Yes, providing a WSDL is mandatory for your clients to be able to easily generate the plumbing code needed to call you web service, but it only details the technicalities of the calls. It says nothing about how your web service should be used.

    YMMV but beyond the WSDL you might want to:

    • start with an overview of what your web service does;
    • what each of its operations is used for and when;
    • what’s the meaning of the parameters, what constraints are there for each (e.g. some business constraint that can’t be reinforced with XSD restrictions);
    • some SOAP message samples containing typical data needed/returned by the web service;
    • describe what errors to expect, what codes/description will they have and how to troubleshoot them;
    • emphasize business constraints (I’m thinking red bold text?!);
    • what if you want to insert a picture to describe the overall architecture?
    • etc etc

    Adding all those details in the WSDL would be restrictive. So how about making your documentation composed of the WSDL and a nicely formatted (language specific) PDF file with details like the ones I mentioned above?

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

Sidebar

Related Questions

I am trying to write documentation comments however I have a problem. /// <summary>
I have seen documentation on the IronPython mailing list that describes how to write
I have been given the following assignment: Write a function (documentation included) that given
I'm writing a simple web app in PHP that needs to have write access
I have to write a SNMP module which monitor a certain server application that
I'm required to write documentation for my current project that lists all .c files
I want to partially specialize an existing template that I cannot change ( std::tr1::hash
I want to write documentation for a method using Tomdoc. I have a method
I would like to write a documentation for one of my Django based project.
I want to write documentation on my pet project. I have 30 tables and

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.