Is there a way I can set   the credential (WS-Security) in AXIS beta2?
I am looking at the Call for  API to set it .. but I am not clear?

  <S:Envelope xmlns:S="http://www.w3.org/2001/12/soap-envelope"
      xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">
  <S:Header>
      ...
  <wsse:Security>
      <wsse:UsernameToken>
          <wsse:Username>Zoe</wsse:Username>
          <wsse:Password>ILoveDogs</wsse:Password>
      </wsse:UsernameToken>
  </wsse:Security>
      ...
  </S:Header>
  ...
  </S:Envelope>

What does setUserName() and setPassword() do?

Thanks for any pointers.
/prasanta
 

Reply via email to