Forum Discussion

Intensity_Analy's avatar
Intensity_Analy
Icon for Nimbostratus rankNimbostratus
Jun 11, 2014

APM with custom HTML element and web service call?

We are currently working on an F5 prototype configuration that includes adding a new HTML INPUT element to the logon page for APM. This element contains a text value that is submitted with the form. In the handler for the form, we would like to take the value of that INPUT element, and submit it to a SOAP-based web service (we may have the option for REST, as well).

 

So far, it appears that the appropriate element is added to the Logon page, but we don't know how to access its value from an iRule event (assuming that is the appropriate vehicle for performing the custom web service call). Once we have access to that value, we hope to use a TCL script to submit that value to the web service. Does the F5 APM implementation of TCL support web service calls?

 

1 Reply

  • Hello,

     

    You have to use sideband connections to make your web services call : https://devcentral.f5.com/wiki/irules.SIDEBAND.ashx

     

    The HTML input element can be added directly on the logon page. If you define 3 inputs (username, password, other) in your logon page, APM wait for a POST on /my.policy with these 3 values.

     

    BR

     

    Yann