Hi,

I have defined a JMS binding for one of my services.
My service has only one operation (name is not onMessage) and param is an 
xml object type.
I have specified the operationSelector and wireFormat as jmsdefault.

I have a client where I send a TextMessage to the JMS queue, the message 
text being the XML string required.
When I test this, I get a ClassCastException - SpyMessage to TextMessage.
My queue is defined in JBoss AS. 

Instead when my service has just one operation named onMessage and its 
param is javax.jms.Message, the operationSelector and wireFormat tags 
commented, it works fine.

Am I messing up with any jars? Any suggestions on what I have to check 
specifically and order if any.

What I want is an operation with a name other than onMessage and a param 
whose type is not javax.jms.Message.
Could you please tell me what should be the configuration for this.

Sangeetha
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to