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 > > > -- View this message in context: http://www.nabble.com/How-to-use-cxf-su-in-this-case--tp23975272p23976983.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
