[ 
https://issues.apache.org/activemq/browse/SM-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44744#action_44744
 ] 

Freeman Fang commented on SM-811:
---------------------------------

Hi Ulhas,

Apply patch for 3.2 branch
http://svn.apache.org/viewvc?rev=683092&view=rev
I think we still need this patch for trunk, would you please contribute a patch 
based on trunk code?

Tons of thanks
Freeman

> servicemix-jms does not set SoapAction property for SOAP jms messages
> ---------------------------------------------------------------------
>
>                 Key: SM-811
>                 URL: https://issues.apache.org/activemq/browse/SM-811
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jms
>    Affects Versions: 3.0, 3.0.1, 3.1
>         Environment: Tested with Tibco EMS as jms server and Tibco Business 
> works as system providing the service. The error should also occur with 
> ActiveMQ.
>            Reporter: Christian Schneider
>            Priority: Critical
>         Attachments: servicemix-jms-sm-811-2.patch, 
> servicemix-jms-sm-811.patch, servicemix-jsr181-sm-811.patch, 
> SM-811-Aug-5.patch
>
>
> When tibco is the client all works well but when tibco implements the service 
> it rejects the soap/jms message as it wants the SoapAction jms property to be 
> set.
> I have added a dummy SoapAction in StandardProviderProcessor:
> ...
> MessageProducer producer = session.createProducer(destination);
>           TextMessage msg = session.createTextMessage();
> NormalizedMessage nm = exchange.getMessage("in");
> fromNMS(nm, msg);
> String soapAction = "default";
> msg.setStringProperty("SoapAction", soapAction);
> ...
> I was able to do a complete request/reply with tibco in this way. Of course 
> the "default" SoapAction will only help if my service has only one method.
> From what I see in Tibco the SoapAction should at least contain the method 
> name of the service being called. 
> The servicemix-jms component should by default set this property to make it 
> more compatible with other soap/jms compatible systems. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to