Woden Fails In Disconnected Mode - Unable to Retrieve W3C Schemas
-----------------------------------------------------------------
Key: WODEN-83
URL: http://issues.apache.org/jira/browse/WODEN-83
Project: Woden
Issue Type: Bug
Components: Parser
Reporter: Arthur Ryman
Assigned To: John Kaputin
When I run Woden without network access, it fails because it is still trying to
retrieve the W3C schema.
Woden must work in disconnected mode. We need to package the required W3C
schemas in woden.jar and configure the URI resolver to access these
out-of-the-box, i.e. requiring no use config. User should be able to override
the config if desired, e.g. to add their own schemas.
I am assigning this to John since I discussed it with him yesterday. Attached
is the console output showing the failure to retrieve the schemas.
Buildfile: D:\workspaces\WSD2\woden\ant-test\build.xml
documents-good:
[validatewsdl20] warning: The feature name
"http://ws.apache.org/woden/features/verbose" is not recognized.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Chameleon-1G/getBalance.wsdl
[validatewsdl20] [Error] getBalance.wsdl:5:51: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Chameleon-2G/getBalance.wsdl
[validatewsdl20] [Error] getBalance.wsdl:5:51: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Chameleon-3G/getBalance.wsdl
[validatewsdl20] [Error] getBalance.wsdl:5:51: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Chameleon-4G/getBalance.wsdl
[validatewsdl20] [Error] getBalance.wsdl:7:57: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Compound1-1G/compound1.wsdl
[validatewsdl20] [Error] compound1.wsdl:7:53: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/CreditCardFaults-1G/credit-card-faults.wsdl
[validatewsdl20] [Error] credit-card-faults.wsdl:5:61: cvc-elt.1: Cannot find
the declaration of element 'description'.
[validatewsdl20] [Error] credit-card-faults.xsd:4:62: cvc-elt.1: Cannot find
the declaration of element 'schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/CreditCardFaults-1G/use-credit-card-faults.wsdl
[validatewsdl20] [Error] use-credit-card-faults.wsdl:8:46: cvc-elt.1: Cannot
find the declaration of element 'description'.
[validatewsdl20] [Error] credit-card-faults.wsdl:5:61: cvc-elt.1: Cannot find
the declaration of element 'description'.
[validatewsdl20] [Error] resSvc.xsd:5:61: cvc-elt.1: Cannot find the
declaration of element 'xs:schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Echo-1G/echo.wsdl
[validatewsdl20] [Error] echo.wsdl:6:68: cvc-elt.1: Cannot find the declaration
of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/EchoComplexDocLit-1G/Axis2SampleDocLit.wsdl
[validatewsdl20] [Error] Axis2SampleDocLit.wsdl:9:65: cvc-elt.1: Cannot find
the declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/GreatH-1G/primer-hotelReservationService.wsdl
[validatewsdl20] [Error] primer-hotelReservationService.wsdl:7:55: cvc-elt.1:
Cannot find the declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/GreatH-2G/primer-hotelReservationService.wsdl
[validatewsdl20] [Error] primer-hotelReservationService.wsdl:8:55: cvc-elt.1:
Cannot find the declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/GreatH-3G/primer-hotelReservationService.wsdl
[validatewsdl20] [Error] primer-hotelReservationService.wsdl:8:55: cvc-elt.1:
Cannot find the declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/HTTPBinding-1G/Echo.wsdl
[validatewsdl20] [Error] Echo.wsdl:7:46: cvc-elt.1: Cannot find the declaration
of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/HTTPBinding-2G/Echo.wsdl
[validatewsdl20] [Error] Echo.wsdl:7:46: cvc-elt.1: Cannot find the declaration
of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/IRI-1G/iristyleinout.wsdl
[validatewsdl20] [Error] iristyleinout.wsdl:5:34: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/IRI-2G/iristyleinonly.wsdl
[validatewsdl20] [Error] iristyleinonly.wsdl:5:34: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/IRI-3G/iristyleinout.wsdl
[validatewsdl20] [Error] iristyleinout.wsdl:5:34: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Import-1G/XSDImport.wsdl
[validatewsdl20] [Error] XSDImport.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] name.xsd:4:38: cvc-elt.1: Cannot find the declaration
of element 'schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Import-2G/XSDImport.wsdl
[validatewsdl20] [Error] XSDImport.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] name.xsd:4:38: cvc-elt.1: Cannot find the declaration
of element 'schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Import-2G/XSDImport2.wsdl
[validatewsdl20] [Error] XSDImport2.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] XSDImport.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/ImportedWSDL-1G/retrieveDetails.wsdl
[validatewsdl20] [Error] retrieveDetails.wsdl:6:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/ImportedWSDL-1G/updateDetails.wsdl
[validatewsdl20] [Error] updateDetails.wsdl:7:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] [Error] retrieveDetails.wsdl:6:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/InOnlyMEP-1G/Oneway.wsdl
[validatewsdl20] [Error] Oneway.wsdl:6:68: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Include-1G/Echo.wsdl
[validatewsdl20] [Error] Echo.wsdl:5:46: cvc-elt.1: Cannot find the declaration
of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Include-1G/EchoImpl.wsdl
[validatewsdl20] [Error] EchoImpl.wsdl:5:52: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] Echo.wsdl:5:46: cvc-elt.1: Cannot find the declaration
of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Interface-1G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:4:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Interface-2G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:4:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Interface-3G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:4:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Interface-4G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:5:49: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Interface-5G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:4:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Interface-6G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:5:39: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Interface-7G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:5:39: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/MessageTest-1G/SOAPservice.wsdl
[validatewsdl20] [Error] SOAPservice.wsdl:5:49: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] [Error] servicetypes.xsd:3:56: cvc-elt.1: Cannot find the
declaration of element 'xs:schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/MessageTest-2G/HTTPservice.wsdl
[validatewsdl20] [Error] HTTPservice.wsdl:4:110: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] [Error] servicetypes.xsd:3:56: cvc-elt.1: Cannot find the
declaration of element 'xs:schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/MessageTest-3G/HTTPservice.wsdl
[validatewsdl20] [Error] HTTPservice.wsdl:5:49: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] [Error] servicetypes.xsd:3:56: cvc-elt.1: Cannot find the
declaration of element 'xs:schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Multipart-1G/multipartstyleinout.wsdl
[validatewsdl20] [Error] multipartstyleinout.wsdl:5:34: cvc-elt.1: Cannot find
the declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Multipart-2G/multipartstyleinonly.wsdl
[validatewsdl20] [Error] multipartstyleinonly.wsdl:5:34: cvc-elt.1: Cannot find
the declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Multipart-3G/multipartstyleinout.wsdl
[validatewsdl20] [Error] multipartstyleinout.wsdl:5:34: cvc-elt.1: Cannot find
the declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/MultipleInlineSchemas-1G/retrieveItems.wsdl
[validatewsdl20] [Error] retrieveItems.wsdl:6:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/RPC-1G/rpcstyleinout.wsdl
[validatewsdl20] [Error] rpcstyleinout.wsdl:5:34: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/RPC-2G/rpcstyleinonly.wsdl
[validatewsdl20] [Error] rpcstyleinonly.wsdl:5:34: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/RPC-3G/rpcstyleinout.wsdl
[validatewsdl20] [Error] rpcstyleinout.wsdl:6:50: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/RPC-4G/rpcstyleinout.wsdl
[validatewsdl20] [Error] rpcstyleinout.wsdl:6:50: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/RPC-5G/rpcstyleinout.wsdl
[validatewsdl20] [Error] rpcstyleinout.wsdl:6:50: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/RPC-6G/rpcstyleinout.wsdl
[validatewsdl20] [Error] rpcstyleinout.wsdl:6:50: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Schema-1G/string.wsdl
[validatewsdl20] [Error] string.wsdl:3:53: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/SchemaId-1G/schemaIds.wsdl
[validatewsdl20] [Error] schemaIds.wsdl:6:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/SchemaLocationFragment-1G/Items.wsdl
[validatewsdl20] [Error] Items.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Service-1G/Service.wsdl
[validatewsdl20] [Error] Service.wsdl:6:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Service-2G/Service.wsdl
[validatewsdl20] [Error] Service.wsdl:6:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Service-3G/Service.wsdl
[validatewsdl20] [Error] Service.wsdl:6:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/ServiceReference-1G/reservationDetails.wsdl
[validatewsdl20] [Error] reservationDetails.wsdl:7:46: cvc-elt.1: Cannot find
the declaration of element 'description'.
[validatewsdl20] [Error] reservationDetails.xsd:9:106: cvc-elt.1: Cannot find
the declaration of element 'schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/ServiceReference-1G/reservationList.wsdl
[validatewsdl20] [Error] reservationList.wsdl:8:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] [Error] reservationList.xsd:7:56: cvc-elt.1: Cannot find the
declaration of element 'schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/SparqlQuery-1G/sparql-protocol-query.wsdl
[validatewsdl20] [Error] sparql-protocol-query.wsdl:13:70: cvc-elt.1: Cannot
find the declaration of element 'description'.
[validatewsdl20] [Error] result2.xsd:15:56: cvc-elt.1: Cannot find the
declaration of element 'xs:schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Storage-1G/storage.wsdl
[validatewsdl20] [Error] storage.wsdl:5:54: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Storage-2G/storage.wsdl
[validatewsdl20] [Error] storage.wsdl:5:54: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Storage-3G/storage.wsdl
[validatewsdl20] [Error] storage.wsdl:5:54: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Storage-4G/storage.wsdl
[validatewsdl20] [Error] storage.wsdl:5:54: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/Storage-5G/storage.wsdl
[validatewsdl20] [Error] storage.wsdl:5:54: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/TicketAgent-1G/TicketAgent.wsdl
[validatewsdl20] [Error] TicketAgent.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] [Error] TicketAgent.xsd:3:55: cvc-elt.1: Cannot find the
declaration of element 'schema'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/UnknownExtension-1G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:4:60: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/UnknownExtension-2G/Interface.wsdl
[validatewsdl20] [Error] Interface.wsdl:4:60: cvc-elt.1: Cannot find the
declaration of element 'wsdl:description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/WeathSvc-1G/WeathSvc.wsdl
[validatewsdl20] [Error] WeathSvc.wsdl:8:57: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/XsImport-1G/reservation.wsdl
[validatewsdl20] [Error] reservation.wsdl:7:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/XsImport-2G/reservationDetails.wsdl
[validatewsdl20] [Error] reservationDetails.wsdl:7:46: cvc-elt.1: Cannot find
the declaration of element 'description'.
[validatewsdl20] [Error] reservationItems.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/XsImport-2G/reservationItems.wsdl
[validatewsdl20] [Error] reservationItems.wsdl:5:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/XsImport-3G/reservationDetails.wsdl
[validatewsdl20] [Error] reservationDetails.wsdl:7:46: cvc-elt.1: Cannot find
the declaration of element 'description'.
[validatewsdl20] [Error] reservationItems.wsdl:4:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[validatewsdl20] validating
file:///D:/workspaces/WSD2/woden/downloads/w3c/documents/good/XsImport-3G/reservationItems.wsdl
[validatewsdl20] [Error] reservationItems.wsdl:4:46: cvc-elt.1: Cannot find the
declaration of element 'description'.
[zip] Building zip:
D:\workspaces\WSD2\woden\ant-test\test-suite-results.zip
BUILD SUCCESSFUL
Total time: 1 minute 45 seconds
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]