Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egonw/95987 to your computer and use it in GitHub Desktop.
Save egonw/95987 to your computer and use it in GitHub Desktop.
xmpp.connect();
service = xmpp.getService("descriptor.ws1.bmc.uu.se");
service.discoverSync(5000);
service.getFunctions();
f = service.getFunction("XLogP");
propane = cdk.fromSMILES("COC")
result = f.invokeSync(propane.getCML(), 900000);
cmlReturned = xmpp.toString(result);
propertyList = cml.fromString(cmlReturned);
xlogp = propertyList.getPropertyElements().get(0).
getScalarElements().get(0).getValue()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment