[xgws-dev] CVS Update: codes/xsul/java/tests/xsul/msg_box
Aleksander Andrzej Slominski
xgws-dev_at_extreme.indiana.edu
Mon May 1 17:58:01 2006
aslom 06/05/01 17:57:49
Modified: xsul/java/doc changes.html
xsul/java/tests/xsul/msg_box TestMsgBox.java
Log:
2006-05-01 (2.5.6): MsgBox will try to guess WS-Addressing version used by client in incoming SOAP messages
and return EPR with the same version of WSA NS.
Revision Changes Path
1.48 +4 -0 codes/xsul/java/doc/changes.html
Index: changes.html
===================================================================
RCS file: /l/extreme/cvs/codes/xsul/java/doc/changes.html,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -t -w -r1.47 -r1.48
--- changes.html 30 Apr 2006 23:17:27 -0000 1.47
+++ changes.html 1 May 2006 21:57:48 -0000 1.48
@@ -14,6 +14,10 @@
<ul>
+<li>2006-05-01 (2.5.6): MsgBox will try to guess WS-Addressing version used by client in incoming SOAP messages
+and return EPR with the same version of WSA NS.
+</li>
+
<li>2006-04-30 (2.5.5): WsaInvoker will use the same WSA namespace that target EPR is using unless
invoker.setTargetWsa() is called
</li>
1.12 +10 -3 codes/xsul/java/tests/xsul/msg_box/TestMsgBox.java
Index: TestMsgBox.java
===================================================================
RCS file: /l/extreme/cvs/codes/xsul/java/tests/xsul/msg_box/TestMsgBox.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -t -w -r1.11 -r1.12
--- TestMsgBox.java 30 Apr 2006 03:22:04 -0000 1.11
+++ TestMsgBox.java 1 May 2006 21:57:48 -0000 1.12
@@ -4,7 +4,7 @@
*
* This software is open source. See the bottom of this file for the licence.
*
- * $Id: TestMsgBox.java,v 1.11 2006/04/30 03:22:04 aslom Exp $
+ * $Id: TestMsgBox.java,v 1.12 2006/05/01 21:57:48 aslom Exp $
*/
package xsul.msg_box;
@@ -24,13 +24,14 @@
import xsul.soap.SoapUtil;
import xsul.soap11_util.Soap11Util;
import xsul.soap12_util.Soap12Util;
+import xsul.ws_addressing.WsAddressing;
import xsul.ws_addressing.WsaEndpointReference;
import xsul.ws_addressing.WsaInvoker;
/**
* Tests simple interaction with WS-MsgBox.
*
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
* @author <a href="http://www.extreme.indiana.edu/~aslom/">Aleksander Slominski</a>
*/
public class TestMsgBox extends XsulTestCase {
@@ -58,6 +59,12 @@
public void testClientUsingMB() throws Exception
{
+ //testClientUsingMB(WsAddressing.NS_WSA);
+ testClientUsingMB(WsAddressing.NS_2004_08);
+ }
+
+ private void testClientUsingMB(XmlNamespace wsaNs) throws Exception
+ {
// create mailbox
MsgBoxClient msgBoxService = new MsgBoxClient(messageBoxLocation);