[jira] Created: (OFBIZ-1000) SOAPEventHandler does not return error messages

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1000) SOAPEventHandler does not return error messages

Nicolas Malin (Jira)
SOAPEventHandler does not return error messages
-----------------------------------------------

                 Key: OFBIZ-1000
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1000
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
    Affects Versions: SVN trunk, Release Branch 4.0
            Reporter: Si Chen


The SOAPEventHandler seems to work correctly if the service is successful, but if there is a service error, no useful message is returned to the client.  Instead, you will get something like

org.xml.sax.SAXParseException: Content is not allowed in prolog.

if there is a service validation exception (ie, missing IN or OUT parameter) or

 org.xml.sax.SAXException: Bad types (class [Ljava.lang.Object; -> class java.lang.String)

if the service returned an error (ServiceUtil.returnError())

And you will have to go back to the ofbiz log file to see what the problem is.  There is no way for the client app to display a useful error message in that case.



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1000) SOAPEventHandler does not return error messages

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497188 ]

David E. Jones commented on OFBIZ-1000:
---------------------------------------

woo hoo! We hit issue 1000 at the ASF...

> SOAPEventHandler does not return error messages
> -----------------------------------------------
>
>                 Key: OFBIZ-1000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1000
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Si Chen
>
> The SOAPEventHandler seems to work correctly if the service is successful, but if there is a service error, no useful message is returned to the client.  Instead, you will get something like
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
> if there is a service validation exception (ie, missing IN or OUT parameter) or
>  org.xml.sax.SAXException: Bad types (class [Ljava.lang.Object; -> class java.lang.String)
> if the service returned an error (ServiceUtil.returnError())
> And you will have to go back to the ofbiz log file to see what the problem is.  There is no way for the client app to display a useful error message in that case.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1000) SOAPEventHandler does not return error messages

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-1000.
------------------------------------

    Resolution: Duplicate

OFBIZ-745

> SOAPEventHandler does not return error messages
> -----------------------------------------------
>
>                 Key: OFBIZ-1000
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1000
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Si Chen
>
> The SOAPEventHandler seems to work correctly if the service is successful, but if there is a service error, no useful message is returned to the client.  Instead, you will get something like
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
> if there is a service validation exception (ie, missing IN or OUT parameter) or
>  org.xml.sax.SAXException: Bad types (class [Ljava.lang.Object; -> class java.lang.String)
> if the service returned an error (ServiceUtil.returnError())
> And you will have to go back to the ofbiz log file to see what the problem is.  There is no way for the client app to display a useful error message in that case.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.