|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.acme.webservice.client.AddNewMemberClient
public final class AddNewMemberClient
Example client that uses the Firedrum Web Services API.
This program uses the FWSAPI to add new Members.
The program might be readily changed so as to integrate with Client's CRM application so that changes to the Client's customer database were reflected in the Client's Firedrum campaign database.
Notes:
| Field Summary | |
|---|---|
static java.lang.String |
CSV_FIELD_PATTERN
This pattern uses "alternations" to search for three different types of fields in a "Microsoft Excel"-style comma-separated-file (CSV). The first matches a quoted field - i.e. |
| Method Summary | |
|---|---|
static java.lang.StringBuffer |
formatStringArray(java.lang.String[] sa)
|
static void |
main(java.lang.String[] args)
This main method expects the following input parameters (via the "args" array): URL for the Firedrum MemberService WSDL (Web Service Descriptor Language) file. |
static java.lang.String[] |
parseCSVFields(java.lang.String record,
int expectedFields)
Parse CSV field values. |
static java.lang.String[] |
parseCSVLine(java.lang.String line)
Parse one line from a comma-separated-values file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CSV_FIELD_PATTERN
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
emailAddress,firstName,lastName
args -
java.lang.Exception
public static java.lang.String[] parseCSVFields(java.lang.String record,
int expectedFields)
public static java.lang.String[] parseCSVLine(java.lang.String line)
public static java.lang.StringBuffer formatStringArray(java.lang.String[] sa)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||