function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
webguruwebguru 

How to get data from sforce with soap

Hi,

Salesforce is very new to me and I want to get data from Salesforce. I searched the web and I found out i can use soap to do that, I downloaded a couple of sample code (nusoap or either pear soap) and I didn't know how i can get started and got the simple application to work. For example,
$sforce = new SoapClient("$url"); // obtain your own customized sforce.wsdl from sfroce.com

what should i put in that $url? any comment or help is appreciated

thanks
webguruwebguru
Hi,

Could someone please help me?

thank you so much
rchoi21rchoi21
Your best bet is to start with one of the open source PHP toolkits. They have lots of great example code to help you get started. Either one will work.

PHP Sforce:

Uses SOAP classes available via PEAR (http://pear.php.net/package/SOAP).

http://sourceforge.net/project/showfiles.php?group_id=96634&package_id=104202


PHP Sforce Nusoap:

Uses NuSoap, an older, standalone SOAP implementation for PHP designed by NuSphere.

http://sourceforge.net/project/showfiles.php?group_id=96634&package_id=166314