Ajith, Instead of packaging the W3C WSDL 2.0 test suite with the Woden distribution, we include an ANT target to download the entire test suite in a zip file and extract it. The getW3cWsdl20 target in Woden's build.xml will do this. Or you can download it manually from the URL for this zip file, as specified in build.properties:
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/zips/test-suite.zip The Woden test suite reads many of the WSDL test cases from the W3C test suite. Woden uses the original W3C web URLs for these WSDL test cases. Woden's URI resolver can be used to replace these web URLs with the local file paths for the extracted W3C test suite zip. I'll summarize how to do this below, but there's more resolver information in the Woden User Guide at: http://incubator.apache.org/woden/userguide.html#Woden+URI+Resolver To use the local W3C test suite files, the URI resolver needs the following two Java system properties configured: 1) org.apache.woden.resolver.simpleresolver.catalog should specify the location of the W3Ctest.catalog file. This is supplied with Woden and maps the web URL for each W3C test case to a relative path. 2) org.apache.woden.resolver.simpleresolver.baseURIs should specify the directory the W3C test suite has been unzipped to. This provides a base URI for the relative paths in W3Ctest.catalog. I think you can specify these system properties to Maven using the -D option on the Maven command line. As an example, this is how I specify these system properties on my Java command line in my local environment: -Dorg.apache.woden.resolver.simpleresolver.catalog="file:///C:/workspace/woden/WodenM7a/test/org/apache/woden/resolver/resources/W3Ctests.catalog" -Dorg.apache.woden.resolver.simpleresolver.baseURIs="file:///C:/workspace/woden/WodenM7a/downloads/w3c/" Replace "file:///C:/workspace/woden/WodenM7a" with your Woden project path. Note, "/downloads/w3c/" is where the W3C test suite is unzipped to. Finally, JIRA WODEN-138 has been raised to provide an alternative to JVM system properties for configuring the URI resolver. This JIRA is targetted for Milestone 8. regards, John Kaputin "Ajith Ranabahu" <[EMAIL PROTECTED]> wrote on 23/04/2007 20:54:35: > Hi all, > When I try to build Woden from source (trunk and M7 branch) I get test > failures due to HTTP 503 error from W3C dev web site (it seems that > the site becomes blocked if many requests are made in quick succession > - in this case exactly what maven is doing!! ) > Since this is even true for the source distribution I suppose it would > be great if we can have the W3C test suite WSDL's distributed as part > of the source release. Then you get all the resources you need to > build woden with the source distribution. > -- > Ajith Ranabahu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
