You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/05/29 14:56:51 UTC
[jira] Resolved: (SM-440) SAAJ Lightweight Component SOAPAction
Incorrect
[ https://issues.apache.org/activemq/browse/SM-440?page=all ]
Guillaume Nodet resolved SM-440:
--------------------------------
Resolution: Fixed
Assign To: Guillaume Nodet
The code has not changed since a long time, so I guess the problem happened when changing one dependency (we now use axis instead of RI).
So i removed the added quotes (users using another saaj impl can still add them in the xml configuration).
Author: gnodet
Date: Mon May 29 05:53:51 2006
New Revision: 410091
URL: http://svn.apache.org/viewvc?rev=410091&view=rev
Log:
SMX-440: SAAJ Lightweight Component SOAPAction Incorrect
Added:
incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/saaj/SaajSoapActionTest.java
Modified:
incubator/servicemix/trunk/servicemix-components/pom.xml
incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/http/HttpConnector.java
incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/saaj/SaajBinding.java
incubator/servicemix/trunk/servicemix-components/src/main/java/org/apache/servicemix/components/saaj/SaajMarshaler.java
incubator/servicemix/trunk/servicemix-components/src/test/java/org/apache/servicemix/components/saaj/SaajMarshalerTest.java
> 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
> Assignee: Guillaume Nodet
> 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