DataPower

 View Only
  • 1.  Quiesce using SOMA

    Posted Sat December 21, 2024 06:18 PM

    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
    ------------------------------


  • 2.  RE: Quiesce using SOMA

    Posted Sat December 21, 2024 09:53 PM

    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
    ------------------------------



  • 3.  RE: Quiesce using SOMA

    Posted Fri January 03, 2025 08:31 AM

    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
    ------------------------------



  • 4.  RE: Quiesce using SOMA

    Posted 30 days ago
    It seems you're getting an error related to the class-name and class-display-name for the HTTPSourceProtocolHandler. The class-name should refer to the specific class for your HTTP handler, and the class-display-name is typically a user-friendly name displayed in logs or UI for that class.


    ------------------------------
    Para PC
    ------------------------------