cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10461] New: - No soap body created in SOAPHelper.invoke()
Date Thu, 04 Jul 2002 04:22:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10461>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10461

No soap body created in SOAPHelper.invoke()

           Summary: No soap body created in SOAPHelper.invoke()
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: chrisw@esd.nec.com.au


There is a bug in the current version (1.8) of 
src/java/org/apache/cocoon/components/language/markup/xsp/SOAPHelper.java

PostMethod.generateRequestBody is never called because the prototype for this 
in the org.apache.commons.httpclient.methods.PostMethod class has changed to 
pass params as a Map instead of a HashMap.

So in SOAPHelper.java the following:
import java.util.HashMap;

needs to change to 
import java.util.Map;

and 
PostMethod method = new PostMethod(url.getFile()) {
    protected String generateRequestBody(HashMap params) {

needs to change to
PostMethod method = new PostMethod(url.getFile()) {
    protected String generateRequestBody(Map params) {

and then all is hunky-dory.  I hope this will suffice, I've not reported a fix 
before.

Cheers,
Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message