cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-638) Need an api to use the wsdlValidator and SchemaValidator
Date Thu, 24 May 2007 02:36:16 GMT

    [ https://issues.apache.org/jira/browse/CXF-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498458
] 

maomaode commented on CXF-638:
------------------------------

So, sorry , you might have no wsdl definition, 

In that case, you should use:

                WSDL11Validator wsdlValidator = new WSDL11Validator(null, env);
                try {
                    wsdlValidator.isValid();
                catch (ToolException e) {
                    // failed, handle exception here
                }
and the env is ToolContext, you should put the wsdl url etc. in it

minimum, what you need is ToolConstants.CFG_WSDLURL
if it's logical wsdl you should also set ToolConstants.CFG_SUPPRESS_WARNINGS



> Need an api to use the wsdlValidator and SchemaValidator
> --------------------------------------------------------
>
>                 Key: CXF-638
>                 URL: https://issues.apache.org/jira/browse/CXF-638
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Edell Nolan
>         Assigned To: maomaode
>             Fix For: 2.0
>
>
> Hi,
> Yoko tools would like to be able to use the wsdl and schema validator in cxf instead
of having to write one.
> There are currently no API's for these so it would be great if we can get these implemented.
> thanks, Edell.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message