axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Fakhar (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1027) RawXMLINOutMessageReceiver doesn't allow empty soap bodies on outgoing messages
Date Mon, 14 Aug 2006 22:33:13 GMT
RawXMLINOutMessageReceiver doesn't allow empty soap bodies on outgoing messages
-------------------------------------------------------------------------------

                 Key: AXIS2-1027
                 URL: http://issues.apache.org/jira/browse/AXIS2-1027
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: core
    Affects Versions: 0.95
         Environment: any
            Reporter: Mohammad Fakhar
         Attachments: RawXMLINOutMessageReceiver.java

RawXMLINOutMessageReceiver doesn't allow empty soap bodies on outgoing messages. Therefore
specs like WS-Transfer can't be implemented
without overriding this default receiver. For example, the WS-Transfer Put operation can return
an empty SOAP body in response.

I changed the following line by adding an if statement that checks for null before declaring
target namespace on the result:

            // body can be empty
            if(result != null)
	            result.declareNamespace(service.getTargetNamespace(),
	                    service.getTargetNamespacePrefix());

Attached is the modified source


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message