S
Shiva Duriseati
Guest
Hi Wave, With Apache common Http Client I am able to update the values succesfully using Update Field Value trigger. I have used the following code and its working fine. String postResponse = null; File file=new File("D:/recordlist.xml"); try { HttpClient httpClient=new HttpClient(); PostMethod post = new PostMethod(" www.rollbase.com/.../updateArr post.addRequestHeader("Accept", "application/xml"); RequestEntity entity = new FileRequestEntity(file, "application/xml"); post.setRequestEntity(entity); httpClient.executeMethod(post); postResponse = post.getResponseBodyAsString(); System.out.println(postResponse); } catch (Exception e) { System.out.println(e); } My Xml File is as follows: one two three four Output: 4 records have been updated. Please revert back if you need any assistance. Regards, Shiva
Continue reading...
Continue reading...