Inserting a Lead (can't find where to define the URL)

Hi Everyone,
I am doing a Lead-insert using a WebApplication. I've added the Lead_v2.wsdl as a service reference. First i'll get the SessionId by logging in. Works like a charm.
But I can't define where to actually define the URL to where it's suppose to post the data. In almost every example there is a URL-paramater, combined with the jsessionid.
// Initiate the integration (Here is where I access my SessionId by doing crmOnemand.SessionId
var crmOnDemand = new CRMOnDemand();
var myLead = new VitroLife.LeadReference.LeadClient();
// here is where the url-paramater is suppose to be?
// mylead.url = url+crmOnDemand.SessionId
// Create arrary of a Lead record to be inserted
LeadReference.LeadData[] leadData = new LeadReference.LeadData[1];
leadData[0] = new LeadReference.LeadData();
leadData[0].Source = hdnSource.Value;
leadData[0].Owner = hdnLeadOwner.Value;
// Missing field priority
leadData[0].IndexedPick1 = ddlRegion.SelectedValue;
leadData[0].Product_Interest = chkInterest.SelectedValue;
leadData[0].LeadFirstName = txtFirstname.Text;
leadData[0].LeadLastName = txtLastname.Text;
leadData[0].LeadEmail = txtEmail.Text;
leadData[0].Description = txtComments.Text;
// Add lead data array to ListofLeadData class
var listOfLeadData = new LeadReference.ListOfLeadData();
listOfLeadData.Lead = leadData;
// Create an instance of leadinsert_input class
var leadInsertInput = new LeadReference.LeadInsert_Input();
leadInsertInput.ListOfLead = listOfLeadData;
// Insert the data
var leadOutput = myLead.LeadInsert(leadInsertInput);

I'm having a very similar problem; there simply is no checkbox visible for the remote. This is especially puzzling since it's worked on this same laptop in the past.
A short list of fixes I've tried for the issue:
- Created a new user account, logged it in, checked for appropriate preference.
- Erased preferences folder for Security and restarted.
- Reinstalled 10.5 using "Archive and Install".
- Reinstalled 10.5 using "Erase and Install" and restored from a TM backup.
- Reinstalled 10.5 as a blank slate, no restore at all.
- Reinstalled 10.4 using the original install DVDs.
The USB tab in System Profiler +does not+ show an entry for the IR Receiver, which is puzzling, since, as far as I'm aware, all MBPs have one, and there's been one working on this laptop previously.
I don't mind saying I'm a little bit at wits' end with this, since I don't really care to go through the installation packages and try to manually install the IR driver if I can possibly avoid it. Any thoughts?

Similar Messages

Maybe you are looking for