You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sanjayasing <sa...@opensource.lk> on 2003/06/19 11:12:43 UTC
wsdd question
---------------
Lanka Software Foundation (http://www.opensource.lk)
Promoting Open-Source Development in Sri Lanka.
---------------
In the wsdd file, that is generated when the stock example is deployed, in
axis java the following exists.
<requestFlow name="checks">
<handler type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<handler type="java:org.apache.axis.handlers.SimpleAuthorizationHandler"/>
</requestFlow>
Further down this block of elements are there
<service name="urn:xmltoday-delayed-quotes" provider="java:RPC">
<requestFlow name="checks">
<handler type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<handler type="java:org.apache.axis.handlers.SimpleAuthorizationHandler"/>
</requestFlow>
<parameter name="allowedRoles" value="user1,user2"/>
<parameter name="allowedMethods" value="getQuote test"/>
<parameter name="wsdlServicePort" value="GetQuote"/>
<parameter name="className" value="samples.stock.StockQuoteService"/>
</service>
could someone explain whether the requestFlow block from above is referred in
the service block against the name "checks"? If so why have the the handler
definitions been redeclared in the service block? If such a reference is made
I guess it is not necessary to redefine the handlers. It would be really
helpful if someone could explain what is being done here.
thanks.