Forum Discussion

Adriano_Bezerr1's avatar
Feb 15, 2020

HTTP Post SOAP XML monitor with data

I need to set up an HTTP POST monitor that makes a call via SOAP XML, sends some data and I will handle the result, doing the test with CURL works 100%, however, when I configure the HTTP monitor or ...
  • Angelo_V's avatar
    Feb 15, 2020

    Try using HTTP monitor with these parameters:

    SendString:

    POST /aaa/services/ARService?server=mlt3ho0700&webService=MonitorarServico" HTTP/1.1\r\nHost: BIGIP\r\nConnection: close\r\nContent-Length: 386\r\nContent-Type: text/xml; charset=UTF-8\n\rSOAPAction: urn:MonitorarServico/monitorarServico\r\n\r\n\<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\"urn:MonitorarServico\"><soapenv:Body><urn:monitorarServico><urn:tipoOperacao>monitorarServico</urn:tipoOperacao><urn:nomeServidor>mlt3ho0740</urn:nomeServidor><urn:portaAplicacao>9080</urn:portaAplicacao><urn:nomeUsuario>TEST</urn:nomeUsuario></urn:monitorarServico></soapenv:Body></soapenv:Envelope>

    Receive String:

    <ns0:msgRetorno>UP</ns0:msgRetorno>

    AngeloV