They are basically the same objects--the JAXB implementations (Java objects representing the wsdl:types) are used by both server- and client-side.
The *Service.java interface you see is your SEI (service endpoint interface)--you manually implement that interface service-side--the implementation is called a SIB (service implementation bean) or SEI implementation--and refer to that interface when writing your client. See here for more details: http://www.jroller.com/gmazza/date/20080417 HTH, Glen me-76 wrote: > > Hi, > > I've some a questions related to the cxf-codegen-plugin in version 2.0.6. > > If I invoke this configuration I'll receive my classes which are defined > in > the wsdl. But I'm not sure if these are the client or the serverstubs. > Is the plugin generating generic classes for both? > > <plugin> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-codegen-plugin</artifactId> > <version>${cxf.version}</version> > <executions> > <execution> > <id>generate-sources</id> > <phase>generate-sources</phase> > <configuration> > <sourceRoot> ${basedir}/src/main/generated/ > </sourceRoot> > <wsdlOptions> > <wsdlOption> > <wsdl> > ${basedir}/src/main/resources/wsdl/mcastservice.wsdl > </wsdl> > </wsdlOption> > </wsdlOptions> > </configuration> > <goals> > <goal>wsdl2java</goal> > </goals> > </execution> > </executions> > </plugin> > > I have to use 2.0.6 because it's the only I could use together with > hibernate. > > yours sincerly > > Marc > > -- View this message in context: http://www.nabble.com/Generated-Stubs-from-cxf-codegen-plugin-%28V.-2.0.6%29-tp18354904p18361268.html Sent from the cxf-user mailing list archive at Nabble.com.
