Using WebMethods JMS provider from WebSphere 50

Hi …

We created a webMethods “application” that uses JMS to communicate with external clients. We have tested this using stand-alone J2SE clients and the Sun filesystem JDNI provider.

Now we are trying to use this in WebSphere 5.0. We are able to register the TopicConnectionFactory and Topics in JNDI, but when we try to retrieve them from JNDI we get a class cast exception complaining about javax.naming.Reference.

Anyone that has any ideas about how to solve this ?