Hello,

I'm trying to generate a client for the wsdl at
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?wsdl

Problem is that this wsdl is really huge. My first try was using the
example at 
https://github.com/e-conomic/eco-api-ex/tree/master/examples/javawhere
java code is generated using a maven plugin. This works, but when
compiling the generated code  I get an error saying

[ERROR] COMPILATION ERROR :
[INFO] ------------------------------
-------------------------------
[ERROR]
\temp\eco-api-ex\examples\java\target\generated\src\main\java\com\e_cono
mic\EconomicWebServiceSoap_EconomicWebServiceSoap12_Client.java:[35,23]
error: code too large
[INFO] 1 error
[INFO]

which probably means that a generated method was to large.

My next try was to generate a wsdl manually, where I only grabbed the
methods I needed. This works and I get a client generated but when calling
the service I get an error like

"The Endpoint validation failed to validate due to the following errors: ::
Invalid Endpoint Interface :: :: The operation names in the WSDL portType
do not match the method names in the SEI or Web service implementation
class. wsdl operations = " because the wsdl probably is different from the
one at the server.

Is there a way I can tell apache cxf to ignore validation errors at the
endpoint or can I generate the code based on the original wsdl in such a
way that I avoid "error: code too large"

Best Regards
Niels



-- 
Niels Boldt
BinaryConstructors ApS
email: [email protected]
phone: +4529722259

Reply via email to