Skip to content

Tag: cxf

Unable to add boolean value to contextProperties map of JAXBDataBinding in cxf beans xml

I am trying to set com.sun.xml.bind.treatEverythingNillable property to true as mentioned in document. But is throwing error. How can I set the com.sun.xml.bind.treatEverythingNillable to Boolean TRUE Object? https://cxf.apache.org/docs/jaxb.html Error Windows 10 + JDK8 + Tomcat 8.75 + JAXB 3.3.10 Answer Copy / pasting the answer from the ticket (https://issues.apache.org/jira/browse/CXF-8656). The problem is that you initialize this property with string value

Is it possible to send a pretty printed SOAP request with apache cxf?

I’m using the apache cxf library as our SOAP client to transmit SOAP requests to a specific endpoint. Unfortunately it seems that this endpoint do have some trouble to correctly parse the data if it comes in one line (which is pretty much the standard). I’ve written a simple Test-Client which sends RAW Strings to that endpoint and with that

Determine target service/method from CXF Interceptor

I’d like to write an interceptor for the Apache CXF JAX-RS implementation that inspects the target service/method for a particular annotation and does some special processing for that annotation. I can’t seem to find anything in the interceptor documentation that describes how to do this. Does anyone have any ideas? Thanks! Answer Ah. I didn’t specify that I was using