web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Creating Lead/Contact/Opportunity

(0) ShareShare
ReportReport
Posted on by 99

I am writing a Java application to integrate with MS Dynamics CRM.

I used the following link to do the initial setup:

http://blogs.msdn.com/b/dynamics-coe/archive/2013/09/21/integrating-microsoft-dynamics-crm-2011-online-with-java-and-other-non-net-clients.aspx

I enhanced the framework which uses Stub Invocation Methods section within the blog

But now I am able to create/update and delete accounts. But I am unable to create Leads/Contacts/Opportunity.

The code base that i received from the blog does not contain Java bean classes to tell me exactly what are the fields that are required for creating any Dynamics Object (like account/lead/contact or anything). Is there any way I could get to know these?

Thanks,

Arjun

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mamatha Swamy Profile Picture
    5,426 on at

    Arjun,

    You can get the entityname and attributes using the metadata browser http://msdn.microsoft.com/en-us/library/hh547411.aspx . You can use this information to create the attributeHash

    You can also retrieve entity metadata using code http://mileyja.blogspot.com/2011/05/how-to-retrieve-metadata-for-entity.html

    HTH

  • Arjun Profile Picture
    99 on at

    Thank you for your response. But the problem is that I use a linux machine and the language i use is Java. And I cannot even run the sdk.exe file. If i could just get them, even as a text file for the entities i am concerned about, it would have been awesome. Sad but true :)

  • Community Member Profile Picture
    on at

    Arjun,

    I can think of one easy way is to look for a windows machine, download the SDK, and browse the Meta data as applicable to your environment.

    Not the response you might be looking forward - sorry.

    Thank you,

    harihar

  • Suggested answer
    omgcrm Profile Picture
    2,585 on at

    Integrating Dynamic CRM with Java Application

    Prerequisites - Java Client

    1. Java SE SDK 1.6 update 23 or Above

    2. Net beans 6.9x or above

    3. Dynamic CRM online Instance

    4. Java Libraries

    • Apache Axis 2 Framework (Ver 1.5.4 Binary Distribution)

    • Apache HTTP Components Client  4.2.5

    • Apache HTTP Core 4.3

    • Ant 1.9.2 (If we need to automate the build and WebService Stub generation)

    Knowledge needed:-

    • SOAP , WSDL, WCF, Axis2

    • Stub invocation Methods

    • Understand how to build java Application to access CRM Online

    • Understand how to create a Proxy Class from the CRM Online WSDL

    • Understand how to perform CRUD Operations using JAVA against CRM online

    • Tokenize Concept in SOAP

    • SOAP request options and

    • Constructing Security SOAP Header Block

    • Windows Live ID Token Exchange

    • WSDl2Java Command  --> MS CRM Organization Web Service Stub Generation.

    Integration process

    1. Setting up Required Libraries

    2. Generating CRM online Proxy Class using Apache Axis 2

    3. Setting up Environment to integrate with CRM online

    4. Proxy Classes to Perform CRUD Operations against CRM online

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans