axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuriy Glushanin (Created) (JIRA)" <>
Subject [jira] [Created] (TRANSPORTS-46) JMSUtils.setSOAPEnvelope() returns empty SOAP Fault Details
Date Fri, 30 Sep 2011 12:49:47 GMT
JMSUtils.setSOAPEnvelope() returns empty SOAP Fault Details

                 Key: TRANSPORTS-46
             Project: Axis2 Transports
          Issue Type: Bug
         Environment: <dependency org="apache" name="axiom" rev="" /> 
<dependency org="apache" name="axis2" rev="1.5.1" /> 
<dependency org="apache" name="axis2-transport" rev="1.0.0" />
            Reporter: Yuriy Glushanin

Hi All! 

We use Axis2 to invoke external WebService using SOAP/JMS transport. 
When the service returns us success response, we have no problem at all. 
But we have problem with SOAP Fault response. 

I try to debug org.apache.axis2.transport.jms.JMSUtils class and probably SOAP Fault is not
correctly processed in the class. 

Public static void method setSOAPEnvelope(Message message, MessageContext msgContext, String
contentType) contains the following code (line 171 and 172): 
            String content = ((TextMessage)message).getText(); 
            documentElement = textMessageBuilder.processDocument(content, contentType, msgContext);


I can see variable "content" has value: 
<?xml version='1.0' encoding='utf-8'?> 

  <soapenv:faultstring>No data found</soapenv:faultstring> 
    <gen:errorMessage>No data found</gen:errorMessage> 

Unfortunately, next variable "documentElement" has no SOAP Fault Details values and Axis returns
us empty org.apache.axis2.AxisFault object. 

As a result we lose SOAP Fault details (errorCode and errorMessage). 

Could you help me to resolve the issue? 

Many thanks. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message