[ https://issues.apache.org/activemq/browse/SM-440?page=all ]

Guillaume Nodet updated SM-440:
-------------------------------

    Component: servicemix-components
                   (was: servicemix-lwcontainer)
      Version: 3.0-M1
                   (was: incubation)

> SAAJ Lightweight Component SOAPAction Incorrect
> -----------------------------------------------
>
>          Key: SM-440
>          URL: https://issues.apache.org/activemq/browse/SM-440
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-components
>     Versions: 3.0-M2
>     Reporter: Jeff Davis
>      Fix For: 3.0-M2

>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to