Click here to Skip to main content
16,021,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I need to use the WCF service to interect with Websphere MQ 7.0.1 and for that , I am using the custom channel of MQ.

I am using the following endpoint to connect to MQ,

<endpoint address="jms:/queue?destination=Test.REQUEST@DevMQ&amp;connectionFactory=binding(server)connectQueueManager(DevMQ)&amp;initialContextFactory=com.ibm.mq.jms.Nojndi&amp;replyDestination=Test" binding="customBinding" bindingConfiguration="CustomBinding_WMQ" name="EndPoint_WMQ" contract="IBMMQ_WCFTest.IWMQCalculatorContract"/>

Test.REQUEST = local queue for request
Test = local queue for response

My WCF is hosted on the same server where the MQ server is installed.
I am not able to connect to queue manager and put/get message.
If someone has done this than please share the code with me.

Thanks
Posted
Comments
Mark Salsbery 20-Jun-11 18:58pm    
No help in the documentation[^]??

1 solution

You have the samples in the documentation as directly by Mark S. Take a look a the link that should help.

WCF Samples[^]
 
Share this answer
 
Comments
Akash Agarwal 21-Jun-11 16:17pm    
Thanks Vivek !! but I have already gone through the link you provided. The connection string I have mentioned in my question is taken from that example only but still it is not working for me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900