My Oracle Support Banner

Calling 11g GenericSoapService from Visual Basic with WS-Policy wss_username_token_service_policy (Doc ID 1397926.1)

Last updated on FEBRUARY 04, 2022

Applies to:

Oracle WebCenter Content - Version and later
Information in this document applies to any platform.


In 11g, GenericSoapService is a web service that can be used to call WebCenter Content services. To use this web service from Visual Basic, a "service reference" can be created that allows SOAP requests and responses to be created and parsed programmatically. 

To call this web service with anonymous user, the steps in the following note can be used. 
<Document 1397780.1> - Calling 11g GenericSoapService from Visual Basic as Anonymous User  
However, if user authentication is needed, a WS-Policy must be applied to the service. To setup GenericSoapService to use a WS-Policy of wss_username_token_service_policy, follow the steps in these notes:
The WebCenter Content domain must have OWSM installed to apply security options to the web service. An existing domain can be extended to include OWSM. 
<Document 1332250.1> - Creating a UCM Domain With OWSM Enabled
Once OWSM is installed, the wss_username_token_service_policy can be applied to GenericSoapService (GenericSoapPort) using the following note. 
<Document 1332300.1> - Setting up GenericSoapService in UCM 11g to Use WS-Security
 Once the policy is applied, the WLS Admin Server and WebCenter Content managed server must be restarted. 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.