Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84400members
353590posts

about cxf invoke web service failure

EcoStruxure IT forum

A support forum for Data Center Operation, Data Center Expert, and EcoStruxure IT product users to share knowledge on installation, configuration, and general product use.

DCIM_Support
Picard
Picard
0 Likes
3
358

about cxf invoke web service failure

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$

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)

Tags (1)
3 Replies 3
DCIM_Support
Picard
Picard
0 Likes
0
358

Re: about cxf invoke web service failure

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. 

Kind regards

Ditte 

(CID:126173333)

DCIM_Support
Picard
Picard
0 Likes
0
358

Re: about cxf invoke web service failure

This answer was originally posted on DCIM Support by Stine Hansen on 2018-05-02


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)

DCIM_Support
Picard
Picard
0 Likes
0
358

🔒 Closed

This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.