tomj 2002/06/04 16:24:31
Modified: java/test/wsdl/interop3/import3 Import3TestCase.java
Log:
Use the URL provided on the command line when getting the port
Revision Changes Path
1.5 +5 -1 xml-axis/java/test/wsdl/interop3/import3/Import3TestCase.java
Index: Import3TestCase.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/wsdl/interop3/import3/Import3TestCase.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Import3TestCase.java 28 Feb 2002 17:58:51 -0000 1.4
+++ Import3TestCase.java 4 Jun 2002 23:24:31 -0000 1.5
@@ -63,7 +63,11 @@
public void testStep3EchoStructArray() {
SoapInteropImport3PortType binding;
try {
- binding = new Import3Locator().getSoapInteropImport3Port();
+ if (url == null) {
+ binding = new Import3Locator().getSoapInteropImport3Port();
+ } else {
+ binding = new Import3Locator().getSoapInteropImport3Port(url);
+ }
}
catch (javax.xml.rpc.ServiceException jre) {
throw new junit.framework.AssertionFailedError("JAX-RPC
ServiceException caught: " + jre);