Hi Raja,
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dp="http://www.datapower.com/schemas/management">
<!-- curl {-}{-}data-binary @request.xml https://{machine.name}:5550 -u admin:{adminPW} -k -->
<env:Body>
<dp:request domain="domainname">
<dp:set-config>
<PasswordAlias name="testalias">
<mAdminState>enabled</mAdminState>
<Password>thepassword</Password>
</PasswordAlias>
</dp:set-config>
<dp:do-action>
<SaveConfig/>
</dp:do-action>
</dp:request>
</env:Body>
</env:Envelope>
The above uses the legacy XML Management Interface which allows both the dp:set-config AND dp:do-action in the same SOAP request. If using the current XML Management Interface, those would need to be separated into different requests.
Best Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------
Original Message:
Sent: Thu January 05, 2023 03:32 AM
From: Raja Kumar
Subject: Need soma script for password alias mapping
Hi
Can anyone share me soma script for password alias mapping in datapower ?
Thanks and appreciate your help :-)
------------------------------
Raja Kumar
------------------------------