Send simple POST-Request

Jan Torben Heuer <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
Hi,

I want to send a simple POST request with a String (it's actually xml) as
body, no pairs of key/value. Is that possible?

I only found

PostMethodWebRequest#public void setParameter(java.lang.String name,
                         java.lang.String value)
but obviously it needs a name.

I tried to subclass MessageBodyWebRequest but MessageBody is not public,
thus I cannot overwrite:
protected abstract com.meterware.httpunit.MessageBody getMessageBody()


Thanks,

Jan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.