JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-5967

CXF is not applying the response block when is before the tag

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.2.1
  • Fix Version/s: 3.3.0
  • Component/s: Modules: CXF
  • Labels:
    None
  • Environment:

    OS X

  • User impact:
    Low
  • Similar Issues:
    None

Description

This is the use case to reproduce the issue:

<flow name="EchoFlow" doc:name="EchoFlow">
        <inbound-endpoint address="http://localhost:65082/services/EchoUMO" exchange-pattern="request-response" doc:name="Generic"/>
        <response>
            <append-string-transformer message="RESPONSE!" doc:name="Append String"/>
        </response>
        <cxf:jaxws-service serviceClass="org.mule.example.echo.Echo" doc:name="SOAP"/>
        <component class="org.mule.example.echo.Echo" doc:name="Component"/>
</flow>

The transformer in the response block is not being applied before sending the message to the inbound-endpint.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    echocxf.zip
    19/Dec/11 02:44 PM
    11 kB
    Matías Pentreath
    1. Text File
      classes/mule-test-exclusions.txt 0.0 kB
    2. File
      META-INF/flows/Echo.mflow 3 kB
    3. XML File
      META-INF/mule-project.xml 0.2 kB
    4. File
      classes/log4j.properties 0.3 kB
    5. File
      mule-app.properties 0.1 kB
    6. XML File
      Echo.xml 1 kB
    7. File
      mule-deploy.properties 0.2 kB
    8. File
      classes/org/.../CxfEchoFlowTestCase.class 0.5 kB
    9. Java Source File
      META-INF/src/.../CxfEchoFlowTestCase.java 0.7 kB
    10. XML File
      classes/echo-cxf-response.xml 0.2 kB
    11. File
      classes/org/mule/example/echo/Echo.class 0.6 kB
    12. File
      classes/org/.../echo/CxfEchoTestCase.class 3 kB
    13. Java Source File
      META-INF/src/main/.../example/echo/Echo.java 0.7 kB
    14. Java Source File
      META-INF/src/.../echo/CxfEchoTestCase.java 2 kB
    Download Zip
    Show
    Zip Archive
    echocxf.zip
    19/Dec/11 02:44 PM
    11 kB
    Matías Pentreath

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Matías Pentreath added a comment - 19/Dec/11 02:44 PM

Attaching studio project to reproduce this issue. It contains the echo example.

Show
Matías Pentreath added a comment - 19/Dec/11 02:44 PM Attaching studio project to reproduce this issue. It contains the echo example.
Hide
Permalink
Evangelina Martinez Ruiz Moreno added a comment - 22/Jun/12 07:10 PM

This issue is fixed in Mule 3.3 with the improvements done on the transformers.

The problem with having a response block before returning the soap message through the HTTP inbound endpoint is that the type of the payload is OutputHandler. Which the append string was not recognizing as a valid type to transform.

It wouldn't make much sense to have a response block at that point anyway. But if needed in previous versions of Mule, an ObjectToString can be explicitly defined.

Show
Evangelina Martinez Ruiz Moreno added a comment - 22/Jun/12 07:10 PM This issue is fixed in Mule 3.3 with the improvements done on the transformers. The problem with having a response block before returning the soap message through the HTTP inbound endpoint is that the type of the payload is OutputHandler. Which the append string was not recognizing as a valid type to transform. It wouldn't make much sense to have a response block at that point anyway. But if needed in previous versions of Mule, an ObjectToString can be explicitly defined.

People

  • Assignee:
    Evangelina Martinez Ruiz Moreno
    Reporter:
    Matías Pentreath
Vote (0)
Watch (0)

Dates

  • Created:
    19/Dec/11 02:44 PM
    Updated:
    22/Jun/12 07:10 PM
    Resolved:
    22/Jun/12 07:10 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.