Forum Discussion

Randy_Johnson_1's avatar
Randy_Johnson_1
Icon for Nimbostratus rankNimbostratus
Jul 26, 2011

Monitoring Web Service with POST request ?

Anyone have an example of monitoring a SOAP based web service with a POST request that they'd care to share?

 

 

Thanks !!

5 Replies

  • dubdub's avatar
    dubdub
    Icon for Nimbostratus rankNimbostratus
    Hi Randy,

     

     

    I ended up creating a simple HTTP client for my web service that returned a simple up/down text string, and set up my monitor as a standard HTTP get. I co-located the web service and the web client, just to reduce the risk of too many moving parts and a possible false failure report if the web app environment was down. It's been working well for us.

     

     

    Thanks,

     

    Jen
  • Thanks, Jen.

     

    I was hoping to do more of an 'end to end' type of monitor, by POSTing to the WebService, have the WebService go through it's paces (DB access, etc) and respond.

     

  • dubdub's avatar
    dubdub
    Icon for Nimbostratus rankNimbostratus
    Understood. This approach inserts an extra layer of complexity, but it was my only real choice due to the fact that the web service needed to invoke a third-party product that I can't install on the LTMs. I have minimal experience with SOAP-based monitors, so hopefully someone else can chime in with some good ideas...

     

     

    Thanks,

     

    Jen
  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    How about using an external monitor in perl... The built in perl has a copy of the SOAP::Lite module in it. With that you can write any SOAP query you like for your monitor.

     

     

    H