Hi,

I try to create a simple contract first webservice using:

Spring boot
Camel-cxf
wsdl2java
embedded tomcat (STS eclipse)

Everything looks ok according to the console, but for some reason the
endpoint is not available. Note that I used this route before in a non
spring boot environment without any problems. Tomcat is listening at 9090,
but I only get a 404 in soapui. I would say that the endpoint should be:
localhost:9090/kiktan/test

Thanks in advance,

Raymond

Creating Service {http://javainuse.com}SOATestEndpointService from WSDL:
wsdl/test.wsdl
2017-10-09 21:01:32.624  INFO 1006 --- [           main]
org.apache.cxf.endpoint.ServerImpl       : Setting the server's publish
address to be /kiktan/test
2017-10-09 21:01:32.670  INFO 1006 --- [           main]
o.a.camel.spring.SpringCamelContext      : Route: bookTicket started and
consuming from: cxf://bean:CXFTest
2017-10-09 21:01:32.671  INFO 1006 --- [           main]
o.a.camel.spring.SpringCamelContext      : Total 1 routes, of which 1 are
started.
2017-10-09 21:01:32.672  INFO 1006 --- [           main]
o.a.camel.spring.SpringCamelContext      : Apache Camel 2.19.3
(CamelContext: camelId) started in 10.840 seconds
2017-10-09 21:01:32.744  INFO 1006 --- [           main]
s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9090
(http)
2017-10-09 21:01:32.754  INFO 1006 --- [           main]
com.kiktan.test.TestApplication          : Started TestApplication in
31.474 seconds (JVM running for 32.158)
2017-10-09 21:01:55.504  INFO 1006 --- [nio-9090-exec-1]
o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring
FrameworkServlet 'dispatcherServlet'
2017-10-09 21:01:55.504  INFO 1006 --- [nio-9090-exec-1]
o.s.web.servlet.DispatcherServlet        : FrameworkServlet
'dispatcherServlet': initialization started
2017-10-09 21:01:55.523  INFO 1006 --- [nio-9090-exec-1]
o.s.web.servlet.DispatcherServlet        : FrameworkServlet
'dispatcherServlet': initialization completed in 19 ms

Reply via email to