John,
That's the problem. I blindly copied the W3C test cases but not the xmlcatalog folder. I fixed up the schemalocations as you suggested and Woden behaved nicely.
I am therefore voting +1.
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: [EMAIL PROTECTED]
| John Kaputin <[EMAIL PROTECTED]>
01/20/2006 07:29 PM
|
|
Arthur,
[Error] Interface.wsdl:7:164: cvc-elt.1: Cannot find the declaration of
element 'wsdl:description'.
This is a Xerces schema validation error. I have seen it with WSDL
containing xsi:schemaLocation URIs like:
xsi:schemaLocation="http://www.w3.org/2005/08/wsdl
../../../xmlcatalog/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema
../../../xmlcatalog/xsd/XMLSchema.xsd"
because Woden doesn't yet have a catalog resolver.
If this matches your test WSDL, you can use this instead:
xsi:schemaLocation="http://www.w3.org/2005/08/wsdl
http://www.w3.org/2005/08/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema
http://www.w3.org/2001/XMLSchema.xsd"
regards,
John Kaputin
Lawrence Mandel
<[EMAIL PROTECTED]
om> To
[email protected]
20/01/2006 22:11 cc
Subject
Please respond to Re: M3
woden-dev
Hi Arthur,
Looks like you're running an Ant task to test Woden. Did you author an Ant
task for Woden? Can you contribute your test cases so we can see if we can
reproduce these problems?
The Woden test suite does include the W3C WSDL test cases and I did not see
these error messages when running the test suite.
Thanks,
Lawrence Mandel
Software Developer
IBM Rational Software
Phone: 905 - 413 - 3814 Fax: 905 - 413 - 4920
[EMAIL PROTECTED]
Arthur Ryman/Toronto/[EMAIL PROTECTED]
To
01/20/2006 03:14 PM [EMAIL PROTECTED]
g
cc
Please respond to
woden-dev Subject
M3
I did a little testing of M3 and it looks OK. However, I noticed some XML
schema error messages. These don't stop the validation but I wonder if this
is a current limitation or I'm doing something wrong. Notice the [error]
messages:
Buildfile: D:\workspaces\woden-m3\m3test\build.xml
compile:
jar:
[jar] Building jar:
D:\workspaces\woden-m3\m3test\lib\validatewsdl20.jar
main:
[validatewsdl20] File dir = D:\workspaces\woden-m3\m3test
[validatewsdl20] File baseDir = D:\workspaces\woden-m3\m3test
[validatewsdl20] file count: 4
[validatewsdl20] Reading file: Interface.wsdl
[validatewsdl20] Path:D:\workspaces\woden-m3\m3test\Interface.wsdl
[validatewsdl20] Reading
file:///D:/workspaces/woden-m3/m3test/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:7:164: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] There are 0 ElementDeclaration 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] Reading file: XSDImport.wsdl
[validatewsdl20] Path:D:\workspaces\woden-m3\m3test\XSDImport.wsdl
[validatewsdl20] Reading
file:///D:/workspaces/woden-m3/m3test/XSDImport.wsdl
[validatewsdl20] [Error] XSDImport.wsdl:8:164: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] name.xsd:4:94: 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 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] Reading file: XSDImport2.wsdl
[validatewsdl20] Path:D:\workspaces\woden-m3\m3test\XSDImport2.wsdl
[validatewsdl20] Reading
file:///D:/workspaces/woden-m3/m3test/XSDImport2.wsdl
[validatewsdl20] [Error] XSDImport2.wsdl:8:164: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] XSDImport.wsdl:8:164: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] name.xsd:4:94: 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 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] Reading file: test.wsdl
[validatewsdl20] Path:D:\workspaces\woden-m3\m3test\test.wsdl
[validatewsdl20] Reading file:///D:/workspaces/woden-m3/m3test/test.wsdl
[validatewsdl20] [Error] test.wsdl:16:40: cvc-complex-type.2.4.c: The
matching wildcard is strict, but no declaration can be found for element
'schema'.
[validatewsdl20] [Error] test.wsdl:39:67: cvc-complex-type.4: Attribute
'type' must appear on element 'wsdl:binding'.
[validatewsdl20] Woden[Error],0:0,Binding-0055,The binding 'NamesBinding'
does not define bindings for the interface operation
'{http://example.org/name}getNameFromSIN'. When a binding specifies an
interface it must specify bindings for all of the interfaces operations.
[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 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: 1 second
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: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
