Results 1 to 2 of 2

Thread: DM Server & CXF without Eclipse

  1. #1
    Join Date
    Jun 2009
    Location
    Modena Italy
    Posts
    13

    Default DM Server & CXF without Eclipse

    I'm using Spring DM Server 1.0.2.
    I make a web service with apache CXF 2.2.3, I didn't find the bundle version so I had imported the jar version.
    If I run the service with Spring source Tool Suite 2.2.1, everything go well.

    Instead If I start the server by console and I deploy the bundle by Spring DM Server admin console the service doesn't reply, the WSDL is created by JAX-WS and it's right.

    My web.xml is the this
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
            http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
        id="services" version="2.5">
        
        
       
        
        
        <!--  <context-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>/WEB-INF/appContext.xml</param-value>
        </context-param>
       <listener>
            <listener-class>
                org.springframework.web.context.ContextLoaderListener
            </listener-class>
        </listener>
        
        
        -->
        
        
        <servlet>
            <servlet-name>CXFServlet</servlet-name>
            <servlet-class>
                org.apache.cxf.transport.servlet.CXFServlet
            </servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>CXFServlet</servlet-name>
            <url-pattern>/*</url-pattern>
        </servlet-mapping>
    </web-app>

  2. #2
    Join Date
    Jun 2009
    Location
    Modena Italy
    Posts
    13

    Default

    I solved this problem 2 weeks ago.
    I write an ant file to create the well-formed jar for this bundle.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •