com.sforce.ws.tools
Class wsdlc

java.lang.Object
  extended by com.sforce.ws.codegen.Generator
      extended by com.sforce.ws.tools.wsdlc

public class wsdlc
extends Generator

wsdlc is a tool that can generate java stubs from WSDL.

Author:
btoal, hhildebrand

Field Summary
static String CONNECTION
           
static String CONNECTOR
           
static String PACKAGE_PREFIX
           
static String STANDALONE_JAR
           
static String TEMPLATE_DIR
           
 
Fields inherited from class com.sforce.ws.codegen.Generator
AGGREGATE_RESULT, javaFiles, packagePrefix, SIMPLE_TYPE, SOBJECT, templates, TYPE, typeMapper
 
Constructor Summary
wsdlc(String packagePrefix, org.stringtemplate.v4.STGroupDir templates)
           
 
Method Summary
protected  void generate(Definitions definitions, SfdcApiType sfdcApiType, Types types, File dir)
           
static void main(String[] args)
           
static void run(String wsdlUrl, String destJarFilename, String packagePrefix, boolean standAlone, org.stringtemplate.v4.STGroupDir templates, String destDir, boolean compile)
           
 
Methods inherited from class com.sforce.ws.codegen.Generator
addFileToJar, addRuntimeClasses, compileTypes, generate, generate, generateAggregateResultClasses, generateAggregateResultClasses, generateClassFromComplexType, generateClassFromSimpleType, generateComplexTypeClass, generateJarFile, generateSimpleTypeClass, generateSObjectClass, generateTypeClass, generateTypeClasses, getManifest, getPackageName, getRuntimeClasses, newSourceWriter, newTypeMetadataConstructor, requiresAggregateResultClass, requiresSObjectClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE_DIR

public static final String TEMPLATE_DIR

STANDALONE_JAR

public static final String STANDALONE_JAR
See Also:
Constant Field Values

PACKAGE_PREFIX

public static final String PACKAGE_PREFIX
See Also:
Constant Field Values

CONNECTION

public static final String CONNECTION
See Also:
Constant Field Values

CONNECTOR

public static final String CONNECTOR
See Also:
Constant Field Values
Constructor Detail

wsdlc

public wsdlc(String packagePrefix,
             org.stringtemplate.v4.STGroupDir templates)
      throws Exception
Throws:
Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

run

public static void run(String wsdlUrl,
                       String destJarFilename,
                       String packagePrefix,
                       boolean standAlone,
                       org.stringtemplate.v4.STGroupDir templates,
                       String destDir,
                       boolean compile)
                throws Exception,
                       ToolsException,
                       MalformedURLException,
                       WsdlParseException,
                       IOException
Throws:
Exception
ToolsException
MalformedURLException
WsdlParseException
IOException

generate

protected void generate(Definitions definitions,
                        SfdcApiType sfdcApiType,
                        Types types,
                        File dir)
                 throws IOException
Overrides:
generate in class Generator
Throws:
IOException


Copyright © 2014. All Rights Reserved.