Hello !
I’m using Designer for webMethods 10.1 and I try to use the Azure Cosmos DB Java SDK for SQL API (azure-documentdb-2.1.0.jar).
This SDK needs some jars to be operational.
An error is generated when I import those jars :
- java-uuid-generator-3.1.3.jar
- and/or joda-time-2.3.jar
I always get this error message :
Could not run ‘connect’
com.wm.app.b2b.server.ServiceException: java.lang.IllegalStateException: java.lang.CloneNotSupportedException
Here is the service java I tried to execute :
[i][color=blue]public static final void connect(IData pipeline) throws ServiceException {
String url = “URL”;
String pwd = “PWD”;
DocumentClient client;
try{
JournalLogger.log(4,90,3,"[FRMK AZURE 2]", "DEBUT");
client = new DocumentClient(url, pwd, null, null);
JournalLogger.log(4,90,3,"[FRMK AZURE 2]", "FIN");
client.close();
}
catch (Exception e){
throw new ServiceException(e);
}
}[/color][/i]
Thank you for your help !