DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36898>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36898





------- Additional Comments From [EMAIL PROTECTED]  2005-10-03 17:25 -------
Looking at webserviceSampler, it currently gets a BufferedReader from apache
soap, so it's unlikely the sampler is the problem.

SOAPTransport st = msg.getSOAPTransport();
RESULT.setDataType(SampleResult.TEXT);
BufferedReader br = null;
// check to see if SOAPTransport is not nul and receive is
// also not null. hopefully this will improve the error
// reporting. 5/13/05 peter lin
if (st != null && st.receive() != null) {
        br = st.receive();
        if (this.getPropertyAsBoolean(READ_RESPONSE)) {
                StringBuffer buf = new StringBuffer();
                String line;
                while ((line = br.readLine()) != null) {
                        buf.append(line);
                }
                RESULT.sampleEnd();
                // set the response
                RESULT.setResponseData(buf.toString().getBytes());

If apache soap doesn't create a reader using the correct encoding, it "could"
cause the problem you see. I don't know apache soap well enough to say with any
certainty that is the case. It could also be a limitation of the assertion.

peter

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to