Currently I have the following code:

package com.bmw.candy.candiedServices.client;

import org.apache.axis.version.VersionService;
import org.apache.axis.version.VersionServiceLocator;

public class CandiedServices {
   public static void main(final String[] args) {
       try {
           VersionService service = new VersionServiceLocator();
           System.out.println(service.getVersion().getVersion());
       } catch (final Exception ex) {
           ex.printStackTrace();
       }
   }
}

This calls the version service using the generated classes that come as a result of wsdl2java ant task. How can I alter my client to use a different socket library or a different protocol (ssh for example) to connect to the remote server??

-- Robert
begin:vcard
fn:Robert Simmons Jr
n:Simmons Jr;Robert
org:jambit GmbH
adr;quoted-printable:;;R=C3=B6ntgenstrasse 7;Martinsried;;82152;Germany
email;internet:[EMAIL PROTECTED]
title:Senior Software Architect / Consultant
note:Author: "Hardcore Java", O'Reilly and Associates, (2004) http://www.oreilly.com/catalog/hardcorejv/index.html
x-mozilla-html:TRUE
url:http://www.jambit.com
version:2.1
end:vcard

Reply via email to