I'm trying to use SAP JCo IDoc Library 3.0.5 / SAP JCo Library 3.0.6 for processing of IDocs / BAPIs sent from SAP. When a IDoc server is created with a set of ServerDataProvider properties, the server starts and is able to process the IDocs right. However, when I use the same configuration for starting a plain JCo Server for processing of BAPIs, the Server doesnt start. The getServer() call on JCoServer is rejected with a java.lang.ClassCastException - DefaultServer incompatible with JCoIDocServer. Is there any work around for this?