EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 01:34 AM . Last Modified: 2024-04-05 04:05 AM
I'm using cxf2.7 as the client to call Web Service: the code for initializing device service is as follows:
Map
Properties.put ("mtom-enabled", Boolean.TRUE); //$NON-NLS-1$
Factory.setProperties (properties);
Factory.setServiceClass (ISXCentralDeviceServiceV20.class);
String url = "http://xxip/integration/services/ISXCentralDeviceService_v2_0"";
Factory.setAddress (URL); //$NON-NLS-1$//$NON-NLS-2$
Factory.setUsername ("APC");
Factory.setPassword ("APC");
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!
(CID:126171430)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 01:34 AM . Last Modified: 2024-04-05 04:05 AM
Hi ly, thanks for posting. Sorry to hear you're having trouble. Let's hope you find your answer here.
Kind regards
Ditte
(CID:126173333)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 01:34 AM . Last Modified: 2024-04-05 04:05 AM
Hi ly,
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.
Thanks,
Stine
(CID:130681749)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 01:34 AM . Last Modified: 2023-10-22 04:24 AM
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.