Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

I have an application using Java 11, Spring, Apache CXF 3.4.2, Tomcat and Server Sent Events. How do I fix the 415 Unsupported Media Type error that occurs when sending the specified request to the ...
sbnet's user avatar
  • 1
0 votes
0 answers
30 views

I have an application using Java 11, Spring, Apache CXF 3.4.2, Tomcat and slf4j. The method that serves as the endpoint for subscribing to server-sent events doesn't log any errors. They're visible in ...
sbnet's user avatar
  • 1
0 votes
0 answers
33 views

I am using Apache CXF 4.1.3, the latest version. I have an implementation of a jakarta.xml.ws.Provider<T> interface where my invoke function sometimes needs to return an error. According to the ...
Zordid's user avatar
  • 10.5k
0 votes
0 answers
38 views

I have to change the value of "To" element of the soap:Header, like this: <To xmlns="http://www.w3.org/2005/08/addressing">https://MY_NEW_SERVER_URL</To> I created an ...
user3360058's user avatar
0 votes
0 answers
89 views

I'm getting a NoClassDefFoundError for net.sf.jasperreports.extensions.ExtensionsEnvironment when compiling JasperReports templates in an OSGi environment (using Pax Web/Jetty) with Apache CXF 3.5.5. ...
Arlen-Dong's user avatar
0 votes
0 answers
27 views

I need to migrate from Axis2 to CXF and I need some classes to have custom names. They are defined as elements in their xsd with underscores, think my_Enum_Name. CXF makes MYENUMNAME out of those and ...
clatadia's user avatar
0 votes
0 answers
37 views

In SOAP XML request got below header wanted same to copied and sent in response <soapenv:Header> <TransactionId>54bdfeab-48ca-4497-95a9-0869ed6eabae</TransactionId> </...
user29885133's user avatar
0 votes
0 answers
15 views

I'm generating Java classes for my SOAP specification (WSDL files) using wsdl2java. The WSDL references multiple XML namespaces but for some reasons I want to have them all in just one Java package. ...
fml2's user avatar
  • 362
0 votes
0 answers
68 views

I have below build.gradle file in my application. And my application has already Generated Java classes with cxf 3.5.4 and application is running fine for more than a year. Now I need to upgrade the ...
Balaji211's user avatar
  • 307
0 votes
0 answers
48 views

I am working on a cxf webservice client and I pull down the wsdl directly in the codegen plugin. Ignore all the urls and namespaces, I changed those for this post. The plugin is configured as such: ...
xcs4me's user avatar
  • 61
0 votes
0 answers
45 views

