Hi Willem,

Thanks for responding.  All of my camel routes are started when spring
starts up since I point the camel context to the package containing my
annotated component that extends the SpringRouteBuilder.  I also see that
the route exists in the camel MBean.

For the Spring-WS setup, I did follow what was given in the example via the
links provided for both the web.xml and the spring-ws-servlet.xml.   The
only thing I had different for my web.xml setup is I didn't have
load-on-startup enabled.  I did enable that, but it didn't change the
results.  My spring-ws-servlet.xml is below:

<?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:context="http://www.springframework.org/schema/context";
  xmlns:sws="http://www.springframework.org/schema/web-services";
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  http://www.springframework.org/schema/web-services
http://www.springframework.org/schema/web-services/web-services-2.0.xsd
  http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd";>


<bean id="endpointMapping"
class="org.apache.camel.component.spring.ws.bean.CamelEndpointMapping">


</bean>

  <context:component-scan base-package="com.company.endpoints"/>

  <sws:annotation-driven/>

<sws:dynamic-wsdl id="action"                                                   
        
    portTypeName="Action"                                                       
  
    locationUri="/action/"                                                      
 
    targetNamespace="http://company.com/action/definitions";>                    
           
  <sws:xsd location="/schemas/Action.xsd"/>                                     
             
</sws:dynamic-wsdl>

</beans>





--
View this message in context: 
http://camel.465427.n5.nabble.com/Questions-about-spring-ws-component-tp5727906p5727961.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to