You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/08/14 17:07:46 UTC

DO NOT REPLY [Bug 22425] New: - [Patch] add to wsdd and wsdl

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22425>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22425

[Patch] add <documentation> to wsdd and wsdl

           Summary: [Patch] add <documentation> to wsdd and wsdl
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: cchabanois@cognicase.fr


This patch allows to add <documentation> element in dynamically generated wsdls
using documentation tags in wsdd deployment file.

Ex :  (wsdd)
  <service name="TEST1" provider="java:EJB">
    <parameter name="wsdlPortType" value="TEST1"/>
   [...]
    <documentation>This is my web service</documentation>
      <operation name="echoString" >
        <documentation>This operation echoes a string</documentation>
        <parameter name="PARAM">
          <documentation>a string</documentation>
        </parameter>
      </operation>
    [...]
"

The generated wsdl will be :
"
[...]
<wsdl:message name="echoStringRequest">
  <wsdl:part name="PARAM" type="xsd:string">
  <documentation>a string</documentation> 
  </wsdl:part>
</wsdl:message>
[...]
<wsdl:operation name="echoString" parameterOrder="PARAM">
  <documentation>This operation echoes a string</documentation> 
  <wsdl:input message="impl:echoStringRequest" name="echoString"/>
[...]
<wsdl:service name="TEST1Service">
  <documentation>This is my web service</documentation> 
  <wsdl:port binding="impl:TEST1SoapBinding" name="TEST1">
[...]
"

I deleted the class WSDDDocumentation.java which was never used.