Forum Discussion
Capturing response from a wsdl via a curl call in an iApp.
Hello-
If you take a look at the latest version of the iApp template for Exchange Server (named 'f5.microsoft_exchange_2010_2013_cas.v1.3.0.tmpl' and available in the iapps-1.0.0.157.0.zip bundle from https://downloads.f5.com/esd/product.jsp?sw=BIG-IP&pro=big-ip_v11.x), you can see an example of a curl-based external monitor (an "EAV") that gets created to monitor the Autodiscover service. Although the URI and parameters are going to be different than what you what, it should otherwise serve as a good model for how to get an iApp to write an external script for use as a monitor, and what that script should look like.
Let us know if that gives you the information you need.
- eblair84_141985May 02, 2014
Nimbostratus
I looked at the template and I can see a bit of what's going on there. The script is created inline and then turned into an external monitor. The I/O of the script makes sense. Where I'm getting stuck is this situation: curl script sends SOAP payload, receives response which is stored to a variable. The contents of the variable then need to dictate the status of a pool as being up/down. That piece is where I'm getting stuck. - eblair84_141985May 02, 2014
Nimbostratus
I was going to try to use the soap monitor but the soap payload is sent to an https site, which requires a specific cert and ca as part of the curl call, which does not seem to be a feature of the soap monitor.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com