This question was originally posted on DCIM Support by ly on 2017-10-31
I'm using cxf2.7 as the client to call Web Service: the code for initializing device service is as follows:
Map<String, Object> properties = new HashMap<String, Object> ();
Properties.put ("mtom-enabled", Boolean.TRUE); //$NON-NLS-1$
String url = "http://xxip/integration/services/ISXCentralDeviceService_v2_0"";
Factory.setAddress (URL); //$NON-NLS-1$//$NON-NLS-2$
ISXCentralDeviceServiceV20 serviceV20 = factory.create (ISXCentralDeviceServiceV20.class);
This method can be passed directly in the main method, but integrated into the spring, but not through the front-end URL call, run to factory.create (ISXCentralDeviceServiceV20.class) error reporting,
Error message: org.apache.cxf.bus.extension.ExtensionException: Could not create object of extension class org.apache.cxf.wsdl11.WSDLManagerImpl.
I don't know why, I don't know whether it's the package or spring. Thank you for your advice. Thank you!
This comment was originally posted on DCIM Support by Ditte Drewer Mathiasen on 2017-11-06
Hi ly, thanks for posting. Sorry to hear you're having trouble. Let's hope you find your answer here.
This answer was originally posted on DCIM Support by Stine Hansen on 2018-05-02
I'm sorry you didn't find an answer to your question here. I'm going to close this question now. If you still have an issue, please feel free to post a new quesiton.
Discuss challenges in energy and automation with 30,000+ experts and peers.
Find answers in 10,000+ support articles to help solve your product and business challenges.
Find peer based solutions to your questions. Provide answers for fellow community members!