Sha256: ed6e3952dc7d925403083f6cbb3f0854fff6ef89b679770f5abb4621dcb28ede

Contents?: true

Size: 1007 Bytes

Versions: 4

Compression:

Stored size: 1007 Bytes

Contents

<p>First install the latest versions of http-access2 and soap4r (including
the wsdl2ruby.rb script).</p>

<p>The included files are for the sforce partner WSDL file.  The intent is
to make this suffice for all environments, but in case you need to
modify the default.rb and defaultDriver.rb file for your particular
site's enterprise WSDL, the process is as follows:</p>

<p>Download your wsdl file from the salesforce site (partner or
enterprise wsdl okay).</p>

<p>Then run the following command:</p>

<pre><code>wsdl2ruby.rb --classdef --driver --wsdl &lt;downloaded file&gt;
</code></pre>

<p>This will create two files: <tt>default.rb</tt> and
<tt>defaultDriver.rb</tt>.  The former contains the class definitions
you will need to interface with the SForce API, and the latter contains
the lower level SOAP drivers.</p>

<p>You will also need a ca.pem and soap/property file to get ssl to work
(the included ca.pem came from <a href="http://dev.ctor.org/soap4r/changeset/1605">NaHi's example</a>).</p>

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
aq1018-rforce-0.5.2 wsdl/README.html
aq1018-rforce-0.5.1 wsdl/README.html
DerGuteMoritz-rforce-0.4.2 wsdl/README.html
rforce-raygao-1.0.0 wsdl/README.html