STEP 1: Create a Library (if does not exist) and Add a WSDL to the Library.
- Login to the console - https://localhost:5050/login.do
- Click on Gateway –> WSDLPolicies –> WSDL Libraries

- New WSDL Library

- After adding the Library –> Add WSDL to the Library


- Save the Library

STEP2: Add a new WSDL Policy.
- Click on Gateway -> WSDL Policy –> New
- Complete the details –> Next

- Select the operation for WSDL Policy from the Library

- Click Next, Next and Done.
- Goto Gateway –> WSDL Policy –> Click on the newly created Policy
- Click on Settings

- Scroll down to Processing Settings

- select the settings that is applicable, In this case we want to add UserName Token to the request.
- Go back to the WSDL and click on the Port

- Scroll down all the way and mark Enable WSDL Access as true.

No comments:
Post a Comment