You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Manjiri Gogate <mg...@hotmail.com> on 2011/04/26 20:20:01 UTC

Re: Securing a webservice

Web service security example (Calculator ) service does not work for me and I
get exception like this.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>Unauthorized Access by Principal Denied while invoking
public abstract int com.ln.crrg.common.ws.CalculatorWs.multiply(int,int)
with params [5, 6].</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

I have openejb-jar.xml
EJB and implementation class imported.
tomcatusers.xml file updated.


Am I missing any more configuration? Any input /advice is appreciated.

We are using apache-tomcat-6.0.29 with openejb war file.

Thank you

Manjiri Gogate

--
View this message in context: http://openejb.979440.n4.nabble.com/Securing-a-webservice-tp981248p3476150.html
Sent from the OpenEJB User mailing list archive at Nabble.com.