You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Si Chen (JIRA)" <ji...@apache.org> on 2007/05/20 01:45:16 UTC

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

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.


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

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


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

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