File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Webservice client for MS CRM in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservice client for MS CRM in java " Watch "Webservice client for MS CRM in java " New topic

Webservice client for MS CRM in java

rashmi shivanna

Joined: Aug 19, 2009
Posts: 15
Hi ,
I want to connect to MS CRM with java werservice client . i am able to connet to and store and retrrive the data . But i want to retrive the data based on query condition , update the data based these 2 things are not workin for me .
if any one has worked on this can you please provide the sample code .
i am thinking the problem is while settting the query condition values .

this is my code . please help me on this .

//***query conditon **/
ConditionExpression conditionExpression = ConditionExpression.Factory.newInstance();

// void setValueArray(int i, org.apache.xmlbeans.XmlObject value);

ArrayOfAnyType arrtype = ArrayOfAnyType.Factory.newInstance();
String s = "<accountid>123</accountid>";
StringReader strr = new StringReader(s);
XmlObject obj = XmlObject.Factory.parse(strr);
//ArrayOfAnyType arr = new ArrayOfAnyType(new String[]{createdAccountid});
ArrayOfConditionExpression arr = ArrayOfConditionExpression.Factory.newInstance();
FilterExpression filter = FilterExpression.Factory.newInstance();
I agree. Here's the link:
subject: Webservice client for MS CRM in java
It's not a secret anymore!