Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues for __cimnamespace selector specifies in DMTF-DSP0227 #3

Open
iceC opened this issue Oct 5, 2020 · 0 comments
Open

Issues for __cimnamespace selector specifies in DMTF-DSP0227 #3

iceC opened this issue Oct 5, 2020 · 0 comments

Comments

@iceC
Copy link

iceC commented Oct 5, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant