To investigate the situation, I have written a Python script that directly invokes the various webservice features; I could never get the script at https:///www.mydomain.com/webservices/ to respond to a POST button.
We are using Tomcat6 as our server.
A Python JSON request to util/calculate/cipStereoInfo succeeds; the information returned for cis-1,2-dichlorocyclohexane is
{"headers":{"tetraHedral":{"name":"tetraHedral","type":"COMPLEX","source":"CALCULATOR"},"doubleBond":{"name":"doubleBond","type":"COMPLEX","source":"CALCULATOR"}},"tetraHedral":[{"atomIndex":0,"chirality":"R"},{"atomIndex":1,"chirality":"S"}],"doubleBond":[]}
The Tomcat6 log shows:
09:41:53.190 [http-9136-8] INFO c.j.w.util.RestServiceFilter - 128.163.184.187 remaining quota: 99 (65.69 μs)
09:41:53.191 [postProcessExecutor-3] INFO c.j.ws2base.mapping.FieldMapperImpl - displayOptions build: 12.91 μs
09:41:53.192 [http-9136-8] INFO c.j.ws2base.mapping.FieldMapperImpl -
sum: 1.306 ms
cipStereoInfo 184.1 μs 1 OK
09:41:53.192 [http-9136-8] DEBUG c.j.w.util.RestServiceFilter - 2.065 ms - http://epoch.uky.edu:9136/webservices/rest-v0/util/calculate/cipStereoInfo
Some other advertised functions also work properly: util/checkers, util/calculate/stringMolExport, util/analyze. However, the following functions fail, with logged results shown.
util/convert/standardizer (giving aspirin as the structure parameter)
09:47:32.275 [http-9136-8] ERROR c.j.ws2base.util.RestExceptionMapper - null
javax.ws.rs.WebApplicationException: null
at com.sun.jersey.server.impl.uri.rules.TerminatingRule.accept(TerminatingRule.java:66) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511) [jersey-server-1.17.1.jar:1.17.1]
...
util/convert/clean (with c1ccccc1 as the structure parameter)
09:49:11.958 [http-9136-8] ERROR c.j.ws2base.util.RestExceptionMapper - null
javax.ws.rs.WebApplicationException: null
at com.sun.jersey.server.impl.uri.rules.TerminatingRule.accept(TerminatingRule.java:66) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.17.1.jar:1.17.1]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511) [jersey-server-1.17.1.jar:1.17.1]
...