|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
reading XML message from IBM MQ (web sphere) using vb.net |
« View previous topic :: View next topic » |
Author |
Message
|
skana |
Posted: Fri Dec 15, 2017 8:59 am Post subject: reading XML message from IBM MQ (web sphere) using vb.net |
|
|
Newbie
Joined: 14 Dec 2017 Posts: 2
|
Hi,
I am new to XML and message Queues. My requirement is to read a XML message from the MQ(Websphere) process them and insert to our database(oracle). We use VB.NET for our webapplication.
We need to do it in a transactional way, building custom queue.
Any code sample or guidance would be highly appreciated.
Thanks in advance for your earliest response.
skana |
|
Back to top |
|
 |
zpat |
Posted: Mon Dec 18, 2017 12:34 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
skana |
Posted: Thu Dec 21, 2017 7:30 am Post subject: |
|
|
Newbie
Joined: 14 Dec 2017 Posts: 2
|
Hi,
I installed WebsphereMqClient V8 to my consoleApplication(VS2015) and the below lines of code throws the following error :
---------------------------------------------------------
Dim xmsConnFact As IConnectionFactory
Dim factoryFactory As XMSFactoryFactory
factoryFactory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ)
'create WMQ connection factory
xmsConnFact = factoryFactory.CreateConnectionFactory()
----------------------------------------------------------------------------
Could not load type 'IBM.WMQ.ManagedCommonServices' from assembly 'IBM.XMS.Client.WMQ, Version=8.0.0.7, Culture=neutral, PublicKeyToken=d2666ab12fca862b'.
-----------------------------------------------------------------------------
Should I need to install any other software for this code to work? Do I need MqClient for Windows also?
Appreciate your earliest response.
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 21, 2017 9:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
skana wrote: |
Hi,
I installed WebsphereMqClient V8 to my consoleApplication(VS2015) and the below lines of code throws the following error :
---------------------------------------------------------
Dim xmsConnFact As IConnectionFactory
Dim factoryFactory As XMSFactoryFactory
factoryFactory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ)
'create WMQ connection factory
xmsConnFact = factoryFactory.CreateConnectionFactory()
----------------------------------------------------------------------------
Could not load type 'IBM.WMQ.ManagedCommonServices' from assembly 'IBM.XMS.Client.WMQ, Version=8.0.0.7, Culture=neutral, PublicKeyToken=d2666ab12fca862b'.
-----------------------------------------------------------------------------
Should I need to install any other software for this code to work? Do I need MqClient for Windows also?
Appreciate your earliest response.
Thanks |
Not if you plan to use managed clients only. However you should have at least 2 dlls in the GAC. The MQ .NET client dll and the XMS client dll.
Have fun  _________________ MQ & Broker admin |
|
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
|
|
|
|