My opinion is that the constructor of the server factory that takes a service factory should pull all relevant properties from it. I'll post to JIRA.
> -----Original Message----- > From: Jeff.Yu [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 29, 2007 10:05 PM > To: [email protected] > Subject: Re: JaxWsServerFactoryBean null pointer > > Hi, > > I encountered this same issue several days ago, it ended up using > "ServerFactoryBean.setServiceClass()", if I > set serviceFactoryBean.setServiceClass(), I would get the NPE. I think it > would be better for us to take a look > at whats wrong here. > > Thanks > Jeff > > > > Benson Margulies wrote: > > Step 1: create a JaxWsServiceFactoryBean. Set the service class. > > > > Step 2: create a JaxWsServerFactoryBean over the service factory bean. > > > > Step 3: observe that the serviceClass of the serverFactory bean is null. > > Shouldn't it default to that of the service factory? > > > > > > > > > > > > > >
