Integrating Dynamics CRM 2011 and Java

Proposed Answer Integrating Dynamics CRM 2011 and Java

  • Wednesday, November 09, 2011 4:37 PM
     
     

    Hi,

     

    I am trying to connect to an online installation of Microsoft Dynamics CRM 2011 using Java (I have an existing Java server system I am trying to integrate). I have been struggling with this for weeks and yet it doesn't seem to want to work at all.

     

    I have tried downloading the WSDLs from the organisation and using the wsimport tool to generate stubs, yet they seem to be empty shells that are of little use. I have also tried to use the gooddata connector found here http://zsvoboda.blogspot.com/2011/03/connecting-to-microsoft-crm-2011-online.html with no success.

     

    I am really at a loss here. I have previously integrated the same product with other CRM systems with no problems and will be honest and say I am surprised as to how difficult this is being. Any help would be greatly appreciated.

     

    Paul

All Replies

  • Wednesday, November 23, 2011 3:33 PM
     
     
    Bump, anybody have any ideas?
  • Saturday, December 03, 2011 2:02 PM
     
     
    Any luck with your question?
  • Sunday, December 04, 2011 1:16 PM
     
     Proposed Answer

    I think the major problem is the authentication mechanism, its more complex in 2011 than in 4.0.

    Our team tried to integrate TIBCO with CRM2011 directly but they achieved that successfuly only with the CRM 4 endpoint (exists in 2011 for backward compatibility). You can try to access it if you do simple things like reading some datas,  but its not recommended if we consider that its possible that it can not be supported in next version and new functionality can't be used with it. 

    http://<servername>:<port>/MSCrmServices/2007/CrmService.asmx

     

    After that, we tried access CRM 2011 endpoint using a java proxy that failed in some situations (but works in some others), so we removed it because of instability (haven't time to investigate why) and created a .NET webservice that act as a proxy with CRM 2011 services.

    TIBCO system consume this "intermediate webservice" that redirect SOAPs call to the CRM 2011 SOAP endpoint, and return the results to caller.

    The security configuration for communicating with CRM 2011 endpoint stay in the "proxy webservice" created in C#, and only the TIBCO system/computer/network have access to it (obvious security reason).

    Did you have a look at this url ?

    http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/caf5fa3f-c5f0-43a9-8cfc-4fdb88bb6248/

    http://msdn.microsoft.com/en-us/library/gg509052.aspx

    http://javamscrm.codeplex.com/

     

    Its not very easy to find some java example connecting successfully to CRM 2011 endpoints, but I can try to get the java proxy we maked that work in some situations, you can get some ideas from it.


    -- Christophe Trevisani Chavey www.notafiscaldeservicos.com.br www.virtualgroup.com.br
    • Proposed As Answer by Philippe LEAL Monday, December 05, 2011 1:45 PM
    •  
  • Thursday, April 19, 2012 12:48 AM
     
     

    Hi Christophe,

    I'm struggling with the same thing these days. Do you mind sharing the java proxy you mentioned with me?

    my email is apolo2david@yahoo.com

    Thanks a lot

    David

  • Monday, July 16, 2012 2:34 PM
     
     

    Hi Christophe and David,

    I'm faing same problem. I wrote a client using wdsl from CRM4.0 without big problem.

    But can't with 2011. Could you also share your java proxy you mentionned with me ?

    my email bihan.martolod@gmail.com

    Thanks a lot in advance,

    Regards,

    HadanMarv

  • Tuesday, August 14, 2012 2:59 PM
     
     

    Hi Christophe,

    I also tried a lot to achieve the same thing but no success.

    Could you please share your proxy with me too?

    ankithimmatlalshah@gmail.com


    Thanks, Ankit Shah


    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html