Author: keith
Date: Tue Apr 29 02:20:34 2008
New Revision: 16321
Log:
Engaging addressing when rampart is engaged
Modified:
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
Modified:
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
==============================================================================
---
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
(original)
+++
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
Tue Apr 29 02:20:34 2008
@@ -717,6 +717,7 @@
}
if (needRampart) {
wsRequest.sender.engageModule(MashupConstants.RAMPART);
+
wsRequest.sender.engageModule(MashupConstants.ADDRESSING);
}
wsRequest.responseXML =
wsRequest.sender.sendReceive(operationName, payloadElement);
} else {
@@ -884,6 +885,7 @@
options.setUserName(username);
options.setPassword(passwd);
wsRequest.sender.engageModule(MashupConstants.RAMPART);
+ wsRequest.sender.engageModule(MashupConstants.ADDRESSING);
} else if (username != null) {
// handle basic authentication
// set username if not null
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev