You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by th...@apache.org on 2006/10/30 16:37:32 UTC
svn commit: r469165 -
/webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java
Author: thilina
Date: Mon Oct 30 07:37:31 2006
New Revision: 469165
URL: http://svn.apache.org/viewvc?view=rev&rev=469165
Log:
adding the soap action
Modified:
webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java
Modified: webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java?view=diff&rev=469165&r1=469164&r2=469165
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/soapwithattachments/src/sample/soapwithattachments/client/SWAClient.java Mon Oct 30 07:37:31 2006
@@ -92,6 +92,7 @@
// options.setAction(Constants.AXIS2_NAMESPACE_URI + "/"
// + operationName.getLocalPart());
options.setTo(targetEPR);
+ options.setAction("urn:uploadFile");
ConfigurationContext configContext = ConfigurationContextFactory
.createConfigurationContextFromFileSystem(
@@ -120,6 +121,7 @@
idEle.setText(attachmentID);
env.getBody().addChild(nameEle);
+ env.getBody().addChild(idEle);
mc.setEnvelope(env);
mepClient.addMessageContext(mc);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org