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
thorsten_dthorsten_d 

SOA Webservice example

Hi,
I've a question regarding the SOA video shown here http://adnsandbox.com/media/soasoa/
 
I'am wondering how to get the results from the webservice and put in into the custom fields on the account mask.
Could you please post the code behind the "Integrate Accounts" button?
 
Thanks
/thorsten
benjasikbenjasik
do you have a wsdl for a web service you want to consume?  If so, you can generate apex classes that can consume that web service.

Once you have the values in an apex object, it's just a standard update call to update custom fields
pmorellipmorelli
The apex docs have some good examples on web service callouts

http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf

Check out WebService Methods section, around page 125.



Message Edited by pmorelli on 09-07-2007 09:32 AM