My only suggestion is to upgrade to a newer version of CXF. If you grab the latest CXF versions, there are several options such as the transform feature, namespace mappings, etc… They wouldn’t be available with something that old.
Dan On Apr 8, 2014, at 6:25 PM, Pablo Caballero <[email protected]> wrote: > Hi! I'm using cxf (2.2.10 version) as a WS client. The nasty server side > implementation (I can't change it nor suggest to change it to his owner) > requires: > > <blah:hola xmlns:blah="http://lalalala"> > .................. > </blah:hola> > > and the (correct) payload generated by my client is > > <hola xmlns="http://lalalala"> > .................. > </hola> > > ("blah" can be whatever I want) > > I played with the package-info.java file adding: > > @javax.xml.bind.annotation.XmlSchema( > namespace = "http://lalalala", > elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED, > xmlns = { > @javax.xml.bind.annotation.XmlNs(prefix = "blah", > namespaceURI="http://lalalala")} > ) > > but it does not seem to work. > > Could someone help me? > > Thank you very much > > Best regards! -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
