Sample code

May 16, 2011 at 2:56 PM


This seems like a great library! Unfortunately I'm not familiar with SOAP for CRM and I can't get is to work..
I'm currently trying to implement the example from MSDN with your library, everything seems to compile fine except this:

IOrganizationService service = SilverlightUtility.GetSoapService();

Which is only logical as I didn't add those classes MSDN specified.. But now I'm guessing I should replace the code with this:

SilverCrmSoap.CrmSdk.OrganizationServiceClient service = new SilverCrmSoap.CrmSdk.OrganizationServiceClient();

Which is obviously a bad guess, as the code breaks on this line (keynotfoundexception).

This library seems really great, but I'm missing some sample code.. Could you provide me with the correct code for rebuilding the MSDN example?


Thanks in advance,

Arne Deruwe

May 17, 2011 at 9:06 AM

Never mind, figured it out by looking at your source code!

This did the trick!

Jan 23, 2012 at 11:35 AM

Hey Arne.

Can you possibly provide how to use this library as a sample example to just reproduce the function to list all the account as the MSDN example?