John,

If you are using the CXFServlet, then your servlet container will control 
what port you are using.   Thus, the address should just be 
the "extension" off of the context from the servlet.  Like:

address="/blah"

If the servlet is configured in the web.xml as "/cxf" and tomcat is on 
8080, then the full address to hit would be:
http://localhost:8080/cxf/blah

Dan


On Monday 28 April 2008, John-M Baker wrote:
> Sergey,
>
> Where's the documentation for this:
>
>   <jaxws:endpoint id="userService"
>
> implementor="com.db.websso.rest.server.ApplicationConfigurationService
>Impl" address="http://localhost:9090/applicationConfiguration";
> bindingUri="http://apache.org/cxf/binding/http";>
>     <jaxws:serviceFactory>
>       <bean
> class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
> <property name="wrapped" value="true" />
>       </bean>
>     </jaxws:serviceFactory>
>   </jaxws:endpoint>
>
> You can see I've passed localhost:9090 in the address parameter, and
> while the web app starts with no errors, nothing binds to 9090. And
> I've updated web.xml to include the CXFServlet and start Spring.
>
> I have to say, this does seem like a lot of effort for something
> that's so easy in a few lines of code. I'd love to see this much
> easier to configure...
>
> Would appreciate some thoughts.
>
>
> John Baker



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to