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
pabzsarquillapabzsarquilla 

Javascript and WSDL

hi,

 

Before anything, I want state that I'm new to Salesforce so any opinion is appreciated. I'm in these project on connecting to Salesforce account for Palm Pre that I think only uses Javascript . I saw several example in using WSDL using Java, .NET, PHP and even Coldfusion but none for just Javascript. Regarding with this thread.. http://community.salesforce.com/sforce/board/message?board.id=general_development&view=by_date_ascending&message.id=17838 , its possible if you can proxy the WSDL which is may not be the best way if the app needs to be flexible to just accept credentials and start accessing the Salesforce account and objects.

 

In the bright side, I also saw this link.. http://lg3d.blogspot.com/2009/07/salesforce-palm-pre.html saying he've done means theres some possiblity for these.

 

So can anyone please guide me to which path to take?

 

Thanks,

Pabz

SuperfellSuperfell
Have you looked at the ajax toolkit ?
SuperfellSuperfell
http://wiki.developerforce.com/index.php/Web_Services_API#AJAX_Toolkit
pabzsarquillapabzsarquilla

Thanks for the quick reply SimonF.

 

I tried copying the source from this link https://tapp0.salesforce.com/soap/ajax/17.0/connection.js to a file and added it to my source. I'm not sure if this is the correct approach?

 

Then, I tried logging but no response is thrown back to me. No exception caught, session id, login results ?

 

Am I doing it wrong?