endpoint « cxf « Java Enterprise Q&A





1. How do i change the property of jaxrs endpoint to support "mtom"    stackoverflow.com

I created a RESTful web service, and i want to send binary files to this service without soap. There are some information on CXF website: XOP But i can't find a way ...

2. Why do I get a NullpointerException when invoking the CXF-RS endpoint of a Camel route?    stackoverflow.com

My app is an java webapp (WAR) that uses Apache Camel and (among others) CXF-RS and its corresponding Camel component as an implementation of JAX-RS to provide ReSTful services to the ...

3. Apache cxf: publish an (already configured) Endpoint per API    stackoverflow.com

I'm trying to publish an endpoint defined in my cxf-servlet.xml by API. The endpoint is defined as:

<jaxws:endpoint 
    id="cxfAuth" 
    implementor="com.company.auth.service.AuthServiceImpl" 
    ...

4. cxf parameter optimaization    stackoverflow.com

in cxf web service my request is

<student>
    <name>jaleel</name>
     <age>26</age>
</student>
here i want get age as optional how it is possible; i am using spring java ...

5. apache cxf - specify endpoint url    stackoverflow.com

I have an tomcat instance running at port 8080 and a apache cxf webservice running at /services path. Now i dont want to expose this tomcat server directly so i use ...

6. Apache CXF: Why does putting cxf logging on my jax-ws endpoint fix this issue?    stackoverflow.com

I'm seeing an intermittent error like the following:

checkException (UnexpectedServiceExceptionCheckImpl.java:35) - An unexpected exception was found from source=[DesignService.generate] type=[class javax.xml.ws.soap.SOAPFaultException] message=[Unmarshalling Error: [was class java.io.IOException] Strange I/O stream, returned 0 bytes ...

7. How do I set up a Camel route between two CXF endpoints where the SOAP faults are transferred correctly?    stackoverflow.com

I set up a route between two CXF endpoints up like this:

<cxf:cxfEndpoint id="monitoringService"
  address="${esb.monitoring-service.ep.address}" serviceName="s:monitoring-service"
  endpointName="s:portSOAP" wsdlURL="classpath:/webservices/monitoring-service.wsdl"
  xmlns:s="http://xyz/monitoring/"
/>

<endpoint
  id="originMonitoringService"
  uri="${origin.monitoring-service.ep.address}" />

<route>
  <from uri="cxf:bean:monitoringService?dataFormat=MESSAGE" />
  ...

8. WS-Security is not working with CXF - endpoint address    stackoverflow.com

I am trying to add UsernameToken based security in web services written using apache cxf version 2.2.12. Once I deploy my application in weblogic, I am getting two URL's from which I ...

9. How do you debug CXF endpoint publishing?    stackoverflow.com

Given the "cxf-osgi" example from fuse source's apache-servicemix-4.4.1-fuse-00-08, built with maven 3.0.3, when deploying it to apache karaf 2.2.4 and CXF 2.4.3 the web service is never published and never ...





10. Where to add cxf:bus inside the Apache CXF endpoints xml file    stackoverflow.com

The below is my cxf endpoints.xml file

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:beans="http://cxf.apache.org/configuration/beans"
    xmlns:jaxws="http://cxf.apache.org/jaxws"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    ...