我正在尝试在全新安装的Websphere MQ 7.5.0.2 for Windows上执行RUNIVT测试,但是遇到了这个错误:
14/06/15 08:48:28 - Process(20900.1) User(bobble) Program(amqswsdl.exe)
Host(bobblespc) Installation(Installation1)
VRMF(7.5.0.2)
AMQ9920: A SOAP Exception has been thrown.
EXPLANATION:
A SOAP method encountered a problem and has thrown an exception. Details of the
exception are:
'System.InvalidCastException: Unable to cast transparent proxy to type
'MQSOAPHost'. at MQWSDL.Main(String[] args)'
ACTION:
Investigate why the SOAP method threw the exception.
----- MQWSDL.Main : 0 ---------------------------------------------------------
当行:
amqswsdl "jms:/queue?destination=SOAPN.demos@WMQSOAP.DEMO.QM&connectionFactory=(connectQueueManager(WMQSOAP.DEMO.QM))&initialContextFactory=com.ibm.mq.jms.Nojndi&targetService=StockQuoteDotNet.asmx&replyDestination=SYSTEM.SOAP.RESPONSE.QUEUE" StockQuoteDotNet.asmx generated\StockQuoteDotNet_Wmq.wsdl
被调用。
我找不到有关错误的详细信息或为什么我会收到错误?感激地收到任何帮助!
我在bin文件夹中找到了它 - 它是XMS命名空间的重定向...并重定向到我还没有安装的版本? WCF版本重定向v6& v7.0到v7.5。
我不知道安装它的位置或方式 - 或者它存储在Windows中的位置......但是当我尝试运行任何示例应用程序时,它们都因为无法加载程序集而崩溃v。2.5.0.2 of IBM.XMS
<configuration>
<!-- 1.7 clients/dotnetclient/src/code/PublisherPolicy/XmsPublisherPolicy.config, netClient, nn00 -->
<!-- Publisher policy file IBM.XMS -->
<!-- Redirects to version 2.5.0.2 of the assembly. -->
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<!-- publisher policy for IBM.XMS.dll -->
<dependentAssembly>
<assemblyIdentity name="IBM.XMS"
publicKeyToken="d2666ab12fca862b"
culture="Neutral" />
<bindingRedirect oldVersion="1.1.1.2-2.5.0.2"
newVersion="2.5.0.2"/>
</dependentAssembly>
<!-- publisher policy for IBM.XMS.Client.Impl.dll -->
<dependentAssembly>
<assemblyIdentity name="IBM.XMS.Client.Impl"
publicKeyToken="d2666ab12fca862b"
culture="Neutral" />
<bindingRedirect oldVersion="1.1.1.2-2.5.0.2"
newVersion="2.5.0.2"/>
</dependentAssembly>
<!-- publisher policy for IBM.XMS.Provider.dll -->
<dependentAssembly>
<assemblyIdentity name="IBM.XMS.Provider"
publicKeyToken="d2666ab12fca862b"
culture="Neutral" />
<bindingRedirect oldVersion="1.1.1.2-2.5.0.2"
newVersion="2.5.0.2"/>
</dependentAssembly>
<!-- publisher policy for IBM.XMS.Util.dll -->
<dependentAssembly>
<assemblyIdentity name="IBM.XMS.Util"
publicKeyToken="d2666ab12fca862b"
culture="Neutral" />
<bindingRedirect oldVersion="1.1.1.2-2.5.0.2"
newVersion="2.5.0.2"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>