Hi, Yes, if you don't specify locationURI for cxf bc consumer endpoint, by default the location in wsdl soap:address will be used to publish the endpoint, which is http://localhost:9090/EJViewerPort, it means you can't access this endpoint from external host, so specify locationURI for cxf bc consumer can override the default one
------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 www.camelone.org : The open source integration conference: On 2013-5-17, at 下午1:31, cristisor wrote: > This is my xbean.xml with the cxfbc consumer: > > <?xml version="1.0" encoding="UTF-8"?> > <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0" > xmlns:ejv="http://storeworld.centric.eu/2013/05/ejviewer" > xmlns="http://xbean.org/schemas/spring/1.0"> > > <cxfbc:consumer > wsdl="classpath:/META-INF/wsdl/nec/services/EJViewer.wsdl" > service="ejv:EJViewerEndpointService" interfaceName="ejv:EJViewerService" > targetEndpoint="EJViewerPort" > targetService="ejv:EJViewerEndpointService" > targetInterface="ejv:EJViewerService" /> > > </beans> > > The generated wsdl has "<soap:address > location="http://localhost:9090/EJViewerPort"/>". > > Should I add a locationURI with the value 0.0.0.0:9090? > > I see a lot of parameters for the cxfbc:consumer but since it's my first > project with cxfbc I really don't know/understand all of them, please let me > know if you think that I should add other parameters to the above defined > consumer. > > Regards, > Cristian. > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Can-t-reach-SOAP-service-deployed-in-ServiceMix-tp5716753p5716757.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
