hydrogenization fails

User 870ab5b546

28-10-2014 17:06:26

When I load the examples page marvin4JS/index.html, I can clean 2D, clean 3D, and look at R/S configurations, which suggests that we have Web services implemented correctly. However, when I try to hydrogenize, I get this error:


Failed HTTP request.
Response is not OK from /webservices/rest-v0/util/convert/hydrogenizer
HTTP ERROR:

What do I need to do to access the hydrogenization tool? We use editorws.html when creating the iframe that will contain Marvin4JS. I see that editorws.html calls getDefaultServices(), which is defined in js/webservices.js as follows:


function getDefaultServices() {
var base = getDefaultServicesPrefix();
var services = {
"clean2dws" : base + "/rest-v0/util/convert/clean",
"clean3dws" : base + "/rest-v0/util/convert/clean",
"molconvertws" : base + "/rest-v0/util/calculate/molExport",
"stereoinfows" : base + "/rest-v0/util/calculate/cipStereoInfo",
"reactionconvertws" : base + "/rest-v0/util/calculate/reactionExport",
"hydrogenizews" : base + "/rest-v0/util/convert/hydrogenizer",
"automapperws" : base + "/rest-v0/util/convert/reactionConverter"
};
return services;
}

ChemAxon 7c2d26e5cf

29-10-2014 15:14:55

Which JChem WS version you have? Probably, your JChem WS is not compatible with your Marvin JS version.


Current Marvin JS (14.10.27) requires JChem WS 14.7.21 or later version.

User 870ab5b546

29-10-2014 15:20:32

Oh, that's probably it. Thanks.