| java.lang.Object | |
| ↳ | org.mule.module.dynamicscrmonpremise.BaseDynamicsCRMConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Microsoft Dynamics CRM 2011 Onpremise version
This connector allow the integration with MS Dynamics CRM 2011 Onpremise version. The service of MS Dynamics CRM provide a few operations that are extensible for all the entities (default and custom) created. A list of the default entities can be found in the MSDN documentation link: "http://msdn.microsoft.com/en-us/library/bb959317.aspx The connector uses Kerberos/SPNEGO with Active Directory for Authentication. If you are going to use this connector be sure to have your environment well configured. This requires a CRM Onpremise 2011 Server (Windows 2008 Server x64) running in a Active Directory Domain with a SPN configured over HTTP/... Also the DNS configuration for the CRM server and the Kerberos/AD server. Debug purposes: --------------- To add debug in Kerberos/SPNEGO flow add this parameters in the VM params: -Dsun.security.krb5.debug=true -Dsun.security.spnego.debug=true Login Config File ----------------- Create a new file with the next configuration in your server: ******************************************************************************************** Kerberos { com.sun.security.auth.module.Krb5LoginModule required debug=true; }; ******************************************************************************************** i.e. In this case, Kerberos is the only module configured, and it will be the param to be used in loginConfigModule=Kerberos Kerberos Config File -------------------- Create a new file with the next configuration in your server: ******************************************************************************************** [libdefaults] default_realm = <YOUR_REALM> default_tkt_enctypes = rc4-hmac aes128-cts des3-cbc-sha1 des-cbc-md5 des-cbc-crc default_tgs_enctypes = rc4-hmac aes128-cts des3-cbc-sha1 des-cbc-md5 des-cbc-crc permitted_enctypes = rc4-hmac aes128-cts des3-cbc-sha1 des-cbc-md5 des-cbc-crc [realms] <YOUR_REALM> = { kdc = <Kerberos_location> default_domain = <YOUR_REALM> } [domain_realm] .<your_realm> = <YOUR_REALM> <your_realm> = <YOUR_REALM> ******************************************************************************************** Please note the upper and lower case.| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| client | |||||||||||
| logger | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Associate a set of entities
| |||||||||||
Create entity
| |||||||||||
Delete entity
| |||||||||||
Disassociate a set of entities
| |||||||||||
Execute a business logic method
| |||||||||||
Retrieve entity
| |||||||||||
Retrieve multiple entities by attributes values and sorting options
| |||||||||||
Retrieve multiple entities by a query described by and XML
The definition of the Microsoft XML Query Language can be found in the Schema Definition in this link: http://msdn.microsoft.com/en-us/library/bb930489.aspx
The aggregation examples can be found in this link: http://msdn.microsoft.com/en-us/library/gg309565.aspx
| |||||||||||
Update entity
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Associate a set of entities
| entityName | Logical name of entity |
|---|---|
| entityId | Guid of entity in string form |
| relationshipEntityRoleIsReferenced | If the role of the entity is "Referenced" (true) of "Referencing" (false) |
| relationshipSchemaName | The type of relationship |
| relatedEntitiesAttributes | List of the attributes of related entities |
| IOrganizationServiceAssociateOrganizationServiceFaultFaultFaultMessage | If associate fails |
|---|
Create entity
| logicalName | A logical name |
|---|---|
| entity | An entity object represented as a map |
| IOrganizationServiceCreateOrganizationServiceFaultFaultFaultMessage | If create fails |
|---|
Delete entity
| logicalName | Logical name of the entity to be updated |
|---|---|
| guid | The guid of the entity to be retrieved |
| IOrganizationServiceDeleteOrganizationServiceFaultFaultFaultMessage | If delete fails |
|---|
Disassociate a set of entities
| entityName | Logical name of entity |
|---|---|
| entityId | Guid of entity in string form |
| relationshipEntityRoleIsReferenced | If the role of the entity is "Referenced" (true) of "Referencing" (false) |
| relationshipSchemaName | The type of relationship |
| relatedEntitiesAttributes | List of the attributes of related entities |
| IOrganizationServiceDisassociateOrganizationServiceFaultFaultFaultMessage | If disassociate fails |
|---|
Execute a business logic method
| requestName | Logical name of request to be made |
|---|---|
| requestGuid | The guid of the request to me made |
| requestParameters | A collection of parameters to the request in Map |
| IOrganizationServiceExecuteOrganizationServiceFaultFaultFaultMessage | If execute fails |
|---|
Retrieve entity
| logicalName | Name od the entity to be retrieved |
|---|---|
| guid | The guid of the entity to be retrieved |
| attributes | Attributes that will be retrieved from the entity specified |
| IOrganizationServiceRetrieveOrganizationServiceFaultFaultFaultMessage | If retrieve fails |
|---|
Retrieve multiple entities by attributes values and sorting options
| entityName | Name of the entity type |
|---|---|
| columns | Columns to retrieve |
| attributes | Attributes to filter by |
| values | Values of the attributes |
| orders | Ordering fields, key is the name, value is "Ascending" or "Descending" |
| count | Number of rows to retrieve |
| pageNumber | Number of page to retrieve |
| pagingCookie | Paging cookie |
| returnTotalRecordCount | If total record count should be returned |
| IOrganizationServiceRetrieveMultipleOrganizationServiceFaultFaultFaultMessage | If retrieveMultiple fails |
|---|
Retrieve multiple entities by a query described by and XML
The definition of the Microsoft XML Query Language can be found in the Schema Definition in this link: http://msdn.microsoft.com/en-us/library/bb930489.aspx The aggregation examples can be found in this link: http://msdn.microsoft.com/en-us/library/gg309565.aspx| queryXml | Query XML |
|---|
| IOrganizationServiceRetrieveMultipleOrganizationServiceFaultFaultFaultMessage | If retrieveMultiple fails |
|---|
Update entity
| logicalName | Logical name of the entity to be updated |
|---|---|
| guid | The guid of the entity to be retrieved |
| attributesToUpdate | The attributes that will be updated, in Map |
| IOrganizationServiceUpdateOrganizationServiceFaultFaultFaultMessage | If update fails |
|---|---|
| IOrganizationServiceRetrieveOrganizationServiceFaultFaultFaultMessage | If update fails |