Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-3371

http_gateway quickstart doesn't output http request body to console as it should

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 5.1.0 GA, 5.2.0.ER3
    • Fix Version/s: 5.2.0.ER5
    • Component/s: None
    • Labels:
      None
    • Release Notes Text:
      Hide
      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.
      Show
      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.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      This minor bug is located in org.jboss.soa.esb.samples.quickstart.httpgateway.MyAction. The process method is defined in following way:

      MyAction.java

       public String printHttpRequestInfo(@BodyParam byte[] httpPayload
      

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tcunning Tom Cunningham
                  Reporter:
                  fnguyen Filip Nguyen
                  Writer:
                  David Le Sage
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: