Hi, On Thu, Dec 06, Māra Grīnberga wrote: > I'm new to Haproxy and I've a task for which I can't seem to find a > solution online. Probably, I'm not looking in the right places. > I need to check if a SOAP service responds before sending requests to the > server. I've read about this option: > option httpchk GET /check > http-check expect string OK > I think, it's what I need. But is there a way to pass SOAP envelope to this > "/check" service?
Do you mean POST to /check where post body is the SOAP envelope ? > Any suggestions and help would be appreciated! I think you can (ab)use http version to send body with option httpchk (https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#option%20httpchk) One example for sending xml post: https://discourse.haproxy.org/t/healthcheck-with-xml-post-in-body/733 -Jarno -- Jarno Huuskonen