Changing the stockquote wsdd file so it looks like:
<deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<chain name="checks">
<handler type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<handler type="java:org.apache.axis.handlers.SimpleAuthorizationHandler"/>
</chain>
<service name="urn:xmltoday-delayed-quotes" provider="java:RPC">
<parameter name="className" value="samples.stock.StockQuoteService"/>
<parameter name="allowedMethods" value="getQuote test"/>
<parameter name="allowedRoles" value="user1,user2"/>
<requestFlow>
<chain type="checks"/>
</requestFlow>
</service>
</deployment>
The key changes are:
- defined a "checks" chain
- use that chain in the request flow of my service
This will fail in that the "checks" chain will never be executed. If I replace
<chain type="checks"/> with the list of handlers then it works.
Don't have time at this minute (hopefully later today) to look at it but I wanted
to get it out there in case someone can find the time to see what's going on.
This is a pretty critical bug for us.
thanks,
-Dug
- RE: error in wsdd processing dug
- RE: error in wsdd processing Glen Daniels