The proxy factory will hand you back a proxy class that uses your pojos. It will do this based on the @nnotations on the SEI, which you will identify as the service class.
On Thu, Oct 2, 2008 at 10:38 PM, Coder One <[EMAIL PROTECTED]> wrote: > How do say when I call this WebService, use these pojos from this package? > I need to tell CXF where my pojos are in addition to the WSDL right? > > Thanks, > > --- On Thu, 10/2/08, Benson Margulies <[EMAIL PROTECTED]> wrote: > > > From: Benson Margulies <[EMAIL PROTECTED]> > > Subject: Re: CXF & POJO WebService Server & Client > > To: [email protected], [EMAIL PROTECTED] > > Date: Thursday, October 2, 2008, 5:01 AM > > Certainly. Pass the WSDL URL into the service factory > > instead of using the > > Dynamic client. > > > > On Wed, Oct 1, 2008 at 10:23 PM, Coder One > > <[EMAIL PROTECTED]> wrote: > > > > > I created a number of POJOs and exposed them as a > > webservice with > > > CXF/Spring. For example > > > > > > BasicService.java (exposed as WebService with CXF) > > > User.java > > > Company.java > > > > > > I also let CXF generate the WSDL for me. On the > > client side, rather than > > > consuming the WSDL and auto-generate the beans, well, > > I already have the > > > beans, can I somehow "link/map" the > > auto-generated WSDL to the existing > > > beans from which the WSDL was generated to start with? > > > > > > Thanks, > > > > > > > > > > > > > > > > > > > > > > > > > >
