Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I am working on accessing online CRM service from java/android.
For android, I have tried ActivityTracker android sample source code provided in the link
Also, I have used CRM sdk library provided in this link https://github.com/DynamicsCRM/crm-mobilesdk-library-for-android .
Using this source code for android, I can execute my service request. Bu after setting CRM credential on login, some issues arose egarding redirect_uri/ reply_address that doesn't match or something. I used something address from the service uri and it worked. I could login but I got a blank page in the application.
I then tried this sample https://code.msdn.microsoft.com/Consuming-CRM-REST-Service-ae24a15e.
But that also didn't work.
So now I am working Axis2 wsdl2java library using the steps suggested here in this link https://msdn.microsoft.com/en-us/library/jj602979.aspx .
Using this I can generate a code stub to connect to online CRM. But now, when I try for request with request name 'RetrieveAllEntities' at this codeline OrganizationServiceStub.ExecuteResponse response = serviceStub.execute(exe);
I am getting error "org.apache.axis2.AxisFault: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter schemas.microsoft.com/.../Services:request. The InnerException message was 'Element value from namespace schemas.datacontract.org/.../System.Collections.Generic cannot have child contents to be deserialized as an object. Please use XmlNode to deserialize this pattern of XML.'. Please see InnerException for more details."
can anyone help me please? Please suggest me solution in the existing or suggest me any other working way to connect online CRM from android/java.
Business Applications communities