Author: richard_opalka
Date: 2007-08-15 07:50:36 -0400 (Wed, 15 Aug 2007)
New Revision: 4371
Modified:
framework/branches/framework-2.0/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java
Log:
test source code beautification
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
11:48:43 UTC (rev 4370)
+++
framework/branches/framework-2.0/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java 2007-08-15
11:50:36 UTC (rev 4371)
@@ -28,6 +28,8 @@
import javax.naming.InitialContext;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.soap.SOAPBinding;
import junit.framework.Test;
@@ -87,8 +89,8 @@
TestEndpoint port = service.getPort(TestEndpoint.class);
assertNotNull(port);
- javax.xml.ws.BindingProvider bp = (javax.xml.ws.BindingProvider)port;
- boolean mtomEnabled =
((javax.xml.ws.soap.SOAPBinding)bp.getBinding()).isMTOMEnabled();
+ BindingProvider bp = (BindingProvider)port;
+ boolean mtomEnabled = ((SOAPBinding)bp.getBinding()).isMTOMEnabled();
assertTrue("MTOM should be enabled on port", mtomEnabled);
String request = "testApplicationClient";