Allright, thanks guys. So I gather for now I have no other options but
to do programmatic setup. In this case I have to ask another question.
Here is a sample of how to do it from the web:

URL wsdl = getClass().getResource("wsdl/greeting.wsdl");
SOAPService service = new SOAPService(wsdl, serviceName);
Greeter greeter = service.getPort(portName, Greeter.class);

// Okay, are you sick of configuration files ?
// This will show you how to configure the http conduit dynamically
Client client = ClientProxy.getClient(poltim);
HTTPConduit http = (HTTPConduit) client.getConduit();

in this code what is "poltim" ? in the call ClientProxy.getClient() ...

Thanks,
Alex.

On Dec 26, 2007 2:10 PM, Benson Margulies <[EMAIL PROTECTED]> wrote:
> The code Willem quoted was code I wrote, and it assumes that you are, as
> Glen suggests, using regular Spring configuration. Otherwise, you have
> no way to attach the Property code to CXF's bus as far as I know.
>
> We could have a JIRA suggesting that CXF allow ${} references to system
> properties in cxf.xml or cxf-servlet.xml, or even some scheme
> (-Dcxf.config.property.file?) to allow others. As far as I know,
> however, we haven't got that now.
>
>
> On Wed, 2007-12-26 at 08:03 -0500, Glen Mazza wrote:
> > Do a search on "staticResourceURL" in both of the files for what Willem
> > is referring to.  I have not done this before, however.
> >
> > Also, IIRC cxf.xml is primarily for bus (generic endpoint)
> > configuration.  I suspect you would want to use a regular Spring
> > configuration file (either a more hardwired cxf-servlet.xml or a manual
> > ApplicationContext file, see here[1][2]) for what you are doing.  Making
> > such a switch might make it easier for you to modify properties in the
> > manner you desire below.
> >
> > Glen
> >
> > [1]
> > http://cwiki.apache.org/confluence/display/CXF20DOC/Configuration#Configuration-Serverconfigurationfiles
> >
> > [2] http://cwiki.apache.org/confluence/display/CXF20DOC/Standalone+HTTP
> > +Transport
> >
> >

Reply via email to