Hi,
One possibility to use XMI message to update the info.
The XMI (SOAP) message could be sent by a program (cUR, Java, Python, etc.) from some computer
on the same network as the DataPower.
Here is the format, shown in bold below:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <dp:request xmlns:dp="http://www.datapower.com/schemas/management" domain="TestDomain"> <dp:modify-config> <PasswordAlias name="TestPasswordAlias"> <Password>mynewpassword</Password> </PasswordAlias> </dp:modify-config>
</dp:request> </soapenv:Body></soapenv:Envelope>The response would look something like:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<dp:response xmlns:dp="http://www.datapower.com/schemas/management">
<dp:timestamp>2022-06-27T15:27:30+02:00</dp:timestamp>
<dp:result>OK</dp:result>
</dp:response>
</env:Body>
</env:Envelope>
If the request is in a file change-password.xml, you could use curl to do this:
curl -d @change-password.xml
https://dp-mgt-ip:5550/service/mgmt/current -uadmin:adminPassword -k
Please let me know:
- if this is what you want
- if this works
Many thanks,
Steve Edwards
DataPower Specialist
------------------------------
Steve Edwards
Director
Escala Ltd
Southampton
02380783802
------------------------------