Skip to content

Issues for __cimnamespace selector specifies in DMTF-DSP0227 #3

@iceC

Description

@iceC

Hi~~

When using wsman.cli for Microsoft OMI providers, I got the following exception.
I would like to ask if wsman support ResourceURI with __cimnamespace selector specifies in DMTF-DSP0227
Please help, thanks!!

[INFO ] org.opennms.core.wsman.WSManCli 2020-10-05 23:49:47.211 [main] WSManCli - Enumerating and pulling on 'http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/SCX_AGENT?__cimnamespace=root/scx' with 'false'...
Exception in thread "main" org.opennms.core.wsman.exceptions.InvalidResourceURI: javax.xml.ws.soap.SOAPFaultException: The target namespace does not exist.
at org.opennms.core.wsman.cxf.CXFWSManClient.wrapException(CXFWSManClient.java:480)
at org.opennms.core.wsman.cxf.CXFWSManClient.enumerate(CXFWSManClient.java:202)
at org.opennms.core.wsman.cxf.CXFWSManClient.enumerateAndPull(CXFWSManClient.java:209)
at org.opennms.core.wsman.cxf.CXFWSManClient.enumerateAndPullUsingFilter(CXFWSManClient.java:289)
at org.opennms.core.wsman.WSManCli.doMain(WSManCli.java:142)
at org.opennms.core.wsman.WSManCli.main(WSManCli.java:91)
Caused by: javax.xml.ws.soap.SOAPFaultException: The target namespace does not exist.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:161)
at com.sun.proxy.$Proxy89.enumerate(Unknown Source)
at org.opennms.core.wsman.cxf.CXFWSManClient.enumerate(CXFWSManClient.java:200)
... 4 more
Caused by: org.apache.cxf.binding.soap.SoapFault: The target namespace does not exist.
at org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.unmarshalFault(Soap12FaultInInterceptor.java:155)
at org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.handleMessage(Soap12FaultInInterceptor.java:66)
at org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.handleMessage(Soap12FaultInInterceptor.java:52)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1669)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1550)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1347)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
... 6 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions