The SOAP Procedure |
The client provides the user name and password to be added to the UsernameToken element. You can provide this information in the outflow configuration of the Apache Rampart module as shown in the following example:
<parameter name="OutflowSecurity"> <action> <items>UsernameToken</items> <passwordType>PasswordText</passwordType> </action> </parameter>
Include the configuration parameter in the client's Axis2 configuration XML file, which is typically axis2.xml.
This configuration results in a password digest being sent to the service. To pass a plain-text password, include the following code as an <action> element:
<passwordType>PasswordText</passwordType>
Note that passing plain-text passwords is not recommended.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.