Questions tagged [cxf-client]

135 questions
2
votes
0 answers

cxf memory leak? - large retained memory for responseContext

(sorry, I'm very new to cxf so if I use the wrong terminology, please forgive me... corrections accepted!) I have a cxf application that is used to accept data over the network. I believe it is leaking memory as the heap size grows and is not…
user3841942
  • 41
  • 1
  • 3
2
votes
0 answers

CXF-Client proxy not using my registered ParamConverterProvider

I have a fully functional JAXRS REST API setup using CXF and Spring. However, I can't seem to instruct my proxied services to use the use my JAXB setup to de-serialise my JODA time parameters. I get the exception message: Parameter Class…
joostschouten
  • 3,863
  • 1
  • 18
  • 31
1
vote
0 answers

SOAP client in Apache CXF 3.5.0 and Java 17 returning "Marshalling Error"

I'm modernizing some java code to version 17 using Eclipse, Maven and Apache CXF 3.5.0 to build a soap client that connects to the WSDL address below. https://www.w3schools.com/xml/tempconvert.asmx?WSDL Below is my java version: daniel@pop-os:~$…
1
vote
0 answers

CXF unable to get raw xml of request (payload, soap-envelope) before method invokation

I am using apache cxf 3.5.2 and I am invoking a web service. What i need for obscure boss reasons are the payloads (xml/soapenvelope) before sending the request and before handling the response. I can correctly get the payload of the request but not…
Sergio
  • 89
  • 1
  • 6
1
vote
1 answer

CXF webclient - Java.net.SocketTimeoutException - Inbound message not logged

I have logging features works fine in cxf client 3.3.4 version but when there is a timeout error (java.net.SocketTimeoutException) from soap call, the inbound message doesn't get logged. Can you please let know how/what to configure to get the…
skumar
  • 985
  • 4
  • 14
  • 37
1
vote
1 answer

AWS Lambda in Java: how to call a REST endpoint exposed in API Gateway

I have a REST API exposed on the AWS infrastructure on the behalf of API Gateway. In a Lambda function in Java I need to call the associated endpoints. The AWS documentation recommends to generate a client using the API Gateway console. However, the…
Seymour Glass
  • 81
  • 2
  • 15
1
vote
0 answers

JAX-WS Client: Cannot create Service Object (org.apache.cxf.jaxws.spi.ProviderImpl not a subtype)

I have a CXF Soap Web-service which in turn invokes another external SOAP web-service. I've deployed the code to Tomcat 9 running with JDK 11. I'm getting the below exception when i'm trying to create the Service class to invoke the external…
1
vote
1 answer

CXF client - TCP connection is closed between each request

I am implementing one SOAP client, the general working is fine, but I have spotted one pitfall because on each request the TCP connection is closed (by me). This is sub-optimal, and it's worse when HTTPS is used because the certificates are…
Manticore
  • 441
  • 5
  • 24
1
vote
1 answer

How to disable cxf SOAP client use multipart request

I have to call a proprietary service that does not support multipart requests, I'm not sending any attachments but cxf seems to create a multipart request POST /endpoint HTTP/1.1 Content-Type: multipart/related; type="text/xml";…
molok
  • 1,491
  • 1
  • 14
  • 19
1
vote
0 answers

Getting Certificate chaining error in WAS 8.5 with Apache CXF WebClient

We are getting "Certificate chaining error" while using Apache CXF WebClient (ver - 3.3.4) on Websphere 8.5 (IBM JDK 8) to invoke a PATCH request using "use.async.http.conduit". We used…
1
vote
2 answers

Problems with "Web Service Client (CXF 2.)" on Spring Tool Suite 4 (JAVA)

I am using Spring Tool Suite 4 with JAVA on the JDK 1.8.0.181. I have the wsdl linking of the Web Service Server and i want to create the coresponding Web Service Client on my project. I have configured the CXF preferences as follows: CXF…
m.allain
  • 11
  • 3
1
vote
0 answers

CXF WSDL namespace without slash

I generate a WSDL with Apache CXF 3.3.0 from Java classes, and I get this : xmlns:tns="http://impl.service.ti.commun.metier.civitas.fr/" I don't understand why tns ends with "/", so I check source Apache CXF, and i found that JaxWsImplementorInfo…
1
vote
0 answers

Maven cxf-codegen-plugin with NTLM Authentication - fails with java.io.IOException: Server returned HTTP response code: 401 for URL

I'm trying to generate java code using cxf-codegen-plugin for a SOAP webservice that is secured over NTLM. I'm not sure how do pass on the username/pwd/domain information to maven to connect to the remote server while generating the java code. I…
1
vote
0 answers

cxf https chunking off not working , I have tried through config and explicitly in java

I am trying to turn off chunking for my java web application. We use apache cxf and are hitting a soap service. I changed the conduit setting in the config file
1
vote
1 answer

apache cxf MultiPart request has no Content-Length header

I'm having below code to send a multipart/form-data request. List multipartData = new ArrayList<>(); ContentDisposition cd1 = new ContentDisposition("form-data; name=\"file\"; filename="+fileObj.getName()); FileInputStream inputStream…
Sudhakar Reddy
  • 116
  • 1
  • 12
1 2
3
8 9