Forum Discussion
Heidi_35827
Oct 06, 2014Nimbostratus
Help with SOAP Monitor
I am attempting to use the built-in SOAP monitor on an LTM with 10.2.4.
I have made several attempts, but no success yet. Any help or advice would be much appreciated!
One of the bigge...
mimlo_61970
Oct 07, 2014Cumulonimbus
put a Tab before your text and it will format it a little better.
Try this. I don't think you can have \r\n in the body, as I believe this signifies the end of the body. I believe you need to use just \n if you really want a newline in the body. I just remove them all for simplicity though, the server won't care about the formatting.
POST /EAS/CLEDRTest HTTP/1.1\r\nAccept-Encoding: gzip,deflate\r\nContent-Type: text/xml;charset=UTF-8\r\nSOAPAction: \"/CLEDRTest.serviceagent/CLEDRTestSOAP1/CLEDRTest\"\r\nContent-Length: 239\r\nHost: qaesb.nscorp.com:40020\r\nUser-Agent: Apache-HttpClient/4.1.1 (java 1.5)\r\nConnection: Close\r\n\r\n?\r\n
Also note that removing all the newlines shortened the content-length
- mimlo_61970Oct 07, 2014Cumulonimbusick, it looked fine in the preview, but it got cut off. so ignore my advice on formatting POST /EAS/CLEDRTest HTTP/1.1\r\nAccept-Encoding: gzip,deflate\r\nContent-Type: text/xml;charset=UTF-8\r\nSOAPAction: \"/CLEDRTest.serviceagent/CLEDRTestSOAP1/CLEDRTest\"\r\nContent-Length: 239\r\nHost: qaesb.nscorp.com:40020\r\nUser-Agent: Apache-HttpClient/4.1.1 (java 1.5)\r\nConnection: Close\r\n\r\n?\r\n
- mimlo_61970Oct 07, 2014CumulonimbusIf that doesn't work, telnet to the port on the server and paste this in to see what response code comes back POST /EAS/CLEDRTest HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "/CLEDRTest.serviceagent/CLEDRTestSOAP1/CLEDRTest" Content-Length: 239 Host: qaesb.nscorp.com:40020 User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Connection: Close ? After you hit enter on the last line, you should get a response. if you get a response before inputting the last line, something is wrong with the header
- Heidi_35827Oct 07, 2014NimbostratusOk, let me try the telnet...I didn't see this suggestion before now...I'll be back
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects