I'm using CXF 2.0.1-incubator in weblogic 10 My WSDL imports a schema (xsd) which imports another schema (xsd) and it all validates with no problems
when I get the response back the namespace alias is on every tag and I would like to know if I can have it on the top level tag only Current response: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns3:DocResponse mlns:ns2="http://www.synoran.com/ebx/v4/types" xmlns:ns3="http://www.synoran.com/sde/se/types"><payload><ns2:eBx><ns2:eBxRq><ns2:SignonRq><ns2:SignonRecCHT><ns2:SignonPswd><ns2:SignonRole>String</ns2:SignonRole></ns2:SignonPswd></ns2:SignonRecCHT><ns2:ClientDt>2001-12-17T09:30:47.0Z</ns2:ClientDt></ns2:SignonRq></ns2:eBxRq></ns2:eBx></payload></ns3:DocResponse></soap:Body></soap:Envelope> Expected response <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns:DocResponse mlns:ns="http://www.synoran.com/sde/se/types"><payload><eBx xmlns="http://www.synoran.com/ebx/v4/types"><eBxRq><SignonRq><SignonRecCHT><SignonPswd><SignonRole>String</SignonRole></SignonPswd></SignonRecCHT><ClientDt>2001-12-17T09:30:47.0Z</ClientDt></SignonRq></eBxRq></eBx></payload></ns:DocResponse></soap:Body></soap:Envelope> my beans.xml: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> <jaxws:endpoint id="SDEService" implementor="com.synoran.sde.se.SDEServiceImpl" address="/SDEService"> <jaxws:properties> <entry key="javax.xml.stream.XMLInputFactory" value="com.ctc.wstx.stax.WstxInputFactory" /> <entry key="javax.xml.stream.XMLOutputFactory" value="com.ctc.wstx.stax.WstxOutputFactory" /> <entry key="javax.xml.stream.XMLEventFactory" value="com.ctc.wstx.stax.WstxEventFactory" /> </jaxws:properties> </jaxws:endpoint> </beans> Is there a tag that I'm missing or is that something CXF cannot currently accomplish? -- View this message in context: http://www.nabble.com/Soap---Namespace-tf4348870.html#a12390726 Sent from the cxf-user mailing list archive at Nabble.com.