login button

Unable to parse request URL - MQ Series 6.0 over JMS Transport

Forums :

Hi,

I am using JMS Transport over MQ Series 6.0 for my web service. I am using JNDI to locate queues on both client and service side. I have two problems:

1. When my client sends a request, I see JMSListener on th service side, gets the request, however, I get the following error: 

Unable to parse request URL [jms:/CreqQ?transport.jms.ConnectionFactoryJNDIName=clientQCF&java.naming.factory.initial=com.sun.j
ndi.fscontext.RefFSContextFactory&java.naming.provider.url=file:///C:/JNDI-Client][/services]

2. Interestingly, I see the Soap Fault in the response queue as well, However the client is for some reason, listening on temporary queue. I see following text on the client-side:

I tried to override the default (temporary queue) with transport.jms.ReplyDestination parameter but so far I did not have luck listening on the response queue.

I am using wso2wsas-2.2.1. Any hints or pointers regarding these two problems, I would very much appreciate.

Thanks,
Prasad

Expecting a response to JMS Destination : queue://QM_CLNT_HOST/AMQ.4808E449029B0420?persistence=1

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I was able to solve second

I was able to solve second problem. All I had to was set the property on ConfigurationContext, as shown below 
 
//set JMSConstants.REPLY_PARAM property to JNDI response queue
configContext.setProperty("transport.jms.ReplyDestination", "CrespQ");

 

 

I was able to solve first one as well

Basically replace "services" with "/" in servicePath parameter in axis2.xml as shown below:

 

<parameter name="servicePath">/</parameter>

 

<!--<parameter name="servicePath">services</parameter>-->

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.