ServiceMix
  1. ServiceMix
  2. SM-577

JSR 181 fault message does not respect WSDL message fault definition

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Hide
        Guillaume Nodet added a comment -

        Author: gnodet
        Date: Mon Sep 25 04:09:46 2006
        New Revision: 449649

        URL: http://svn.apache.org/viewvc?view=rev&rev=449649
        Log:
        SM-577: JSR181 fault messages does not respect WSDL message fault definition

        Modified:
        incubator/servicemix/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/Jsr181HttpTest.java
        incubator/servicemix/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/PersonTest.java
        incubator/servicemix/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/beans/Echo.java
        incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java
        incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/xfire/JbiFaultSerializer.java

        Show
        Guillaume Nodet added a comment - Author: gnodet Date: Mon Sep 25 04:09:46 2006 New Revision: 449649 URL: http://svn.apache.org/viewvc?view=rev&rev=449649 Log: SM-577 : JSR181 fault messages does not respect WSDL message fault definition Modified: incubator/servicemix/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/Jsr181HttpTest.java incubator/servicemix/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/PersonTest.java incubator/servicemix/trunk/servicemix-itests/src/test/java/org/apache/servicemix/itests/beans/Echo.java incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/Jsr181ExchangeProcessor.java incubator/servicemix/trunk/servicemix-jsr181/src/main/java/org/apache/servicemix/jsr181/xfire/JbiFaultSerializer.java

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            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

                Development