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
vishvish 

Newbie question: How to webToLead using APEX API

I am a newbie to APEX. I am trying to do a webToLead using the API. I used to post a lead before. This is as far as I have gotten so far:
 
1) created an account in salesforce
2) got the enterprise WSDL and compiled the java objects.
 
Now i donno how to procede further, Do I have to login to SF using the API before I can do an INSERT or 'UPSERT'?
 
I was  never logging in before, when I was using the HTTP POST.
 
Any help is appricieated.
 
Thanks all.
SuperfellSuperfell
You should start by reading the getting started section of the API docs.
http://www.salesforce.com/us/developer/docs/api/index.htm