You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2007/08/10 10:49:42 UTC

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

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