I'm creating a Java WS Client (Salesforce Partner WSDL) and following the Salesforce "Setting Up Your Java Developer Environment" document. It recommends installing the Web Services Connector (WSDL-Based APIs) and generate Java Stub Files by using this command
java –classpath path to WSC jar/WSC jar filename
com.sforce.ws.tools.wsdlc path to WSDL/WSDL filename path to
output stub jar and filename
Is this the correct way to create the web client or is there another way?