AnsweredAssumed Answered

Axis2 C Rampart WS security policy

Question asked by samuelzero on May 27, 2008
Latest reply on May 30, 2008 by samuelzero
Hi,
I automatically created the stub with the Axis2/c WSDL2C tool . Of course, whit the authentication service I retrive the ticket. Now I've to attach the ws headers:


  <deployment xmlns='http://xml.apache.org/axis/wsdd/'
               xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'>
      <transport name='http'
                 pivot='java:org.apache.axis.transport.http.HTTPSender'/>
      <globalConfiguration >
         <requestFlow >
            <handler type='java:org.apache.ws.axis.security.WSDoAllSender' >
               <parameter name='action' value='UsernameToken'/>
               <parameter name='user' value='ticket'/>
               <parameter name='passwordCallbackClass'
                value='org.alfresco.example.webservice.sample.WebServiceSample1'/>
               <parameter name='passwordType' value='PasswordText'/>
            </handler>
         </requestFlow >
      </globalConfiguration>
    </deployment>

How can I translate this policy into axis2.xml style policy?

Outcomes