You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2010/05/25 15:11:27 UTC
[jira] Updated: (WODEN-208) Provide simple error message if user
tries to parse WSDL 1.1
[ https://issues.apache.org/jira/browse/WODEN-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga updated WODEN-208:
-------------------------------------
Fix Version/s: M9
> 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
> Fix For: M9
>
> 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/%3c4369f0ce0805191347s339cc6d7h524a882541357a40@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-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org