When I keep my return type of account webservice as string everything goes well. But when I have a custom datatype i.e. GetResponseType, it gives me this error. [enter image description here](https://...
Mahnoor Fatima's user avatar
0 votes
0 answers
23 views

We are using CXF 4.0.5. We have EAR file inside which we have few war files. We deploy the EAR in Wildlfy 30. We have a requirement to come up with a new war file that will have some of the RESTful ...
Jay B's user avatar
  • 31
1 vote
0 answers
130 views

I'm attempting to build and run a Spring Boot 3.4.4 application with Apache CXF 4.1.1 to expose JAX-WS endpoints as a GraalVM 24 native-image on Windows 11. The native-image compilation completes ...
Torsten L's user avatar
0 votes
1 answer
143 views

I am in the process of migrating my Jboss Java 8 application to Tomcat Java 17. I have already converted all my sources to Jakarta. I have an issue migrating the service part of my application; I get ...
Sébastien AOURA's user avatar
0 votes
0 answers
40 views

I have a Java Spring (non-Spring Boot) project that we recently upgraded from Java 8 to Java 17. The project uses Apache CXF for web services. In this project, we rely on some model classes from a ...
Anirudh Guptha's user avatar
0 votes
0 answers
27 views

I am developing a JAX-RS (CXF) API where I expect an XML response when requesting AppInfo. However, the response is No message body writer has been found for class en.aas.inventoryapp.model.AppInfo, ...
Shriharsh Pattar's user avatar
0 votes
1 answer
194 views

I am setting up a soap service using Spring boot 3.4.3 and Apache cxf 4.1.1. I use the simpelest setup from Spring initializer only selecting web dependency and apache cxf like below: <dependencies&...
D.S. Safari's user avatar
0 votes
2 answers
141 views

I have a Java application doing SOAP requests to a WebService (which I have no control of). It is currently running on Java8 and I need to make it compatible for both, Java8 and Java21 (not only ...
Jokkeri's user avatar
  • 1,055
0 votes
1 answer
76 views

I was using cxf-rt-transports-http v2.2.10 dependency on my project, when I update it to cxf-rt-transports-http v3.5.5, all my test cases and code keep giving me below error. <dependency> &...
PAA's user avatar
  • 12.2k
0 votes
1 answer
129 views

I upgraded apache cxf v4.0.3 to 4.0.4 which is making build fail with below error: Failed to execute goal org.apache.cxf:cxf-codegen-plugin:4.0.4:wsdl2java (generate-sources) on project Exit code: 1 ...
KJ21's user avatar
  • 103
1 vote
0 answers
129 views

I am working on project upgrading from JDK 11 to JDK 17 and spring boot 3.3 and to consume soap web services, started using below Apache cxf dependency however custom checked exceptions that are ...
Suresh's user avatar
  • 35
-1 votes
1 answer
434 views

I'm currently migrating a project from Apache CXF version 3.5.7 to 4.1.0, and after the migration, my SOAP message modification logic stopped working. The error I'm encountering is a cl is null ...
Manav's user avatar
  • 1
0 votes
1 answer
1k views

I am struggling with a bug. This is a spring project using the cxf framework. When calling the API of other microservices, an error occurs. When my request body is large (about 10k), this error will ...
hai li's user avatar
  • 11
0 votes
0 answers
37 views

if there is no output in wsdl no error is handled if host is unavailable, if host is available - no CamelHttpResponseCode header wsdl: <binding name="NumberConversionSoapBinding" type=...
tim08's user avatar
  • 27
0 votes
0 answers
103 views

I use the following stack: karaf 4.2.16, camel 2.24.5(camel-cxf), cxf 3.3.10, I set up a new connector with ssl on jetty.xml, the new port is now available as https://karaf_ip:8189 how to use this ...
tim08's user avatar
  • 27
0 votes
1 answer
75 views

I'm creating a Service passing an URL that may return 302 Found. How can I instruct CXF to follow the redirects at the Service creation? Already tried setting a HTTPClientPolicy as an extension on the ...
Anderson Gomes's user avatar
1 vote
0 answers
180 views

I am trying to upgrade to java 17 and spring 6.1.8 and use exec-maven-plugin to call cxf WSDLToJava tool from maven pom.xml with my wsdl file, but I got the following error from mvn command: mvn -f ...
idoor's user avatar
  • 111
1 vote
0 answers
166 views

After upgrading Apache CXF from version 3.5.9 to 3.6.4, I started encountering the following exception during HTTPS requests: javax.ws.rs.ProcessingException: java.io.IOException: IOException invoking ...
Krzysztof Grabowski's user avatar
0 votes
0 answers
101 views

we have this configuration that work fine in spring projet with java 8, camel 2 and CXF (cxf-rt-rs-client, cxf-rt-frontrnd-javaxrs 3.5.7) <route id="monitorServiceRoute"> <...
cs_zineb's user avatar
0 votes
1 answer
220 views

I am trying to use my SOAP API with Apache CXF, but the API requires SSL client certificates. I saw that there is some XML-Config you can use, but I would like to do this programmatically. Setting the ...
Ian Rehwinkel's user avatar
1 vote
1 answer
59 views

I'm trying to migrate a JAX-RS application from Jersey to Apache CXF. I'm not using Spring, so I'm trying to configure it by extending javax.ws.rs.core.Application. I also implemented public class ...
Adrian Ber's user avatar
  • 21.5k
1 vote
0 answers
175 views

We distribute an internal framework on top of quarkus and we wanted to know if our framework (tipically some extensions) was still compatible with the current LTS quarkus 3.8 In my test app, I ...
godo57's user avatar
  • 558
0 votes
1 answer
129 views

I am working with a RedHat Fuse adapter in a Java DSL using Apache Camel and CXF. I am trying to handle relatively large incoming SOAP messages, but I'm running into a timeout issue. The sender then ...
Gerben Spoorwegen's user avatar
0 votes
0 answers
44 views

this is my request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:acc="http://www.example.com/service/"> <soapenv:Header/> <...
almotawir's user avatar
0 votes
1 answer
156 views

We are migrating from Axis-2 to CXF and trying to have similar responses. Axis-2 response for soap request <?xml version="1.0" ?> <soapenv:Envelope xmlns:soapenv="http://...
Mathew Stephen's user avatar
1 vote
1 answer
441 views

We use jakarta.xml.ws.Provider class (lib version:4.0.2) in our project. This class chooses the com.sun.xml.ws.spi.ProviderImpl class as the provider, which is related to com.sun.xml:jaxws-rt library (...
F Goli's user avatar
  • 23
0 votes
1 answer
197 views

After up Spring Boot to version 3 I try to migrate from Swagger to OpenAPI. Project depends on Apache CXF. How can I rewrite the swagger configuration? It was before OpenApi: @Configuration public ...
fletcher_lind's user avatar
0 votes
1 answer
392 views

I am upgrading an old java service to java 17 and I noticed that it uses org.apache.cxf.jaxrs.swagger.Swagger2Feature in version 3.6.4. The problem with this is that the class Swagger2Feature uses ...
carlos palma's user avatar
-1 votes
1 answer
74 views

I want to log all Request / Response data of a WS communication. I must do the logging (its more dumping the data into a RDBMS) asynchronous to not affect the performance of the WS communication ...
Olli's user avatar
  • 739
0 votes
0 answers
55 views

I saw an article which suggested me to use--- Only by setting the default JAXB provider to be the glassfish implementation by setting the system property: jakarta.xml.bind.JAXBContextFactory=org....
Alok Kumar's user avatar
0 votes
1 answer
721 views

I am getting the error "eclipselink.default-target-namespace" is not supported when eclipselink is on the classpath. I found an article https://issues.apache.org/jira/browse/CXF-8960 There ...
Alok Kumar's user avatar
3 votes
0 answers
364 views

I've been working with Apache CXF and noticed a change in how timeouts are handled in the newer versions (3.6.x and 4.x). These versions now use the new JDK HttpClient, and I’m trying to verify my ...
Joe23's user avatar
  • 5,810
0 votes
0 answers
51 views

I am fairly new to Apache CXF and odata. I'm trying to implement ODATA with Apache CXF. When I try to hit the http://localhost:8080/hello I get 404 not found error. but it doesn't show any error in ...
Nismath vi's user avatar
3 votes
0 answers
568 views

I got the below error when starting the spring application : java.lang.IllegalAccessError: class org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine tried to access protected method 'void org....
Jawaher Al_makhmari's user avatar
0 votes
1 answer
430 views

I have an issue with CXF (currently 4.0.4) not supporting Jetty 12 and thus blocking us to use it together with Spring Boot 3.2.0+. I tried to find what is the roadmap for their development, but it ...
Quoshak's user avatar
  • 11
0 votes
0 answers
1k views

I have migrated my application from Java 8 to Java 17 and upgrading corresponding dependent libraries, including javax to jakarta namespace refactor. However, I am facing issues with Apache CXF ...
Mehul's user avatar
  • 67
1 vote
1 answer
321 views

I'm trying to generate Java stubs for the new 3rd party service. It worked before with no problem but recently they have added a new method verifyDataExistence and wsdl2java got failed with the ...
engilyin's user avatar
  • 1,170
2 votes
1 answer
2k views

I have a java app which used org.apache.cxf -artifactId cxf-rt-frontend-jaxrs with version 3.3.7 but when I try to upgrade it to version 4, I am getting build errors. As earlier code used to work ...
Alok Kumar's user avatar
0 votes
1 answer
553 views

Getting following error when ugrading Apache cxf from 3.4.4 to 3.5.5 and spring 5.2.22 to 5.3.27. Searched stack overflow posts and most point to jaxb versions mismatch. I have below jaxb versions: ...
Rajan's user avatar
  • 135
0 votes
1 answer
115 views

After several years of using spring/spring boot/spring cloud. I've decided to learn from basic the Jakarta EE I have CXF basic JAXRS web service with dummy api that work locally via CLI (java -jar my-...
Shay Zambrovski's user avatar

1
2 3 4 5
110