You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Mdavis <md...@iona.com> on 2007/08/08 20:18:01 UTC
Dynamically starting server
Hello. Hopefully this is a simple, easy question. I would like to at
startup determine where my server runs using the CXF container. This means
that I would like to pass in the SOAP URL location instead of picking it up
from WSDL or annotations. If I use the endpoint.publish method with a
address, the documentation states that this overrrides the annotations. Is
this the preferred way to do such? What happens if you do not pass the WSDL
when you start up the service? What does this internally do?
Also, is there a way to automatically start a service upon demand?
Thank you.
Michelle
--
View this message in context: http://www.nabble.com/Dynamically-starting-server-tf4238173.html#a12059059
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Dynamically starting server
Posted by Willem Jiang <ni...@iona.com>.
Hi Michelle
If you do not pass the wsdl location to CXF when you start up the service,
CXF will try to build a service model form the service class. You can
find more information about the service model from this URL [1].
I have no idea about your last question's automatic way. Can you
elaborate it ?
[1]http://cwiki.apache.org/CXF20DOC/cxf-architecture.html#CXFArchitecture-TheServiceModel
Willem.
Mdavis wrote:
> Hello. Hopefully this is a simple, easy question. I would like to at
> startup determine where my server runs using the CXF container. This means
> that I would like to pass in the SOAP URL location instead of picking it up
> from WSDL or annotations. If I use the endpoint.publish method with a
> address, the documentation states that this overrrides the annotations. Is
> this the preferred way to do such? What happens if you do not pass the WSDL
> when you start up the service? What does this internally do?
>
> Also, is there a way to automatically start a service upon demand?
>
> Thank you.
> Michelle
>