You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Robert Liguori <ro...@gmail.com> on 2010/10/19 21:39:27 UTC
CXF's WSDL Validator
Does CXF's WSDL Validator do #3 and #4?
1. Check the WSDL document for XML well formedness.
2. Validate the WSDL document against its XML schema.
3. Validate the WSDL document using semantic rules defined in the WSDL
specification.
4. Validate the WSDL document against custom validation rules, such as those
defined by the Web Services Interoperability (WS-I) organization.
Thanks!
Re: CXF's WSDL Validator
Posted by Daniel Kulp <dk...@apache.org>.
On Tuesday 19 October 2010 3:39:27 pm Robert Liguori wrote:
> Does CXF's WSDL Validator do #3 and #4?
>
> 1. Check the WSDL document for XML well formedness.
Yep. The XML parser itself should do this.
> 2. Validate the WSDL document against its XML schema.
Yep.
> 3. Validate the WSDL document using semantic rules defined in the WSDL
> specification.
> 4. Validate the WSDL document against custom validation rules, such as
> those defined by the Web Services Interoperability (WS-I) organization.
For both of these, the answer is "Some". There are some WSI-BP rules that it
does check for and various wsdl spec things it checks for. Most of the
checks have been added in response to various users issues over the years.
Things like strange exceptions or incorrect generated code or something that
were results of bad wsdl. We would add a check that throws a better error
message.
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog