I am following Jeff Pott's intro to web scripts, and I have a simple Java service that simply logs to the logfile whatever I put in a message parameter. My descriptor looks like this:
<webscript>
<shortname>Post Logging message</shortname>
<description>Writes a message to the log.</description>
<url>/someco/logging/log</url>
<format default="json">extension</format>
<authentication runas="admin">guest</authentication>
<transaction>required</transaction>
</webscript>Now when I call the endpoint I get a 401 not authorized. If I add an authentication header, it works fine. I was under the impression that the authentication tag in the descriptor allows anonymous guest access. Can someone explain this to me?