Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0-M2
-
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