cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: help need in accessing external web service through service mix
Date Fri, 26 Sep 2008 19:48:03 GMT

This definitely a question for the servicemix users list, not cxf.

Dan


On Friday 26 September 2008 6:46:00 am manish_goyal wrote:
> Hi,
> I tried accessing an external web service from servicemix. I used one
> cxf-bc-provider and one http-consumer to access the web service. I build
> the project. I am attaching the xbean file of both component. I have
> uploaded the wsdl of the web service for your reference.
>
> cxf-bc-provider
> <beans xmlns="http://www.springframework.org/schema/beans"
>        xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
>        xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:hello="http://swebservice.samples.servicemix.apache.org/">
>        xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
> http://servicemix.apache.org/schema/servicemix-cxfbc-3.2.2.xsd
>        http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
>
>   <cxfbc:provider wsdl="classpath:Hello.wsdl"
>                         locationURI="http://172.21.86.156:9001/hello"
>                         service="hello:HelloTestService"
>                         endpoint="HelloTestPort"
>                         interfaceName="hello:HelloTest">
>
>   </cxfbc:provider>
>
>
> </beans>
>
> http-consumer
>
> <beans xmlns:http="http://servicemix.apache.org/http/1.0"
>        xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
>        xmlns="http://www.springframework.org/schema/beans"
> 	xmlns:hello="http://swebservice.samples.servicemix.apache.org/">
> 	xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
>        xsi:schemaLocation="http://servicemix.apache.org/http/1.0
> http://servicemix.apache.org/schema/servicemix-http-3.2.2.xsd
>        http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
>
>   <http:endpoint service="hello:HelloTestService"
>                  endpoint="HelloTestPort"
>                  role="consumer"
>                  locationURI="http://localhost:8192/example/"  />
>
>
> </beans>
>
> But while deploying the project. I am getting this error:
>
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creati
> ng bean with name 'org.apache.servicemix.cxfbc.CxfBcProvider' defined in
> file [C
>
> :\iona\fuse-esb-3.3.1.3\data\smx\service-assemblies\tutorial-sa\version_1\s
> :us\se
>
> rvicemix-cxf-bc\cxf-bc-su\xbean.xml]: Initialization of bean failed; nested
> exce
> ption is org.springframework.beans.InvalidPropertyException: Invalid
> property 'l
> ocationURI' of bean class [org.apache.servicemix.cxfbc.CxfBcProvider]: No
> proper
> ty 'locationURI' found
>
>
> Please reply soon. It is very urgent.
> Thanks http://www.nabble.com/file/p19686095/Hello.wsdl Hello.wsdl



-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message