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 "Lawrence Mandel (JIRA)" <ji...@apache.org> on 2008/05/20 19:53:55 UTC

[jira] Created: (WODEN-208) Provide simple error message if user tries to parse WSDL 1.1

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/%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


[jira] Assigned: (WODEN-208) Provide simple error message if user tries to parse WSDL 1.1

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lawrence Mandel reassigned WODEN-208:
-------------------------------------

    Assignee: Sagara Gunathunga 

> 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
>
> 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


[jira] Resolved: (WODEN-208) Provide simple error message if user tries to parse WSDL 1.1

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ 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/%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


[jira] Updated: (WODEN-208) Provide simple error message if user tries to parse WSDL 1.1

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  updated WODEN-208:
-------------------------------------

    Attachment: Messages.properties.txt
                Constants.java.txt
                BaseWSDLReader.java.txt

Woden's WSDLReader treats both WSDL1.1 documents and any other XML documents as invalid documents. It is required to add extra check to identify WSDL1.1 documents separately.

> 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/%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


[jira] Updated: (WODEN-208) Provide simple error message if user tries to parse WSDL 1.1

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ 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