Forum Discussion
Capturing response from a wsdl via a curl call in an iApp.
What error are you seeing? You say "the Application Service implementing the template fails", but what's the specific message?
Is there any way you can post your script here? Obfuscate or remove any credentials, of course, and feel free to cut out details of the POST of you need to. I'm mostly interested in seeing how you deal with parsing and acting upon the response. Remember, if anything gets sent to stdout, the monitor will mark the member "up". You want to suppress all output for the monitor to consider the member "down".
- eblair84_141985May 08, 2014
Nimbostratus
I created a very barebones template. I put in there: set response [exec curl [credentials and site] ] It appears to execute the curl statement (the error shows the output of said curl statement) but says "the script did not successfully complete". It'll show the output of the curl call (which is a SOAP statement to a remote wsdl) but is unable to set the output back to the variable. Ultimately, I just want a solution that executes a SOAP call to a secure remote wsdl and will mark a member up or down, based on response parameters I set. I've look at the SOAP monitor but see no place for specifying certs. I look at customer external monitors but I don't see a place for a conditional statement. I might specify "variableA = X" but how does the system look at that? Does it specify that value for that variable or query that variable for the value? I tried installing soaplite but think my perl installation is corrupted because I cannot get to an MCPAN prompt without its throwing errors about config files. - eblair84_141985May 14, 2014
Nimbostratus
Ultimately, I'd just like to be able to manually set the status of a monitor as up or down. Is there a way to do that natively within the F5 framework?
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