|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error running WCF example! what is the correct URI/Config? |
« View previous topic :: View next topic » |
Author |
Message
|
hsa |
Posted: Thu Feb 18, 2010 12:17 am Post subject: Error running WCF example! what is the correct URI/Config? |
|
|
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&connectionFactory=connectQueueManager(MQU1)clientConnection(MVSPF(1415))clientChannel(CLIENT.TO.MQU1)&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 |
|
 |
fjb_saper |
Posted: Thu Feb 18, 2010 3:27 am Post subject: |
|
|
 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 |
|
 |
hsa |
Posted: Thu Feb 18, 2010 4:04 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|