Hi, URL should be unique per service endpoint, you are not able to publish multiple endpoints to single URL. (CXF will generate something like java.lang.RuntimeException: Soap 1.1 endpoint already registered on address <URL>). I think only way to achieve that is redesign your service to provide different operations for Quote and Group.
Regards, Andrei. > -----Original Message----- > From: reena upadhyay [mailto:[email protected]] > Sent: Donnerstag, 17. Oktober 2013 11:04 > To: [email protected] > Subject: How to register multiple endpoints on a same address in apache cxf > JAXWS > > I have published two end points (Soap web service) using apache cxf. I am > using a code first approach for web service development. Right now when I > deploy the war of my application on Tomcat server, the wsdl is getting > generated on two different URL. > > <jaxws:endpoint id="LocationService" implementor="#location" > address="/Location" /> > <jaxws:endpoint id="groupService" implementor="#group" > address="/Quote" /> > > http://localhost:8080/exemplar/Quote?wsdl > http://localhost:8080/exemplar/Group?wsdl > > I want that this two end points should get register to a single address so > that I > have only one wsdl for my application. > > Is there any way to do it?
