Forum Discussion

Craig_Gurnett_1's avatar
Craig_Gurnett_1
Icon for Nimbostratus rankNimbostratus
Jul 02, 2009

SOAP Monitor

Hi,

 

I am trying to create a HTTP Soap monitor but continally get error messages when creating the monitor like "Value may not contain literal newline characters."

 

Below is a capture of the traffic that I need to create the soap Monitor from. Any assitance is appreciated.

 

POST /f5ping HTTP/1.1

 

Content-Type: text/xml;charset=UTF-8

 

SOAPAction: "http://test1.com.au/services/address/wsdl/0/findAddress"

 

Authorization: Basic dTU1NDAzMjpudWxs

 

User-Agent: Jakarta Commons-HttpClient/3.0.1

 

Host: 192.168.1.1:9001

 

Content-Length: 209

 

 

 

 

3 Replies

  • Instead of putting the request in literally, you can replace the line breaks with \r\n which is the escape sequence for a carriage return and line feed.

     

     

    Aaron
  • I have added the following into the Monitor but I still get " ! Value may not contain literal newline characters. "

     

     

    POST /f5ping HTTP/1.1\r\n

     

    Content-Type: text/xml;charset=UTF-8\r\n

     

    SOAPAction: "http://test1.com.au/services/address/wsdl/0/findAddress"\r\n

     

    Authorization: Basic dTU1NDAzMjpudWxs\r\n

     

    Host: 192.168.1.1:9001\r\n

     

    Content-Length: 209\r\n

     

    \r\n

     

    \r\n

     

    \r\n

     

    \r\n
  • The entire entry needs to be on one line with no actual line breaks.

     

     

    I don't think you need any of the \r\n's in or after the payload. You need to update the content length based on the number of characters in the payload.

     

     

    Aaron