Would this mean that i can create an objectfactory to use instead of existing one created by xjc ?
dkulp wrote: > > > Most likely no, and I'm not exactly sure how XFire would have accomplished > this. If the objects are created from jaxb's xjc, there is a > ObjectFactory object that is created that would reference all the objects > in > the schema. (D, E, and F) The JAXB runtime checks for the ObjectFactory > for each object bound in and, if there, uses it to find everything else. > Thus, if A, B, and C are found, the ObjectFactory is found, and thus so id > D, > E, and F. > > Possibly if you delete the ObjectFactory, but I'm not sure what would > happen > then. > > Dan > > > On Monday 03 November 2008 7:42:52 am rulien wrote: >> We are using schema first developement. We used XFire but want to convert >> to CXF. >> >> We have one problem. >> >> We have a method which uses objects generated from a xml schema using >> jaxb >> >> public A findX (B , C) >> >> In the namespace of this schema objects D, E and F also exists. >> >> We use JAX-WS annotations to publish the webservice endpoints. >> >> When we generate wsdl in XFire, only the elements in the interface (A, B, >> C) shows up in wsdl:types definition >> >> But in CXF every object (A, B, C, D, E and F) shows up in wsdl:types. Is >> there something I can do to narrow this down ? > > > > -- > Daniel Kulp > [EMAIL PROTECTED] > http://dankulp.com/blog > > -- View this message in context: http://www.nabble.com/Whole-namespace-in-schema-definitions-under-wsdl%3Atypes-tp20302115p20370429.html Sent from the cxf-user mailing list archive at Nabble.com.
