Skip to content

Instantly share code, notes, and snippets.

@egonw
Created January 15, 2009 15:43
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/47449 to your computer and use it in GitHub Desktop.
Save egonw/47449 to your computer and use it in GitHub Desktop.
xmpp.connect();
service = xmpp.getService("cdk.ws1.bmc.uu.se");
service.discoverSync(5000);
service.getFunctions();
f = service.getFunction("TPSA");
result = f.invokeSync(cdk.fromSMILES("CC").CML, 5000);
tpsaString = result.getTextContent()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment