I'm using CXF and wsdl2java to generate my java docs.
The WSDL importes a XSD:

<xs:include schemaLocation="ExemptionCertificateService.xsd"/>

When the wsdl is served up, I see the WSDL has an import location which
points to the CXF generated WSDL. 

http://localhost:8080/service/operation?wsdl=CreateUpdateExemptionCertificatePortType.wsdl
I was happy to see my schema inlined in the generated WSDL. But I could not
see the schema annotations in this inlined XSD.

My XSD has:
<xs:complexType name="ExemptionCertificate">
xs:annotation>
<xs:documentation>
<![CDATA[
                An Exemption Certificate is a document that is issued by a
taxing authority that provides ..a                 ]]>
</xs:documentation>
</xs:annotation>
...</complexType>

Is it possible to see the documentation in the generated WSDL?
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/How-to-include-Schema-Annotation-Documentation-in-the-WSDL-tp3348398p3348398.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to