F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Doug_129661's avatar
Doug_129661
Icon for Nimbostratus rankNimbostratus
Dec 11, 2013

How to call an external Web service in an iRule

We are trying to figure out how to call an external web service (SOAP) in an irule. We would like to use the results of the response to make an authorization decision on access to a resource. The docs I have found seem to show calling another VS, is it possible to make an http call straight to a web service? Are there any examples of what all is needed to set that up?

 

Any assistance appreciated

 

1 Reply

  • Richard__Harlan's avatar
    Richard__Harlan
    Historic F5 Account

    You could make a sideband call, this will pause the iRule. Then when you get the response back you can make the LB decision.

     

    https://devcentral.f5.com/wiki/irules.SIDEBAND.ashx