Hi, 

So far i did the following (in order to simulate a proxy via the http BC): 

created 2 servicemix-http components, 1 for the provider & 1 for the
consumer. 

This is the provider xbean: 

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
xmlns:my="http://www.example.com/my";> 
  <http:endpoint service="my:ForecastWeatherImpService" 
                 endpoint="ForecastWeatherImp" 
                 role="provider" 
                 locationURI="http://localhost:8080/remoteService/"; 
                wsdlResource="classpath:ForecastWeatherImp.wsdl"/> 
</beans> 

This is the consumer xbean: 

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
xmlns:my="http://www.example.com/my";> 
  <http:endpoint service="my:MyConsumerService" 
                 endpoint="myConsumer" 
                 role="consumer" 
                 locationURI="http://localhost:8080/Service/"; 
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out"/> 
</beans> 

& generated a SA with those two SU's as its dependencies. 

Two questions please:
1. Under my local tomcat installation folder i located two directories -
remoteService & Service. The wsdl to my remote service is located in the
remoteService direcftory. Should it be there? 

2. I get the following error once running "mvn install" in the root
directory (in the final step before deployment): 

/PROXY/proxy-consumer-su/src/main/resources/xbean.xml] 
[WARNING] Failed to generate jbi.xml:
org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable to
generate service unit
descriptor!org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable
to generate service unit descriptor! 

It seems as if i defined something wrong in the consumer xbean file. 

Please advice. 

Thanks in advance. 
Liav.
-- 
View this message in context: http://www.nabble.com/U-tp21196713p21196713.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

  • U Liav Ezer
    • Re: U Gert Vanthienen
    • u Ryan Moquin

Reply via email to