You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by Arthur Ryman <ry...@ca.ibm.com> on 2006/02/02 20:55:50 UTC

validatewsdl20 Ant Task

I committed the first version. I noticed that the verbose and continue on 
erro features are not yet implemented.

I put a test script in the directory ant-test.

It runs ok but I get cvc-elt.1 error messages, from xerces I presume. Any 
thoughts on the case?

Buildfile: D:\workspaces\woden-2006-01-31\java\ant-test\build.xml
main:
[validatewsdl20] warning: The feature name 
"http://ws.apache.org/woden/features/verbose" is not recognized.
[validatewsdl20] File dir = D:\workspaces\woden-2006-01-31\java\ant-test
[validatewsdl20] File baseDir = 
D:\workspaces\woden-2006-01-31\java\ant-test
[validatewsdl20] validating 
file:///D:/workspaces/woden-2006-01-31/java/ant-test/Interface.wsdl
[validatewsdl20] There are 0 ElementDeclaration components.
[validatewsdl20] There are 0 TypeDefinition components.
[validatewsdl20] There are 1 Interface components.
[validatewsdl20] Interface[0] : name = {http://example.org/}myInterface
[validatewsdl20] There are 0 Binding components.
[validatewsdl20] There are 0 Service components.
[validatewsdl20] validating 
file:///D:/workspaces/woden-2006-01-31/java/ant-test/XSDImport.wsdl
[validatewsdl20] [Error] XSDImport.wsdl:9:40: cvc-elt.1: Cannot find the 
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] name.xsd:2:128: cvc-elt.1: Cannot find the 
declaration of element 'schema'.
[validatewsdl20] There are 2 ElementDeclaration components.
[validatewsdl20] ElementDeclaration[0] : name = 
{http://example.org/name}SIN
[validatewsdl20] ElementDeclaration[1] : name = 
{http://example.org/name}Name
[validatewsdl20] There are 0 TypeDefinition components.
[validatewsdl20] There are 1 Interface components.
[validatewsdl20] Interface[0] : name = {http://example.org/XSDImport}Names
[validatewsdl20] There are 0 Binding components.
[validatewsdl20] There are 0 Service components.
[validatewsdl20] validating 
file:///D:/workspaces/woden-2006-01-31/java/ant-test/XSDImport2.wsdl
[validatewsdl20] [Error] XSDImport2.wsdl:9:40: cvc-elt.1: Cannot find the 
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] XSDImport.wsdl:9:40: cvc-elt.1: Cannot find the 
declaration of element 'wsdl:description'.
[validatewsdl20] There are 2 ElementDeclaration components.
[validatewsdl20] ElementDeclaration[0] : name = 
{http://example.org/name}SIN
[validatewsdl20] ElementDeclaration[1] : name = 
{http://example.org/name}Name
[validatewsdl20] There are 0 TypeDefinition components.
[validatewsdl20] There are 1 Interface components.
[validatewsdl20] Interface[0] : name = {http://example.org/XSDImport}Names
[validatewsdl20] There are 0 Binding components.
[validatewsdl20] There are 0 Service components.
[validatewsdl20] validating 
file:///D:/workspaces/woden-2006-01-31/java/ant-test/test.wsdl
[validatewsdl20] [Error] test.wsdl:8:166: cvc-elt.1: Cannot find the 
declaration of element 'wsdl:description'.
[validatewsdl20] There are 2 ElementDeclaration components.
[validatewsdl20] ElementDeclaration[0] : name = 
{http://example.org/name}SIN
[validatewsdl20] ElementDeclaration[1] : name = 
{http://example.org/name}Name
[validatewsdl20] There are 0 TypeDefinition components.
[validatewsdl20] There are 1 Interface components.
[validatewsdl20] Interface[0] : name = 
{http://example.org/name}NameInterface
[validatewsdl20] There are 1 Binding components.
[validatewsdl20] Binding[0] : name = {http://example.org/name}NamesBinding
[validatewsdl20] There are 1 Service components.
[validatewsdl20] Service[0] : name = {http://example.org/name}NamesService
BUILD SUCCESSFUL
Total time: 18 seconds

Arthur Ryman,
IBM Software Group, Rational Division

blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@fido.ca