Below is an example of a simple "CountSessionHandler" that I have.
note the requestFlow and responseFlow tags. 

To activate the authentication handler you need to add tags to your
deploy.wsdd and redeploy your service as I suggested below.  If this 
does not solve your problem then I am not sure I understand your 
original question.

...
...

 </globalConfiguration>
 <handler name="CountSession" type="java:com.avaya.ws.CountSessionHandler"/> <service 
name="Count" provider="java:RPC">
...
...
...
 <service name="Count" provider="java:RPC">
  <operation name="add" qname="ns3:add" xmlns:ns3="urn:com.avaya.Count">
   <parameter name="in0" type="xsd:int" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
  </operation>
  <requestFlow>
   <handler type="CountSession"/>
  </requestFlow>
  <responseFlow>
   <handler type="CountSession"/>
  </responseFlow>
  <parameter name="allowedMethods" value="add"/>
  <parameter name="wsdlPortType" value="Count"/>
  <parameter name="scope" value="Session"/>
  <parameter name="className" value="com.avaya.ws.CountSoapBindingImpl"/>
  <parameter name="wsdlServicePort" value="Count"/>
  <parameter name="wsdlTargetNamespace" value="urn:com.avaya.Count"/>
  <parameter name="wsdlServiceElement" value="CountService"/>
 </service>

-----Original Message-----
From: Marc Boorshtein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:25 PM
To: [EMAIL PROTECTED]
Subject: RE: Enabling SimpleAuthenticationHandler?


ok, after looking at the config file i found that the HTTPAuth handler
is used in the http transport.  I can't find any examples as to how to
use this though.  Could someone point to some docs or example
configurations?

Thanks

Marc Boorshtein
On Tue, 2003-07-29 at 21:09, Yakulis, Ross (Ross) wrote:
> Try adding the following to your deploy.wsdd.
> 
>   <service .....>
>       <requestFlow>
>         <handler type="Authenticate"/>
>       </requestFlow>
>   </service>
> 
> -----Original Message-----
> From: Marc Boorshtein [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 5:51 PM
> To: [EMAIL PROTECTED]
> Subject: Enabling SimpleAuthenticationHandler?
> 
> 
> Hello,
> 
> I noticed that the simple authentication handler is present in my config
> file, but it doesnt seem to be enabled.  Am I supposed to add a
> parameter to the service before I deploy it?
> 
> Thanks
-- 
Marc Boorshtein <[EMAIL PROTECTED]>
OctetString

Reply via email to