ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ODE-461) Axis generates incorrect SOAP faults with some ODE exceptions
Date Tue, 27 Aug 2013 02:24:52 GMT

    [ https://issues.apache.org/jira/browse/ODE-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750901#comment-13750901
] 

Hudson commented on ODE-461:
----------------------------

SUCCESS: Integrated in ODE-trunk-jdk6 #733 (See [https://builds.apache.org/job/ODE-trunk-jdk6/733/])
fixing ODE-461, thanks to Alexey Ousov for the patch. (vanto: rev d3e0e7adc6ce0c2d6634fa54434de885cd4b7006)
* axis2/src/main/java/org/apache/ode/axis2/OdeFault.java

                
> Axis generates incorrect SOAP faults with some ODE exceptions
> -------------------------------------------------------------
>
>                 Key: ODE-461
>                 URL: https://issues.apache.org/jira/browse/ODE-461
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.2
>            Reporter: Alexey Ousov
>            Assignee: Tammo van Lessen
>              Labels: patch
>             Fix For: 1.3.6, 1.4
>
>         Attachments: ODE-461.patch
>
>
> I don't know for whom to blame with this bug, but since it can be easilly fixed on ODE
side, I report it here. In some cases, when internal error occur within ODE, it returns incorrect
SOAP fault as following:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Body>
>     <soapenv:Fault xmlns:soapenv="http://incubator.apache.org/ode">
>       <faultcode>soapenv:Fault</faultcode>
>       <faultstring>Timeout or execution error when waiting for response to MEX
{MyRoleMex#4611686018427387903 [Client hqejbhcnphr3tgmhuqms9i] calling {http://www.comped.it/STD_QDS_RSR68}STD_QDS_RSR68.STD_QDS_RSR68(...)}
java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@71edc0
timed out when waiting for a response!</faultstring>
>       <detail/>
>     </soapenv:Fault>
>   </soapenv:Body>
> </soapenv:Envelope>
> You can notice, that this element <soapenv:Fault xmlns:soapenv="http://incubator.apache.org/ode">
and all its children have incorrect namespace, so automatic processing routines don't recognise
fault here. This happens due to some code deeply in Axis2. This can be fixed with following
patch, so fault envelope will look like this:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Body>
>     <soapenv:Fault xmlns:ode="http://incubator.apache.org/ode">
>       <faultcode>ode:Fault</faultcode>
>       <faultstring>Timeout or execution error when waiting for response to MEX
{MyRoleMex#4611686018427387903 [Client hqejbhcnphr3tl71dm4x8g] calling {http://www.comped.it/STD_QDS_RSR}STD_QDS_RSR.STD_QDS_RSR(...)}
java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@1a63a1c
timed out when waiting for a response!</faultstring>
>       <detail/>
>     </soapenv:Fault>
>   </soapenv:Body>
> </soapenv:Envelope>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message