Skip to content

Commit dc8bdaa

Browse files
Update README.md
1 parent 0b7e68f commit dc8bdaa

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
Overview
1+
Getting Started
22
========================
33

4+
The fastest way to implement a SOAP client is to start with the sample code that we have made available here and
5+
modify it for your purposes. These client stubs have to be in the build path of your Java projects.
6+
7+
If using the pre-built jar file [marketo-soap-sdk-2.1.jar](marketo-soap-sdk-2.1.jar), you can add it to your build
8+
path by placing it inside your Java project in eclipse (or the IDE of your choice). In Eclipse, you would right
9+
click on the library, click the "Build Path -> Configure Build Path ..." option from the menu. In the modal dialog
10+
that will popup, you can add the library to the path by clicking on the "Add JARs..." button and selecting the JAR
11+
file from your project.
12+
13+
The sample code below uses the Apache [commons-codec-1.8.jar](http://commons.apache.org/proper/commons-codec/download_codec.cgi).
14+
Repeat the above steps to include commons-codec-1.8.jar to your project before running the sample code.
15+
16+
Generate Your Own Java Client From WSDL
17+
------------------------
418
The above code was generated using [wsimport](http://docs.oracle.com/javase/6/docs/technotes/tools/share/wsimport.html) using the [Marketo Web Service 2_1 WSDL](http://app.marketo.net/soap/mktows/2_1?WSDL).
519
Here is the [binding.xml](binding.xml) file used in the below wsimport command.
620

721
```
822
$ mkdir src
923
$ mkdir bin
1024
$ wsimport -XadditionalHeaders -b binding.xml -p com.marketo.mktows -s src -d bin http://app.marketo.net/soap/mktows/2_1?WSDL
11-
1225
```
1326

1427
Usage

0 commit comments

Comments
 (0)