Hi, I am sorry for the xbean.xml files, and I update them. Please check it again.
I don't understand whether the service name(or endpoint name) of cxfbc:consumer is related service name(or port name) of wsdl. Freeman Fang wrote: > > Hi, > You need take a look at [1] to see how to configure cxf bc consumer and > provider as bridge, your can't use same servicename + endpointname for > two endpoint > [1]http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/cxf_provider_consumer_bridge.xml > btw, you miss your xbean.xml for cxf bc su, all three xbean.xml you > appended here is same, it's all for the jms su. > Freeman > > colin.chi wrote: >> Hi freeman, >> >> Thanks for you reply, and I tell more details follow. >> >> My working flow is >> external client ===>cxf bc consumer ===> jms provider ===>(queue)===> jms >> consumer >> ===>eip router(do some transformations, and send message to next)===>cxf >> bc >> provider >> ===>externeal service(axis webservice is already working success.) >> >> This is the wsdl file of axis webservice. >> http://www.nabble.com/file/p23976983/CustomerInClarity.wsdl >> CustomerInClarity.wsdl >> >> And these are config files in smx that I write. >> cxf-bc-su http://www.nabble.com/file/p23976983/xbean.xml xbean.xml >> >> http://www.nabble.com/file/p23976983/CustomerInClarity.wsdl >> CustomerInClarity.wsdl >> eip-su http://www.nabble.com/file/p23976983/xbean.xml xbean.xml >> jms-su http://www.nabble.com/file/p23976983/xbean.xml xbean.xml >> >> When axis webservice has one operation, it can run success. >> >> When axis webservice has tow or more operations, deployed failed. >> Error log is: http://www.nabble.com/file/p23976983/Error%2Blog.txt >> Error+log.txt >> >> >From the error log, I can know the error reason is the use of a >> duplicate >> endpoint. >> >> So, I don't know how to config the cxf bc xbean.xml. >> >> I don't know what does the attribute interfaceName of cxf-consumer >> mean?and >> When to use it? >> >> >> Freeman Fang wrote: >> >>> Hi, >>> Could you provide more details about your working flow? >>> Is it >>> external client ===> cxf bc consumer===> cxf bc provider ====> externel >>> service (axis webservice hosted in tomcat, is axis webservice already >>> working?) ? >>> Freeman >>> >>> colin.chi wrote: >>> >>>> I have a webservice server, and there is 2 operations in the server's >>>> wsdl. >>>> >>>> How can I use cxf consumer/provider su to invoke my webservice. >>>> >>>> java code in server >>>> ======CustomerInClarity.java====== >>>> public class CustomerInClarity { >>>> >>>> public void createCustomer(String xml) { >>>> System.out.println("Customer:\n" + xml); >>>> } >>>> >>>> public void createAccount(String xml) { >>>> System.out.println("Account:\n" + xml); >>>> } >>>> } >>>> >>>> I rename CustomerInClarity.java to CustomerInClarity.jws, and copy it >>>> to >>>> "TOMCAT_HOME\webapps\axis". >>>> >>>> Please help me to config the xbean.xml in cxf-bc-su. >>>> >>>> >>> -- >>> Freeman Fang >>> ------------------------ >>> Open Source SOA: http://fusesource.com >>> >>> >>> >>> >> >> > > > -- > Freeman Fang > ------------------------ > Open Source SOA: http://fusesource.com > > > -- View this message in context: http://www.nabble.com/How-to-use-cxf-su-in-this-case--tp23975272p23977467.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
