AnsweredAssumed Answered

Using the Ticket

Question asked by tremal on Jun 22, 2011
Hi,

I'm reading this wiki page http://wiki.alfresco.com/wiki/Web_Service_Samples_for_Java because I need insert the header in a SOAP Request but I must do it with JAX-WS instead of AXIS.

I do not undestand where must I put the next code:

<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>
and what's the "WebServiceSample1" class

Thanks

Outcomes