On Fri, Jul 9, 2010 at 12:13 PM, Glen Mazza <[email protected]> wrote: > > 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.
That trick worked like a champ. Seems like the JAXB bindings was the right thing to do here, as using the JAX-WS binding seems to get involved way before the XSDs are even parsed (which is why my XPath expressions were failing). Thanks, Glen! --sgp
