Scott Parkerson wrote: > > I've been trying to use a JAX-WS bindings file to make my generated > objects serializable, as referenced here: > > http://markmail.org/message/aw52wgp6bdpwo5rx >
If it would be sufficient to have just the JAXB artifacts serializable (assuming you're using JAXB), the Stack Overflow article listed at the bottom of step #2 here: http://www.jroller.com/gmazza/entry/customizing_jaxb_artifacts#BindingFile *might* be better. Using a JAXB binding file instead of a JAX-WS one allows you to use SCD's (Schema Component Designators) to identify the particular schemas and JAXB's XJC processor is usually very helpful in making suggestions when it can't figure out what you're referring to. Also, if you have to, you can modify/restructure the WSDL while doing one-time client artifact generation -- all that's important is that whatever goes out over the wire remains true to the original WSDL. If you need to do one-time modifications to get your objects generated properly, I won't tell anyone. Glen -- View this message in context: http://cxf.547215.n5.nabble.com/wsdl2java-cxf-codegen-plugin-and-WSDL-that-uses-wsdl-import-s-tp1045179p1045601.html Sent from the cxf-user mailing list archive at Nabble.com.
