I'm trying to use Reslet with the OData extension as a client to Dynamics CRM 2011. The JAVA code generation works fine. I can query fine, including non edm property types. However, when trying to add or update an entity, any property of type other that edm.* is not serialized to xml and therefore not POSTed or PUT. On add the properties are omitted and on updates the values are lost. Is this a known limitation of Restlet or am I doing something wrong. Here is an example of a property in the metadata:
<Property Name="new_partnergroup" Type="Microsoft.Crm.Sdk.Data.Services.EntityReference" Nullable="false"/>
Classes generated include the property.
private EntityReference new_partnergroup;
XML to Object works fine, Object to XML doesn't work.
I'm using Restlet JEE v2.0.14
Any help would be much appreicated.
Regards,
Tim
I'm trying to use Reslet with the OData extension as a client to Dynamics CRM 2011. The JAVA code generation works fine. I can query fine, including non edm property types. However, when trying to add or update an entity, any property of type other that edm.* is not serialized to xml and therefore not POSTed or PUT. On add the properties are omitted and on updates the values are lost. Is this a known limitation of Restlet or am I doing something wrong. Here is an example of a property in the metadata:
<Property Name="new_partnergroup" Type="Microsoft.Crm.Sdk.Data.Services.EntityReference" Nullable="false"/>Classes generated include the property.
private EntityReference new_partnergroup;
XML to Object works fine, Object to XML doesn't work.
I'm using Restlet JEE v2.0.14
Any help would be much appreicated.
Regards,
Tim