A Maven plugin which can generate Java artifacts from a Web Services Description Language (WSDL) file, using Apache CXF.
Questions tagged [cxf-codegen-plugin]
114 questions
0
votes
0 answers
org.apache.cxf.BusException: No binding factory for namespace /EndPointName registered
when i upgrade apache.cxf to version 3.1.11 or higher i get this error when loading the compiled war to tomcat (8.5):
org.apache.cxf.BusException: No binding factory for namespace /EndPointName registered.
followed…

user3419148
- 111
- 1
- 8
0
votes
1 answer
Why is camel-cxf throwing Could not find portType ServiceConstructionException?
I have a camel route which is trying to login via an informatica web service using apache-cxf.
This is how the route looks :
String WS_URL =…

The Dark Knight
- 5,455
- 11
- 54
- 95
0
votes
0 answers
updating log4j2 to 2.15.0 breaks cxf wsdl2java
I am updating log4j2 from 2.14.1 to 2.15.0 in a maven project that uses cxf's wsdl2java (version 3.4.5). Updating causes the pipeline to break with the following exception during the generate-sources phase:
[WARNING] Exception in thread "main"…

Isabi
- 151
- 4
- 12
0
votes
1 answer
W3CEPRJaxbBinding_jaxb22.xml; lineNumber: 20; columnNumber: 162; Unexpected appears at line 20 column 162
I am trying to update my maven SpringBoot application with the latest Java 17 and every dependency to the latest version.
cxf-codegen-plugin started to throw interesting exception which I don't really understand, and cannot find any proper solution…

victorio
- 6,224
- 24
- 77
- 113
0
votes
1 answer
cxf-codegen-plugin:3.4.2:wsdl2java doesn't produce proper Javadoc
The classes' Javadoc that's produced by cxf-codegen-plugin:3.4.2:wsdl2java looks like the following here:
/**
* <p>Java class for RequestType complex type.
*
* <p>The following schema fragment specifies the expected content contained…

Gerold Broser
- 14,080
- 5
- 48
- 107
0
votes
1 answer
Failed to execute goal cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) project OAS: org.apache.cxf.helpers.JavaUtils.isJava9Compatible()Z
I have tried changing the compiler and compliance from 1.8 to 11.0 with no change. I suspect it has to do with the version of Karaf (4.3) and the libraries / bundles / packages associated with that version.
So the question is can I change the…

Mike Oliver
- 163
- 1
- 3
- 14
0
votes
3 answers
How do I repair a cxf-codegen-plugin throwing an error in POM
I want to use cxf-codegen-plugin to generate-sources with wsdl2java in my camel maven project.
I added the plugin as follows to my pom.
org.apache.cxf
cxf-codegen-plugin
…

Mike Oliver
- 163
- 1
- 3
- 14
0
votes
1 answer
''Fault' is already defined [ERROR] (related to above error) the first definition appears here" could you help me
How can ı fix
'Fault' is already defined
[ERROR] file:Services.wsdl [16541,13]: (related to above error) the first definition appears here
pom.xml cxf plugin:
[1]: https://i.stack.imgur.com/Or3q3.png

user3053933
- 1
- 4
0
votes
0 answers
XML Type Conflict in JAXB (CXF/WebServices)
I am trying to run CXF WebService on Tomcat. When I deploy the WAR file, I get the following error:
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
at…

hell_storm2004
- 1,401
- 2
- 33
- 66
0
votes
0 answers
CXF custom package name
I'm using the cxf-codegen-plugin to geneare java classes from WSDL. See below for the configuration.
org.apache.cxf
cxf-codegen-plugin
…

robertini
- 1
- 2
0
votes
0 answers
WSDLException faultCode=PARSER_ERROR - When using schemaLocation: MyService?xsd=myschema.xsd
I'm using a 3rd party WSDL that includes a XSD definition. I've downloaded the WSDL and XSD and placed them in local folders: ${project.basedir}/src/main/resources/wsdl/ and ${project.basedir}/src/main/resources/xsd/ respectively.
The start of the…

morecore
- 900
- 3
- 14
- 32
0
votes
1 answer
Why does the cxf-codegen maven plugin fail to run the wsdl2java goal on OpenJDK 10?
The following plugin invocation keeps failing:
org.apache.cxf
cxf-codegen-plugin
${cxf.version}
…

Renny Koshy
- 1
- 1
- 2
0
votes
0 answers
Can't generate soap envelope from cxf-codegen-plugin plugin
We are facing issues generating the correct SOAP request from wsdl using apache cxf-codegen-plugin. The request that is being fired by the clilent is missing the SOAP envelope and SOAP body tags. Is that something we have to do programatically or is…
0
votes
1 answer
Error with maven cxf-codegen-plugin XMLStreamException: Attribute limit
I am using maven cxf-codegen-plugin to generate a client for a really big WSDL, here is the example of the configuration:
org.apache.cxf
cxf-codegen-plugin
…

alfespa17
- 335
- 1
- 3
- 12
0
votes
0 answers
SOAP service working fine SOAP UI but parsing WSDL in Java code throws exception
SOAP service is working fine in SOAP UI but when I parsed WSDL, either calling direct from URL or from the classpath, two exceptions are thrown. I tried with 2 maven plugins cxf-codegen-plugin and maven-jaxb2-plugin but the exceptions are the same.…

sadia
- 305
- 1
- 7
- 18