Questions tagged [cxf-client]

135 questions
1
vote
1 answer

How to set TLS parameters on a CXF conduit?

My application has two outgoing SOAP connections. For those, I want to implement TLS. Both are created using CXF. The javax.xml.ws.Service.getPort() returns an individual bindingProvider (both connections use their own WSDL) but both use the same…
sinned
  • 503
  • 1
  • 7
  • 25
1
vote
0 answers

JX-RS 2.0 client API with Apache CFX 3.1.8 client implementation Thread Safety concern

I am writing REST client using JX-RS 2.0 client API and have Apache CXF 3.1.8 client as implementation in classpath. My gradle dependency compile group: 'org.apache.cxf', name: 'cxf-rt-rs-client', version: '3.1.8' I plan to client the Client…
Rakesh Prajapati
  • 1,078
  • 8
  • 17
1
vote
0 answers

JBoss EAP + Fuse 6.3 - ClassCastException for JAXBDataBinding in deploying CXF

I'm trying to deploy a fuse project (JBossFuse v6.3) on JBoss EAP v6.4. There is a simple route within the war that expose a soap CXF endpoint. I declare CXF dependencies as provided e configured jboss-deployment-structure to include CXF modules…
Mario
  • 11
  • 2
1
vote
0 answers

CXF Client deployed on Webshpere 8 (EAR) failed NoSuchFieldError XmlSchemaForm.QUALIFIED

I have developed a SOAP client using Apache CXF and maven and its works fine when I run it from Eclipse, JUnit or a shell. But when I package it on an EAR and it is deployed on Websphere 8, it fails with the error: java.lang.NoSuchFieldError: …
Fran b
  • 3,016
  • 6
  • 38
  • 65
1
vote
0 answers

Couldn't parse stream - CXF Issue

I am receiving below CXF exception while receiving supplier response. I am using apache cxf 2.7.18 version. Not able to identify the issue. Please help to resolve the issue. Please find below stack-trace for details also attaching exception…
1
vote
1 answer

Set EXPAND_XOP_INCLUDE for WSS4JOutInterceptor in apache cxf 3.0.X

i want to avoid the automatic generation of the xop included from apache cxf (version 3.0.4) when set MTOM ENABLE to true how can i do that? for example, i have a soap service . it support the mtom but not the xop include annotation , so it refused…
4535992
  • 418
  • 9
  • 29
1
vote
2 answers

Apache CXF - javax.xml.ws.soap.SOAPFaultException: No security action was defined

Despite I have set the username, password, action, and WS Security Password Type (which is PasswordText), getting this exception when I try to call a service of the web service: No security action was defined. The web service I try to communicate…
talha06
  • 6,206
  • 21
  • 92
  • 147
1
vote
0 answers

ResponseExceptionMapper in cxf using Client (javax.ws.rs.client.Client) API

This post does not resolve the issue: ResponseExceptionMapper in cxf client . You will notice that I did in fact register and annotate my Provider, and I tried with WebApplicationException as suggested instead of Exception/CustomException. Problem…
Sanjeev R
  • 43
  • 6
1
vote
1 answer

how to set property maxConnection in cxf cilent code

I am developing cxf client. I generate stub from wsdl and develope code from there. My code is something like that URL WSDL_LOCATION = new URL(targetURL); CustomerWS_Service CustomerWSService = new CustomerWS_Service (WSDL_LOCATION); CustomerWS…
David
  • 3,538
  • 9
  • 39
  • 50
1
vote
2 answers

How to get WSDL operation name from SoapMessage in CXF Request Interceptor

Im trying to get wsdl operation name (SOAPAction) but it gives me null. i have written a request interceptor in camel blueprint. TASK TO DO: Aim is to intercept the webservice request retrieve username & password from headers & check whether the…
herman shafiq
  • 499
  • 2
  • 8
  • 26
1
vote
0 answers

None of the policy altern. can be satisfied

I'm trying to create a Webservice Client with Apache CXF 3.0.12 and Java JDK 1.8. The Source Generation with wsdl2java looks good, but when i tried to connect to WS i got a exception: Exception in thread "main" javax.xml.ws.soap.SOAPFaultException:…
Ben
  • 290
  • 2
  • 17
1
vote
0 answers

CXF-Proxy Client and @Suspended AsyncResponse

I recently learned that with JAX-RS 2.0 long running service endpoints can make use of the @Suspended annotation and AsyncResponse to free resources for incoming requests while the actual work is done in the background. All client examples - at…
dpr
  • 10,591
  • 3
  • 41
  • 71
1
vote
1 answer

CXF generated client HandlerTubeFactory does not implement TubeFactory

I use wsdl2java to generate a client. When I run this client I get java.lang.RuntimeException: MASM0015: Class [ com.sun.xml.ws.assembler.jaxws.HandlerTubeFactory ] does not implement [ com.sun.xml.internal.ws.assembler.dev.TubeFactory ]…
oldDave
  • 395
  • 6
  • 25
1
vote
0 answers

How can Ready API / SOAP UI Pro creates Webservice Client for WCF webservice with SOAP 1.2?

I was trying to create Java Web service Client through CXF 3.1.6 , for a CXF Webservice implemented with SOAP 1.2. I always see Cerficate or generated binary token Exception, Where as the service client works through SOAP UI pro. When i search for…
Shaan
  • 23
  • 1
  • 8
1
vote
1 answer

Setting the Request Method as "Post" using CXF for soap web service implementation in Client

I have a client which sends request to my cxf jax-ws web service as "GET" instead of "POST" According to this answer link Webservice having "No such operation: HTTP GET PATH_INFO", it should be "POST". I have searched for how to set the…
Amit Sinha
  • 11
  • 3
1 2 3
8 9