无法解析名称空间名称urn:vim25

时间:2019-09-25 13:33:40

标签: resources virtual-machine vmware

将群集的资源使用情况放在ClusterResourceUsageSummary对象中时出现此错误。 pfb我确切地收到错误的行。

ManagedEntity[] mes = new InventoryNavigator(dc).searchManagedEntities("ClusterComputeResource");
ClusterComputeResource cluster = (ClusterComputeResource) managedEntity;
ClusterResourceUsageSummary resourceSummary= cluster.getResourceUsage();

com.vmware.vim25.InvalidRequest:无法解析名称空间名称urn:vim25的WSDL方法名称GetResourceU sage

在解析SOAP主体时 在第1行的第271列

在解析SOAP信封时 在第1行的第38列

在确定方法之前解析HTTP请求时 在第1行,第0列         在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本机方法)处         在sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:62)         在sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:45)         在java.lang.reflect.Constructor.newInstance(Constructor.java:423)         在java.lang.Class.newInstance(Class.java:442)         在com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:253)         在com.vmware.vim25.ws.XmlGenDom.parseSoapFault(XmlGenDom.java:151)         在com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:109)         在com.vmware.vim25.ws.SoapClient.unMarshall(SoapClient.java:253)         在com.vmware.vim25.ws.WSClient.invoke(WSClient.java:96)         在com.vmware.vim25.ws.VimStub.getResourceUsage(VimStub.java:5213)         在com.vmware.vim25.mo.ClusterComputeResource.getResourceUsage(ClusterCo mputeResource.java:183)         在com.vmware.yavijava.GetClusterResourceUsage.getClusterUsage(GetCluste rResourceUsage.java:217)         在com.vmware.yavijava.GetClusterResourceUsage.run(GetClusterResourceUsa ge.java:86)

0 个答案:

没有答案