cxf Questions

5

I am fetching the byte array using Spring Framework RestTemplate. But I also need to fetch the media type of the fetched result. The media type of this byte array can be of any type. The code used ...
Shadoof asked 4/11, 2016 at 16:1

7

Solved

I must prepare a webservice to accept anan already defined wsdl structure. I followed the tutorial found here, with source code for the test project downloadable here. For xsd like this: <xs:e...
Since asked 30/12, 2015 at 8:21

2

I'm able to use generate classes with a relative wsdlLocation when I specify each file, such as <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/main/resources/sample.wsdl</w...
Fleabane asked 4/10, 2016 at 23:0

2

I've tried to deploy my war file in Wildfly 8.2. My application uses org.apache.cxf for web service. But Wildfly (Jboss) comes by default with its own cxf jars which can be provide full Java EE sup...
Bespread asked 2/4, 2015 at 7:14

6

Solved

I'm trying to get CXF to work with spring, maven on weblogic.the project compile/build fine, but when I try to deploy it I got this error: <User defined listener org.springframework.web.conte...
Ko asked 30/11, 2012 at 11:20

5

I am working on a web service host application in which using cxf with spring boot. when I register cxf servlet with following code web service side works and I can see published wsdls. However a...
Industry asked 29/6, 2016 at 6:13

7

Solved

I would like to write a simple integration test with JUnit and Apache CXF to test some WS-Security-enabled services. While I try to run my code: MyService myService = new myWsService(MY_SERVICE_WS...
Selmore asked 12/8, 2015 at 10:17

3

Solved

We are in the middle of a ongoing discussion about how to handle REST exceptions. Response Content type : JSON Two solutions we have: Throw all the unchecked exceptions as a JSON response. Send...
Bartholemy asked 25/6, 2010 at 21:34

4

Solved

I am trying to connect to a web service using WS-Security UsernameToken spec 1.0, using apache cxf 2.4.0. I've copied the code below from the CXF docs, but am getting: org.apache.cxf.ws.policy.Pol...
Harmonyharmotome asked 6/5, 2011 at 2:20

3

Solved

I want call a .net SOAP web service from java. .net Service has ws-security module and I used apache CXF for setting username and password (and maybe later X.509 certificate). The code I used is: ...
Swashbuckler asked 17/5, 2015 at 7:21

2

Solved

Imagine this scenario. I have a wsdl file with namespace a/b/c and it imports another wsdl whose namespace is m/n/o. Unfortunately, both of them have same ComplexTypes XYZ defined in them. Now, wh...
Peru asked 26/9, 2012 at 15:36

7

Solved

Having some sort of proxy between a mobile app and a web-service, we are puzzled by the response when issuing a post request. We receive response with status 200: OK. But we can not find/extract th...
Metrology asked 6/8, 2013 at 17:24

3

Solved

I've researched other answers to this question but I haven't been able to fix my specific issue yet. I'm trying to generate source client java files using Maven and the cxf-codegen-plugin. When I r...
Lavine asked 18/2, 2014 at 23:7

4

Solved

We are using Java 8, Apache CXF as a SOAP client on top of Spring Boot to send SOAP messages to WS. If the app is deployed as a WAR on Tomcat 8, the app works well and the SOAP client is sending th...
Flavin asked 12/8, 2020 at 15:30

2

Solved

I work on a Java/Spring/ Apache Cxf web app and suddenly, I get the error while I made some apparently naive changes, 25-Aug-2017 11:48:43.036 INFO [RMI TCP Connection(2)-127.0.0.1] org.apache.ja...
Cytoplast asked 25/8, 2017 at 5:57

3

Solved

I'm trying to create a web service client using CXF to consume a WCF web service. When I use wsdl2java it generates objects with JAXBElement types instead of String. I read about using a jaxb bind...
Cordalia asked 10/12, 2010 at 21:1

6

Solved

I'm using Java 11, Spring Boot 2.1.1 and Apache CXF 3.2.7 to expose a SOAP web service that imports an XSD schema. In the WSDL it shows like: <wsdl:import location="http://localhost:9000/endpoi...
Counterbalance asked 31/12, 2018 at 17:59

11

Solved

I am using the CXF rest client which works well for simple data types (eg: Strings, ints). However, when I attempt to use custom Objects I get this: Exception in thread "main" org.apache.cxf.inter...
Fruin asked 10/6, 2011 at 21:1

3

Solved

I'm using the Apache cxf maven plugin (v3.3.0) to successfully to generate java wrappers. However, the output from the maven build contains thousands of DEBUG logging lines from the wsdl2java whic...
Derby asked 25/4, 2019 at 15:4

3

I'm using Jackson within CXF to serialize/deserialize data. Unfortunately, I am having difficulty configuring CXF/Jackson to deserialize a JSON array. I'd appreciate help in resolving the issue. U...
Bubonocele asked 19/6, 2012 at 17:40

2

I use wsdl2java to generate DTO Java classes. It adds current timestamp into the comments section of every file generated. How to disable those timestamps? Because I'd like to minify changes betw...
Eulogia asked 3/3, 2016 at 8:58

2

Solved

I've been working on a CXF web service and have had some trouble. With the help of SO, I've got my service validating against a fairly complex schema- a requirement of the project. I've noticed som...
Barra asked 9/2, 2010 at 19:16

5

Solved

I have a cxf service running at https://localhost:8443/services/MyService?wsdl with client certificate required. The WSDL is not important here. I am able to invoke the service when I remove t...
Pastoralize asked 2/4, 2013 at 2:54

6

I am sending a POST JSON Request to my application. POST /CharSetTest/Test HTTP/1.1 Host: localhost:8090 Content-Type: application/json Cache-Control: no-cache Postman-Token: 1637b92b-5896-4765-63...
Billups asked 14/10, 2015 at 14:14

2

Solved

I try to generate java classes from xsd in a maven project using cxf-xjc-plugin. It runs fine, but the generated source files get platform specific encoding (cp1251 on a windows pc) instead of utf...
Heterolecithal asked 1/4, 2014 at 5:17

© 2022 - 2024 — McMap. All rights reserved.