[ https://issues.apache.org/jira/browse/WODEN-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga resolved WODEN-208. -------------------------------------- Resolution: Fixed Fixed in r814194 > Provide simple error message if user tries to parse WSDL 1.1 > ------------------------------------------------------------ > > Key: WODEN-208 > URL: https://issues.apache.org/jira/browse/WODEN-208 > Project: Woden > Issue Type: Improvement > Components: Parser > Affects Versions: M8 > Reporter: Lawrence Mandel > Assignee: Sagara Gunathunga > Priority: Minor > Attachments: BaseWSDLReader.java.txt, Constants.java.txt, > Messages.properties.txt > > > Heinz Drews made a good suggestion on the Woden dev list [1] that I've > captured in this Jira. > We've already seen several users try to use Woden to parse WSDL 1.1 > documents. In this case users are presented with a cryptic error message (see > below) produced by the schema validator and a stack trace. > [Error] SGAdministration.wsdl:2:1087: cvc-elt.1: Cannot find the declaration > of element 'wsdl:definitions'. > Woden[Fatal Error],0:0,WSDL501,Expected a > "{http://www.w3.org/ns/wsdl}description" element, but found a > "{http://schemas.xmlsoap.org/wsdl/}definitions" element instead. > Woden should help out these users by producing a simple error message such as: > "It appears as though you are trying to parse a WSDL 1.1 document but Woden > is a WSDL 2.0 parser. You need a WSDL 1.1 parser to parse WSDL 1.1 documents." > [1] > http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200805.mbox/%3c4369f0ce0805191347s339cc6d7h524a882541357...@mail.gmail.com%3e -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: woden-dev-unsubscr...@ws.apache.org For additional commands, e-mail: woden-dev-h...@ws.apache.org