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

SAAJ Lightweight Component SOAPAction Incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-M2
    • 3.0-M2
    • servicemix-components
    • None

    Description

      It appears as though the SOAPAction header for the SAAJ lightweight component is putting in double-quotes when a value is specified for that property. For instance, I tried the following configuration:

      <sm:activationSpec componentName="stockQuote" service="foo:stockQuote">
      <sm:component>
      <bean class="org.apache.servicemix.components.saaj.SaajBinding">
      <property name="soapAction" value="http://swanandmokashi.com/GetQuotes"/>
      <property name="soapEndpoint">
      <bean class="javax.xml.messaging.URLEndpoint">
      <constructor-arg value="http://localhost:8181/HomePage/WebServices/StockQuotes.asmx?WSDL"/>
      </bean>
      </property>
      </bean>
      </sm:component>
      </sm:activationSpec>

      When the results flowed through TCP Monitor, it captured:

      SOAPAction: ""http://swanandmokashi.com/GetQuotes""

      Which caused the web service call to fail. This behavior didn't occur in the M1 release I was previously using.

      jeff

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            dajevu Jeff Davis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: