Hi All,
I am using Java code to call Infor IDM to retrieve document type and its file to store on local drive.
Somehow I am not able to execute the code I downloaded from Infor (find it in How to use java API in ca link )
I get below error:
log4j:WARN No appenders could be found for logger (idm.shade.org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
com.infor.daf.icp.HttpResponseException: Http redirects are not supported. Make sure you are connecting to the correct port.
at com.infor.daf.icp.internal.communication.HttpConnection.checkResponse(HttpConnection.java:1001)
at com.infor.daf.icp.internal.communication.HttpConnection.getDocument(HttpConnection.java:1064)
at com.infor.daf.icp.internal.communication.HttpConnection.getResponseDocument(HttpConnection.java:584)
at com.infor.daf.icp.internal.communication.HttpConnection.getResponseDocument(HttpConnection.java:579)
at com.infor.daf.icp.internal.communication.HttpConnection.post(HttpConnection.java:781)
at com.infor.daf.icp.CMItem.search(CMItem.java:1089)
at com.infor.daf.icp.CMItem.search(CMItem.java:1064)
at com.infor.daf.icp.CMItem.search(CMItem.java:1051)
at Retrieve.main(Retrieve.java:26)
Can anyone help me out to resolve the same.
Regards,
Monica