[ http://issues.apache.org/jira/browse/AXIS2-1027?page=all ]
Deepal Jayasinghe resolved AXIS2-1027. -------------------------------------- Resolution: Fixed fixed in current svn > 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 > Assigned To: Deepal Jayasinghe > Attachments: AXIS2-1027patch, 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]