Author: richard.opalka(a)jboss.com
Date: 2009-10-27 08:27:16 -0400 (Tue, 27 Oct 2009)
New Revision: 11045
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/management/recording/MemoryBufferRecorderTestCase.java
Log:
[JBWS-2203] removing FIXME
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/management/recording/MemoryBufferRecorderTestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/management/recording/MemoryBufferRecorderTestCase.java 2009-10-27
11:44:43 UTC (rev 11044)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/management/recording/MemoryBufferRecorderTestCase.java 2009-10-27
12:27:16 UTC (rev 11045)
@@ -92,20 +92,14 @@
System.out.println("FIXME: [JBWS-2204] Implement Metro standard message
context properties");
return;
}
- if (isIntegrationCXF())
- {
- //The WSDL_OPERATION ctx property is required for the operation filter to work
- System.out.println("FIXME: [JBWS-2203] Implement CXF standard message
context properties");
- return;
- }
Endpoint port = getPort();
MBeanServerConnection server = getServer();
ObjectName oname = new ObjectName(endpointObjectName +
",recordProcessor=MemoryBufferRecorder");
setRecording(true);
-
+
port.echo1("Test getRecordsByOperation");
port.echo2("Test getRecordsByOperation");
-
+
Map<String, List<Record>> echo1Records = (Map<String,
List<Record>>)server.invoke(oname, "getRecordsByOperation", new
Object[] { targetNS, "echo1" }, new String[] {
"java.lang.String", "java.lang.String" });
Map<String, List<Record>> echo2Records = (Map<String,
List<Record>>)server.invoke(oname, "getRecordsByOperation", new
Object[] { targetNS, "echo2" }, new String[] {
@@ -166,23 +160,17 @@
System.out.println("FIXME: [JBWS-2204] Implement Metro standard message
context properties");
return;
}
- if (isIntegrationCXF())
- {
- //The WSDL_OPERATION ctx property is required for the operation filter to work
- System.out.println("FIXME: [JBWS-2203] Implement CXF standard message
context properties");
- return;
- }
Endpoint port = getPort();
MBeanServerConnection server = getServer();
ObjectName oname = new ObjectName(endpointObjectName +
",recordProcessor=MemoryBufferRecorder");
setRecording(true);
-
+
OperationFilter operationFilter = new OperationFilter(new QName(targetNS,
"echo1"));
LinkedList<String> l = new LinkedList<String>();
l.add("localhost");
l.add("127.0.0.1");
HostFilter hostFilter = new HostFilter(l,false); //destination
-
+
RecordFilter[] filters = new RecordFilter[] {operationFilter, hostFilter};
Map<String, List<Record>> startRecords = (Map<String,
List<Record>>)server.invoke(oname, "getMatchingRecords", new Object[] {
filters }, new String[] { filters.getClass().getName() });
@@ -203,19 +191,13 @@
System.out.println("FIXME: [JBWS-2204] Implement Metro standard message
context properties");
return;
}
- if (isIntegrationCXF())
- {
- //The WSDL_OPERATION ctx property is required for the operation filter to work
- System.out.println("FIXME: [JBWS-2203] Implement CXF standard message
context properties");
- return;
- }
Endpoint port = getPort();
MBeanServerConnection server = getServer();
ObjectName oname = new ObjectName(endpointObjectName +
",recordProcessor=MemoryBufferRecorder");
setRecording(true);
-
+
OperationFilter operationFilter = new OperationFilter(new QName(targetNS,
"echo1"));
-
+
//Adding Operation filter...
server.invoke(oname, "addFilter", new Object[] { operationFilter }, new
String[] { RecordFilter.class.getName() });
int size = (Integer)server.getAttribute(oname, "Size");