Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-577

JSR 181 fault message does not respect WSDL message fault definition

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: incubation
    • Fix Version/s: 3.1
    • Component/s: servicemix-jsr181
    • Labels:
      None
    • Environment:

      Linux

      Description

      I have deployed a new Service in jsr181 component. This service is based on a pojo with no annotations and is using style="document".
      The java method only perform a throw new Exception.

      The Component which get the jsr181 response is receiving a document with the following pattern :
      <fault>
      <message>Fault: the name of the exception thrown</message>
      <detail>a document corresponding to the fault message defined in the wsdl</detail>
      </fault>

      In fact, only the detail content should be set as the Fault (NormalizeMessage) content.

        Attachments

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              souillac charles SOUILLARD
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified