I have to generate a webservice client in ivy7.2 (CXF) where the wsdl is only accessable over https. The WebsService class generation crahes with a mysterious exception:
|
The problem arises if the wsdl includes schema.xsd. The CXF Framework can not access the xsd files over the specified schema location. A workaround is to download the wsdl and xsd files manually with a webbrowser and to change the xsd schema location in the wsdl to local file names. Then you can read in the wsdl using a file:/ url path
Without this modification the WS call will fail with an InstantiationException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 07.03.2019 at 10:11
Seen: 3,110 times
Last updated: 08.03.2019 at 04:29