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
            Priority: Minor


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/[EMAIL 
PROTECTED]

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to