In Deb's example, the request which is retried to the webservice is set on this line:
set LB_request [HTTP::request]
So instead of using the client's original HTTP request, you could set it to something custom. If this was the request you wanted to send:
POST /StockQuote HTTP/1.1
Host: www.stockquoteserver.com
Content-Type: text/xml; charset="utf-8"
Content-Length: nnnn
SOAPAction: "Some-URI"
DIS
Here is something you could try testing:
set LB_request {POST /StockQuote HTTP/1.1
Host: www.stockquoteserver.com
Content-Type: text/xml; charset="utf-8"
Content-Length: nnnn
SOAPAction: "Some-URI"
DIS
}
You'd need to manually calculate the payload length and set the content-length header accordingly.
Aaron