[ 
http://issues.apache.org/jira/browse/AXIS2-1834?page=comments#action_12456101 ] 
            
Ali Sadik Kumlali commented on AXIS2-1834:
------------------------------------------

Hi David,

You are totally right. But, for the JMS case, for example, wsa:To doesn't have 
service name[1]. Therefore, service dispatching based on wsa:To is impossible. 
That is why I created  AXIS2-1665.

Regards,

Ali Sadik Kumlali

[1] 
<wsa:To>jms:/QUEUE_JNDI_NAME?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory&java.naming.provider.url=t3://localhost:7001&java.naming.security.principal=weblogic&java.naming.security.credentials=weblogic</wsa:To>


> AddressingBasedDispatcher doesn't dispatch according to the wsa:Action
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-1834
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1834
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: kernel
>    Affects Versions: 1.1
>         Environment: Not important
>            Reporter: Ali Sadik Kumlali
>         Attachments: patch.txt
>
>
> AddressingBasedDispatcher only looks at <wsa:To> field. But in some 
> situations, service should be resolved from <wsa:Action>. Consider following 
> scenario:
> - JMS transport is used
> - Sender doesn't and cannot be able to set message header property called 
> SOAPAction
> In this case, service is not found as AddressingBasedDispatcher doesn't check 
> <wsa:Action> field.
> I've added <wsa:Action> check to AddressingBasedDispatcher::findService() and 
> successfully used over my custom JMS transport listener(Please look at 
> AXIS2-1585 for more details regarding MDB based JMS transport.)
> Regards,
> Ali Sadik Kumlali
> P.S.: Patch was created under 
> ...\branches\1_1\modules\kernel\src\org\apache\axis2\engine

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to