Joseph is right - in general this blog post can help with XML Management requests:
https://stamm-wilbrandt.de/en/blog/XML%20Management%20sample%20requests.html
$ coproc2 happy.js <("") http://dp-hermann-work.fyre.ibm.com:2227; echo
2025
$ cat happy.js
for(var sum=0,i=1;i<=9;++i){sum+=i*i*i}
session.output.write(sum);
$
------------------------------
Hermann Stamm-Wilbrandt
Compiler Level 3 support, IBM DataPower Gateways
IBM
Boeblingen
------------------------------
Original Message:
Sent: Sat December 21, 2024 09:52 PM
From: Joseph Morgan
Subject: Quiesce using SOMA
What firmware are you running?
I think the problem is your "QuiesceRequest", which should be "ServiceQuiesce". I don't see "QuiesceRequest" in any firmware.
Within there, you have "type", "name", "timeout", "delay".
There is no "class-display-name".
------------------------------
Joseph Morgan
CEO - Independent
Dallas TX
Original Message:
Sent: Sat December 21, 2024 06:18 PM
From: jhon cardenas
Subject: Quiesce using SOMA
I need Quiesce script using SOMA, I am using this script but I am getting and error: what is the class-name for HTTPSourceProtocolHandler and class-display-name?
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.datapower.com/schemas/appliance/management/3.0">
<soapenv:Header/>
<soapenv:Body>
<ns:QuiesceRequest>
<!--You have a CHOICE of the next 2 items at this level-->
<!--Optional:-->
<ns:Device>
<ns:Timeout>60</ns:Timeout>
</ns:Device>
<!--Optional:-->
<ns:Domain>
<ns:Name>PTest_HIEServices</ns:Name>
<ns:Timeout>60</ns:Timeout>
<!--Optional:-->
<ns:Services>
<!--Zero or more repetitions:-->
<ns:Object name="DualEligibilityDataRequestService_HTTP_FSH" class-name="HTTPSourceProtocolHandler" class-display-name="HTTPSourceProtocolHandler"/>
</ns:Services>
</ns:Domain>
</ns:QuiesceRequest>
</soapenv:Body>
</soapenv:Envelope>
------------------------------
jhon cardenas
------------------------------