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]

01/20/2006 03:14 PM

Please respond to
woden-dev

To
[email protected]
cc
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]

Reply via email to