On 2010-8-16, at 下午5:23, sunny wrote:


Hi,



I think you can create a wsdl which define all common base for both
providers, then in your
transform se you can customize the message for different  providers.


Do you mean merge the two wsdl files(providers' wsdl)?

Can I make cxf-bc-consumer including the two wsdl and configure
cxf-bc-consumer xbean.xml as follow:

<beans xmlns="http://www.springframework.org/schema/beans";
      xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0";
      ...
      xmlns:ws="targetNamespace A"
      xmlns:wsn="targetNamespace B">

 <cxfbc:consumer wsdl="classpath:A-Service.wsdl"
                service="ws:A-ServiceProxy"
                endpoint="A-HttpPortProxy"
                targetService=""
                targetEndpoint="" />

 <cxfbc:consumer wsdl="classpath:B-Service.wsdl"
               service="wsn:B-ServiceProxy"
               endpoint="B-HttpPortProxy"
               targetService=""
               targetEndpoint=""/>
 </beans>

their targetService is SE.

This is ok

Freeman

Regards,
sunny



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Integrate-two-application-via-servicemix-tp2471683p2636483.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


--
Freeman Fang

------------------------
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to