axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r509487 - /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/EchoSwA.java
Date Tue, 20 Feb 2007 10:02:03 GMT
Author: thilina
Date: Tue Feb 20 02:02:02 2007
New Revision: 509487

URL: http://svn.apache.org/viewvc?view=rev&rev=509487
Log:
removing the soap part attachment before echoing back the attachments

Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/EchoSwA.java

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/EchoSwA.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/EchoSwA.java?view=diff&rev=509487&r1=509486&r2=509487
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/EchoSwA.java
(original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/EchoSwA.java
Tue Feb 20 02:02:02 2007
@@ -61,6 +61,7 @@
         OMElement child = (OMElement) omEle.getFirstOMChild();
         MessageContext msgCtx = MessageContext.getCurrentMessageContext();
         Attachments attachment = (msgCtx).getAttachmentMap();
+        msgCtx.removeAttachment(attachment.getSOAPPartContentID());
         msgCtx.getOperationContext().getMessageContext(
                 WSDLConstants.MESSAGE_LABEL_OUT_VALUE).setAttachmentMap(attachment);
 



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


Mime
View raw message