Hi, You can use a HTTP SU in front of your CXF-SE SU.
You can see how to do it in the EJB tutorial : http://servicemix.apache.org/6-intermediate-using-ejb-inside-servicemix.html It's exactly what you want to do : expose a POJO with CXF-SE and expose it in HTTP. Nevertheless, be careful, with SMX 3.3 and 2008.01 component, you need to define a "static" WSDL in the HTTP new endpoint. I have made a patch to add WSDL proxy (it's the Jira SM-1721) included in the 2008.02-SNAPSHOT (but not yet included in a SMX release). Regards JB On Tuesday 13 January 2009 - 07:59, Davide Gesino wrote: > > I created a SU using the command (it misses in the maven archetypes > confluence page) > > mvn archetype:create -DarchetypeArtifactId=servicemix-cxf-se-service-unit > -DarchetypeGroupId=org.apa > che.servicemix.tooling -DartifactId=cxf-su > > now I would like to expose the WSDL on HTTP. How can I do it? Do I have to > use a http consumer service unit and package the 2 SU in a SA? > > what is the right configuration of the two xbean.xml file? > the first can be left as this? > > > <cxfse:endpoint> > <cxfse:pojo> > <bean class="org.apache.servicemix.tutorial.ExampleService" /> > </cxfse:pojo> > </cxfse:endpoint> > > > thank you > -- > View this message in context: > http://www.nabble.com/expose-WSDL-of-a-CXF-service-engine-tp21438647p21438647.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > -- Jean-Baptiste Onofré (Nanthrax) BuildProcess/AutoDeploy Project Leader http://buildprocess.sourceforge.net [email protected] PGP : 17D4F086
