I'm deploying a service unit on http-component. The xbean.xml is attached. 

Thanks a lot Alessio,
        João
<?xml version="1.0"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:demo="urn:servicemix:soap-binding"
       xmlns:ns1="http://webservices.sinfic.pt";
	   xmlns:xns="http://xfire.codehaus.org/HelloService";>

    <classpath>
        <location>.</location>
    </classpath>
	<http:endpoint service="xns:HelloServiceProxy"
				   endpoint="endpoint"
				   targetService="xns:HelloService"
				   targetEndpoint="xpto"
	               role="consumer" 	               
	               soap="true"
	               soapVersion="1.1"
	               locationURI="http://localhost:8192/HelloServiceProxy/";
	               defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; />	 

	<http:endpoint service="xns:HelloService"
				   endpoint="xpto"
				   role="provider"
				   soap="true"
	               soapVersion="1.1"	
	               targetService="xns:HelloService"			   
				   targetEndpoint="HelloServiceHttpPort"
	               locationURI="http://localhost:8080/xfire-ws/services/HelloService";
	               wsdlResource="http://localhost:8080/xfire-ws/services/HelloService?wsdl"; />
</beans>

Reply via email to