You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2008/01/24 20:03:17 UTC
Re: support.JaxWsServiceFactoryBean as factory for multiple
endpoints
On Thu, 2008-01-24 at 13:54 -0500, Daniel Kulp wrote:
> Yea, that definitely won't work. The service factories record way to
> much state specific to that endpoint.
>
> That said, you MAY be able to get it to work by doing:
>
> <bean singleton="false"
> id='jaxws-and-aegis-service-factory'
> class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
> ....
That is, scope='prototype'. This works in a live app of mine.
Re: support.JaxWsServiceFactoryBean as factory for multiple endpoints
Posted by Daniel Kulp <dk...@apache.org>.
On Thursday 24 January 2008, Benson Margulies wrote:
> On Thu, 2008-01-24 at 13:54 -0500, Daniel Kulp wrote:
> > Yea, that definitely won't work. The service factories record way
> > to much state specific to that endpoint.
> >
> > That said, you MAY be able to get it to work by doing:
> >
> > <bean singleton="false"
> > id='jaxws-and-aegis-service-factory'
> > class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
> > ....
>
> That is, scope='prototype'. This works in a live app of mine.
Listen to him, not me. I have no clue what I'm talking about...
:-)
--
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog