|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mulesoft.adapter.cli.WsdlGenerationMain
public class WsdlGenerationMain
| Constructor Summary | |
|---|---|
WsdlGenerationMain(String username,
String password,
String securityToken)
Creates a new Salesforce WSDL reader |
|
| Method Summary | |
|---|---|
void |
connect()
Connect to Salesforce |
DescribeLayoutResult |
describeLayout(String name)
|
DescribeSObjectResult |
describeSObject(String name)
Get the description of a specific Salesforce type |
List<String> |
getTypeNames()
Return name of all salesforce classes |
static void |
main(String[] args)
Command-line wrapper to create a WsdlReader object and use it to read the Wsdl. |
void |
setupProxy(String proxyHost,
int proxyPort,
String proxyUsername,
String proxyPassword)
Setup the information required when connecting to salesforce via a proxy. |
static void |
usage(boolean exit)
Print a useage message, optionally exiting afterward |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WsdlGenerationMain(String username,
String password,
String securityToken)
throws MalformedURLException
username - Username used to initialize the sessionpassword - Password used to authenticate the usersecurityToken - User's security securityToken
MalformedURLException| Method Detail |
|---|
public static void main(String[] args)
throws Exception
Exceptionpublic static void usage(boolean exit)
public void setupProxy(String proxyHost,
int proxyPort,
String proxyUsername,
String proxyPassword)
public void connect()
throws ConnectionException,
MalformedURLException,
AsyncApiException
ConnectionException
MalformedURLException
AsyncApiException
public List<String> getTypeNames()
throws ConnectionException
SalesforceCallback
getTypeNames in interface SalesforceCallbackConnectionException
public DescribeSObjectResult describeSObject(String name)
throws ConnectionException
SalesforceCallback
describeSObject in interface SalesforceCallbackConnectionException
public DescribeLayoutResult describeLayout(String name)
throws ConnectionException
ConnectionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||