Dear Florent, As far as I know, the root element for WSDL 2.0 is "description" and not "definitions". So your WSDL 2.0 file should be something like: <description xmlns="http://www.w3.org/ns/wsdl" targetNamespace="http://example.com"> </description>
Oxygen will offer content completion and validation for it (based on the WSDL 2.0 schema) but WSDL 2.0 analysis is not supported. Regards, Radu -- Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Florent Georges wrote: > Hi, > > If I create a WSDL file with the following root element: > > <definitions xmlns="http://www.w3.org/ns/wsdl"> > > I get a validation error: "E [Xerces] cvc-elt.1: Cannot find the > declaration of element 'definitions'." If I replace the namespace > binding with the following URI: > > <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"> > > then everything is ok. The former URI is for WSDL 2.0, the later one > is for WSDL 1.0. I think I've seen somewhere in the oXygen doc that > it supports both WSDL 1.0 and 2.0. Did I make anything wrong? > > With oXygen 11..0, build 2009100911. > > Regards, > > _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user