Author: richard_opalka
Date: 2007-08-15 07:48:43 -0400 (Wed, 15 Aug 2007)
New Revision: 4370
Modified:
framework/branches/framework-2.0/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java
Log:
[JBWS-1736] enabling the test, there is already no FIXME necessary
Modified:
framework/branches/framework-2.0/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java
===================================================================
---
framework/branches/framework-2.0/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java 2007-08-15
07:24:42 UTC (rev 4369)
+++
framework/branches/framework-2.0/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java 2007-08-15
11:48:43 UTC (rev 4370)
@@ -87,16 +87,13 @@
TestEndpoint port = service.getPort(TestEndpoint.class);
assertNotNull(port);
- System.out.println("FIXME [JBWS-1736]: MTOM property at service-ref
level");
+ javax.xml.ws.BindingProvider bp = (javax.xml.ws.BindingProvider)port;
+ boolean mtomEnabled =
((javax.xml.ws.soap.SOAPBinding)bp.getBinding()).isMTOMEnabled();
+ assertTrue("MTOM should be enabled on port", mtomEnabled);
- //BindingProvider bp = (BindingProvider)port;
- //boolean mtomEnabled = ((SOAPBinding)bp.getBinding()).isMTOMEnabled();
- //assertTrue("MTOM should be enabled on port", mtomEnabled);
-
String request = "testApplicationClient";
String response = port.echo(request);
assertEquals(response, request);
-
}
}
Show replies by date