Hide Forgot
project_key: SOA This minor bug is located in org.jboss.soa.esb.samples.quickstart.httpgateway.MyAction. The process method is defined in following way: {code:title=MyAction.java|borderStyle=solid} public String printHttpRequestInfo(@BodyParam byte[] httpPayload {code} But this way the http body *is not* extracted from the request. The correct httpPayload type should be *String*. I think it is good to fix this because (unfortunately) this is the only place where @BodyParam anotation is used.
Link: Added: This issue is related to JBESB-3689
Should be in ER5. tcunning@localhost:http_gateway]$ svn commit Sending http_gateway/readme.txt Sending http_gateway/src/org/jboss/soa/esb/samples/quickstart/httpgateway/MyAction.java Transmitting file data .. Committed revision 37476.
Release Notes Docs Status: Added: Documented as Resolved Issue Writer: Added: dlesage Release Notes Text: Added: https://issues.jboss.org/browse/SOA-3371 Due to a bug in the process method the HTTP request payload was not extracted to the console correctly. This has been fixed by a change to the method.
Verified in ER5. {noformat} 10:52:52,464 INFO [STDOUT] ------------Http Request body ------------------- 10:52:52,464 INFO [STDOUT] <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> </soap:Header> <soap:Body> </soap:Body> </soap:Envelope> {noformat}