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 di...@apache.org on 2005/11/09 21:41:50 UTC
svn commit: r332138 -
/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MEPClient.java
Author: dims
Date: Wed Nov 9 12:41:49 2005
New Revision: 332138
URL: http://svn.apache.org/viewcvs?rev=332138&view=rev
Log:
hammer does not work...just copy the stuff i need for now. Need to fix this later.
Modified:
webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MEPClient.java
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MEPClient.java?rev=332138&r1=332137&r2=332138&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MEPClient.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/MEPClient.java Wed Nov 9 12:41:49 2005
@@ -92,11 +92,10 @@
if (serviceContext.getAxisService().getOperation(axisop.getName()) == null) {
serviceContext.getAxisService().addOperation(axisop);
}
- if (msgCtx.getMessageInformationHeaders() != null) {
- messageInformationHeaders = msgCtx.getMessageInformationHeaders();
- } else {
- msgCtx.setMessageInformationHeaders(messageInformationHeaders);
+ if(msgCtx.getMessageInformationHeaders() != null && msgCtx.getMessageInformationHeaders().getAction() != null) {
+ messageInformationHeaders.setAction(msgCtx.getMessageInformationHeaders().getAction());
}
+ msgCtx.setMessageInformationHeaders(messageInformationHeaders);
msgCtx.setSoapAction(soapAction);
// check user has put any SOAPHeader using the call MEPClient methods and add them, if any, to the