XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Florent GeorgesSubject: WSDL validator?
Author: Florent Georges
Date: 27 Feb 2008 04:27 PM
Hi

The page on the Stylus Studio website about the WSDL editor says: "Stylus Studio's WSDL editor supports working with WSDL files, making editing WSDL files and validating them a breeze!"

But I can't find how to validate a WSDL file. Any idea?

Regards,

--drkm

Postnext
Ivan PedruzziSubject: WSDL validator?
Author: Ivan Pedruzzi
Date: 27 Feb 2008 06:19 PM
Originally Posted: 27 Feb 2008 06:18 PM
Hi Florent,

You can use XSV to perform WSDL validation see attached screenshot


Ivan Pedruzzi
Stylus Studio Team

Postnext
Florent GeorgesSubject: WSDL validator?
Author: Florent Georges
Date: 27 Feb 2008 08:02 PM
Thanks Ivan for the quick response. But this is a simple schema validation, right? I am rather looking for a validator dedicated to WSDL.

See for instance the enclosed screenshot: the 'element' attribute must reference a global element declared in a schema referenced by the WSDL definition, but it does not. This is an example of a rule that is toward a simple schema validation and that I would like to enforce, among other.

Is there such a tool in Stylus Studio?

Regards,

--drkm

Postnext
Florent GeorgesSubject: WSDL validator?
Author: Florent Georges
Date: 27 Feb 2008 08:07 PM
Sorry, I forgot: I mean, without using a tool like wsdl2java (that's a bit of a hammer to kill a fly.)

Postnext
Florent GeorgesSubject: WSDL validator?
Author: Florent Georges
Date: 27 Feb 2008 08:58 PM
Actually, the WS-I test tools for checking conformance to the basic profile do the job. But they are annoying to use both from the command line and from soapUI. Having them integrated directly into the Stylus WSDL editor would be really great...

A new feature, maybe ?-)

Regards,

--
Florent Georges

Postnext
Alberto MassariSubject: WSDL validator?
Author: Alberto Massari
Date: 28 Feb 2008 09:13 AM
Hi,
you can define a new "Custom Validator" in the Tools | Options dialog, and insert the command line tool for the WS-I validator (be sure to check the 'supports XMLSchema validation' check box). This way you will be able to invoke this validator from the drop-down list under the "Validate" button.

Hope this helps,
Alberto

Postnext
Florent GeorgesSubject: WSDL validator?
Author: Florent Georges
Date: 28 Feb 2008 10:03 AM
Thanks Alberto.

Unfortunately calling the WS-I validator requires to create a config file with among other things the name of the port type or the binding to check within the WSDL file. And the result should require some work to be useful (for instance to allow highlighting errors in the editor, or allow clicking the error message.)

But that should be possible with a quite simple wrapper application.

I haven't found any documentation on the interface to define a custom validator (the variables that are available in the 'Arguments' field in the above dialog box, how to report result back to Stylus, if there is any document type to report meaningful info...) Is there something available on that matter?

Regards,

--drkm

Posttop
Alberto MassariSubject: WSDL validator?
Author: Alberto Massari
Date: 29 Feb 2008 02:44 AM
Hi,
the list of arguments that can be used in the command line is:

${FilePath} = the path of the file being validated
${FileDir} = the folder of the file being validated
${FileName} = the name of the file being validated
${FileExt} = the extension of the file being validated
${StylusDir}= the folder where Stylus Studio is located
${SchemaURLFile} = the full path of a file containing the paths of the XMLSchema documents to be used during validation (even if the XML file doesn't specify them)

Stylus expects errors or warnings to be reported in the format <file>:<line>:<space><message>

Hope this helps,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.