Announcement Announcement Module
Collapse
No announcement yet.
DM Server & CXF without Eclipse Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    I solved this problem 2 weeks ago.
    I write an ant file to create the well-formed jar for this bundle.

    Comment

    Working...
    X