ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Error running WCF example! what is the correct URI/Config?

Post new topic  Reply to topic
 Error running WCF example! what is the correct URI/Config? « View previous topic :: View next topic » 
Author Message
hsa
PostPosted: Thu Feb 18, 2010 12:17 am    Post subject: Error running WCF example! what is the correct URI/Config? Reply with quote

Newbie

Joined: 17 Feb 2010
Posts: 5

hi
MyEnv: MQClient=v7.0.1, .net=v3.5, MQMv5.3 on z/OS

Please help,
I cannot figure it out what is the correct format for running the example: <MQClient_home>\Tools\wcf\samples\WCF\oneway

I get exception for this config:

Code:
<client>
<endpoint address="jms:/queue?destination=JB.WEBS.DOTNET.REQUEST@MQU1&amp;connectionFactory=connectQueueManager(MQU1)clientConnection(MVSPF(1415))clientChannel(CLIENT.TO.MQU1)&amp;initialContextFactory=com.ibm.mq.jms.Nojndi"
binding="customBinding" bindingConfiguration="CustomBinding_IWMQSampleContract"
contract="IWMQSampleContract" name="CustomBinding_IWMQSampleContract" />
</client>

error System.ServiceModel.CommunicationException: WCFCH0307E: An error occurred while
attempting to send data for endpoint 'jms:/queue?destination=JB.WEBS.DOTNET.REQU
EST@MQU1&connectionFactory=connectQueueManager(MQU1)clientConnection(MVSPF(1415)
)clientChannel(CLIENT.TO.MQU1)&initialContextFactory=com.ibm.mq.jms.Nojndi' The
operation could not be completed. Review the linked exception for further detail
s. ---> IBM.XMS.InvalidDestinationException: The specified value 'IBM.XMS.Client
.WMQ' is not allowed for 'Expected ConnectionType = '. The given value is not al
lowed for the property specified. Change the value to a value that is supported
for the property.
at IBM.XMS.Client.Impl.XmsMessageImpl.set_JMSReplyTo(IDestination value)
at IBM.XMS.WCF.XmsChannelHelper.WriteSoapJMSRequestMessageContents(IBytesMess
age msg, ArraySegment`1 msgBody, IDestination jmsRepyTo, String endpointURL, Str
ing targetService, String soapAction, Byte[] correlId, Boolean oneWay)
at IBM.XMS.WCF.XmsOutputChannel.<BeginSend>b__1(AsyncTimedResult ar, Object p
aram)
--- End of inner exception stack trace ---

    Do I need to set the MQSERVER environment?

    FYI: I can put/get with the XMS examples and via MQexploreV7.

Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 18, 2010 3:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

@ this level (MQ Client V 7.0.1.x) you should be using the .NET and XMS that comes with the client install. Maybe your problem is a mix of versions?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hsa
PostPosted: Thu Feb 18, 2010 4:04 am    Post subject: Reply with quote

Newbie

Joined: 17 Feb 2010
Posts: 5

fjb_saper wrote:
@ this level (MQ Client V 7.0.1.x) you should be using the .NET and XMS that comes with the client install. Maybe your problem is a mix of versions?

documentaion says that mix of client v7 and manager v5.3 is OK. And WCF-channel comes first i v7.0.1
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Error running WCF example! what is the correct URI/Config?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.