camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: Camel-CXF web services are not available
Date Tue, 09 Oct 2012 12:12:05 GMT
Hi, 

It looks like you are leverage the CXF servlet transport. It is important that cxf endpoint
address is start with "/" to make sure the service is published rightly.
As the endpoint uri is start with "cxf://" the endpoint address is "swaptioncompactservice/SwaptionCompactService",
you just need to add a "/" like this
> cxf:///swaptioncompactservice/SwaptionCompactService?dataFormat=PAYLOAD&portName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&serviceName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&wsdlURL=Systems/MeridianEndPoint/must/SwaptionCompactWS/WsdlFiles/SwaptionCompactService.wsdl]




-- 
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang





On Tuesday, October 9, 2012 at 7:56 PM, Sachin wrote:

> Hi All,
> 
> I am using camel 2.9.1 with cxf 2.4.2 and spring 3.0.5 to expose some
> webservices with multiple operations using WSDL first approach and PAYLOAD
> mode.
> At camel startup i can see it's starting my cxf routes without any error,
> and in CXF web services' list (http://localhost:9081/bfi/ws/services/) it's
> displaying that there are 2 webservices available.
> But while accessing from SOAP UI or any browser it's dsiplaying that there
> are No service found with below log.
> Can't find the the request for
> http://localhost:9081/bfi/ws/SwaptionCompactService's Observer .
> 
> 
> 
> 
> [10/9/12 13:02:25:890 IST] 00000008 ReflectionSer I Creating Service
> {http://dataservice.summit/genericdataservice}GenericDataService from WSDL:
> Systems/MeridianEndPoint/must/GenericDataWS/WsdlFiles/GenericDataService.wsdl
> 
> [10/9/12 13:02:26:499 IST] 00000008 ServerImpl I Setting the server's
> publish address to be genericdataservice/GenericDataService
> 
> [10/9/12 13:02:26:499 IST] 00000008 ReflectionSer I Creating Service
> {http://dataservice.summit/genericdataservice}GenericDataService from WSDL:
> Systems/MeridianEndPoint/must/GenericDataWS/WsdlFiles/GenericDataService.wsdl
> 
> [10/9/12 13:02:26:546 IST] 00000008 PayLoadDataFo I
> org.apache.camel.component.cxf.feature.AbstractDataFormatFeature
> removeInterceptors removing the interceptor
> org.apache.cxf.interceptor.ClientFaultConverter@7b357b35
> 
> [10/9/12 13:02:26:609 IST] 00000008 SpringCamelCo I
> org.apache.camel.impl.DefaultCamelContext doStartOrResumeRouteConsumers
> Route: MeridianEndPoint.must.Service.SwaptionCompactWS started and consuming
> from:
> Endpoint[cxf://swaptioncompactservice/SwaptionCompactService?dataFormat=PAYLOAD&portName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&serviceName=%7Bhttp://mustservice.summit%7DSwaptionCompactService&wsdlURL=Systems/MeridianEndPoint/must/SwaptionCompactWS/WsdlFiles/SwaptionCompactService.wsdl]
> 
> [10/9/12 13:02:26:656 IST] 00000008 SpringCamelCo I
> org.apache.camel.impl.DefaultCamelContext doStartOrResumeRouteConsumers
> Route: MeridianEndPoint.must.Service.GenericDataWS started and consuming
> from:
> Endpoint[cxf://genericdataservice/GenericDataService?dataFormat=PAYLOAD&portName=%7Bhttp://dataservice.summit/genericdataservice%7DGenericDataService&serviceName=%7Bhttp://dataservice.summit/genericdataservice%7DGenericDataService&wsdlURL=Systems/MeridianEndPoint/must/GenericDataWS/WsdlFiles/GenericDataService.wsdl]
> 
> [10/9/12 13:02:26:937 IST] 00000008 SpringCamelCo I
> org.apache.camel.impl.DefaultCamelContext start Total 2 routes, of which 2
> is started.
> 
> Thanks in advance.
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-web-services-are-not-available-tp5720790.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).




Mime
View raw message