| 1 |
package test.wsdl.opStylesDoc; |
| 2 |
|
| 3 |
import junit.framework.AssertionFailedError; |
| 4 |
import junit.framework.TestCase; |
| 5 |
|
| 6 |
import javax.xml.rpc.ServiceException; |
| 7 |
import javax.xml.rpc.Stub; |
| 8 |
import java.rmi.RemoteException; |
| 9 |
|
| 10 |
public class VerifyTestCase extends junit.framework.TestCase { |
| 11 |
public VerifyTestCase(String name) { |
| 12 |
super(name); |
| 13 |
} |
| 14 |
|
| 15 |
public void testOpStyles() throws Exception { |
| 16 |
OpStyles binding; |
| 17 |
try { |
| 18 |
binding = new OpStyleDocServiceLocator().getOpStylesDoc(); |
| 19 |
} |
| 20 |
catch (ServiceException jre) { |
| 21 |
throw new AssertionFailedError("JAX-RPC ServiceException caught: " + jre); |
| 22 |
} |
| 23 |
|
| 24 |
binding.requestResponse(); |
| 25 |
binding.requestResponse2(); |
| 26 |
binding.requestResponse3(null); |
| 27 |
|
| 28 |
} // testOpStyles |
| 29 |
} // class VerifyTestCase |