> -----Original Message----- > From: Jim Talbut [mailto:[email protected]] > Sent: Thursday, September 17, 2009 4:01 AM > To: [email protected] > Subject: How can I configure a CXF web service to listen on a specific > port? > > Hi, > > I hope this is a simple question, but I'm new to CXF. > > I have a CXF web service running with Spring and created from a WSDL > document via the maven plugin. > I need this web service to respond on a different HTTP port - I will > have lots of web services and they all need to be on different ports. > I can host the WARs in either glassfish or tomcat.
I have a feeling your goals are misguided. If two web services are different, but related, they should simply be represented by different WSDLs and slightly different URLs. The only way you can have two different services listening on different ports is if they are deployed to two different web container instances.
