Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Looking at the current websites here:

I wonder if the toolkit is still supported? Seems to me, that since 2010 no updates have been made. It's still on v20.0, however it seems to be possible to replace the wsdl and endpoint-url to use v31.0. I only tried a simple query, but at least got some promising results.

Is it still recommended to use it? Or is there something else to access Salesforce via php? Anyone got more experience with it? Is it reliable with wsdl > v20.0?

Is this toolkit the right choice for php-based heroku projects to interact with salesforce?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

If you don't need the new > v20.0 features, you can still use it verbatim for some time. It really isn't much more than a wrapper for things you'd do yourself if you used SoapClient (I've done this for a small Drupal module).

Of course, you can just drop a v31.0 WSDL in the appropriate place, and it should work just fine. I wouldn't just change the endpoint, I'd refresh the entire WSDL. I've not personally tested this, but I can't imagine any game changing features that'd break such a simple wrapper.

As for "recommended" practices, use the language that will get you where you want to go, whatever is most comfortable. Php, Ruby, and Java are all supported and have just about the same level of difficulty with using the WSDL.

Alternatively, you might consider not using the WSDL. REST is the new SOAP, and it lets you authenticate easily against an org without compromising user names or passwords, uses less bandwidth and memory, doesn't require WSDL binding, and basically just makes life easy. On the other hand, you do end up writing more code, but your overall code base will be far smaller.

There's no known flaws in the PHP toolkit, so there really hasn't been a need to update the code. Use it if you feel php is the right technology for your use case and skill set.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.