Hi Pawel,

I think you just need to remove the below lines in the beans.xml

<bean class="org.apache.cxf.transport.local.LocalTransportFactory" 
lazy-init="false">
     <property name="transportIds">
         <list>
             <value>http://cxf.apache.org/transports/local</value>
             <value>http://schemas.xmlsoap.org/soap/http</value>
             <value>http://schemas.xmlsoap.org/wsdl/soap/http</value>
         </list>
     </property>
 </bean>

These lines will use LocalTransportFactory to replace the other transport 
factorys.
And it is often to see in the test code.


Willem.

Pawel Janusz wrote:
I'm sending files

Willem Jiang pisze:
Hi Pawel

Did you use CXFServlet transport which delegate the http transport to a CXFServlet ?
If so , could you show me your Web.xml  and Beans.xml?

In you case I think you still start a new Jetty engine for listening the port.

Willem.
Pawel Janusz wrote:
Hello
How to setup CXF not to use Jetty when defining "adress" in "jaxws:endpoint". When I try to pass such: address="/service" i got error. Only when I give full address port (port has to be different from Tomcat's).

eg. (this one works fine)

<jaxws:endpoint id="MyServiceService"
 implementor="#MyServiceServiceImpl"
       address="http://localhost:8081/MyService
"/>


I want to use this one but not working :(

<jaxws:endpoint id="MyServiceService"
 implementor="#MyServiceServiceImpl"
       address="/MyService"/>





Reply via email to