How Do I ... : Web Services Tips, Hints and FAQs : How can I configure client services to pass WS-Security information?
How can I configure client services to pass WS-Security information?
The schema (http://schemas.xmlsoap.org/ws/2002/07/secext/) must be managed by the serializationManager of the Web services container. This is accomplished by modifying the client deployment descriptor to include the required schema.
 
<schemaUrls>
<schemaUrl>http://schemas.xmlsoap.org/ws/2002/07/secext/</schemaUrl>
</schemaUrls>
Authorization credentials can be specified in the SstWSService that is being invoked causing those credentials to be passed automatically as part of the message. The SstWSService contains accessors for getting and setting HTTP authorization credentials (#sstAuthCredential:) as well as WS-Security username tokens (#sstUsernameToken:). See the sample directory /samples/sstws/ws_security/Readme.txt for additional information and examples.
-------------------------------
Last modified date: 04/08/2023