cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sky-Tiger <darktemplars...@gmail.com>
Subject How CXF/JAXB deal with Xsd:any?
Date Mon, 15 Sep 2008 04:13:21 GMT

Dear all,
     Please check the xml schema bellow:
     	<xsd:complexType name="OperationType">
		<xsd:sequence>
			<xsd:element name="operationLabel" type="xsd:string" minOccurs="0"/>
			<xsd:element name="operationData" minOccurs="0">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:any namespace="##any" processContents="lax" minOccurs="0"/>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
        The operationData is xsd:any type. What does it really contain is
controlled by operationLabel.
        So in such scenario, how does cxf deal with the xml message? In
JAXB, any type will be converted to java Object.

Regards

Hubert.
-- 
View this message in context: http://www.nabble.com/How-CXF-JAXB-deal-with-Xsd%3Aany--tp19487071p19487071.html
Sent from the cxf-dev mailing list archive at Nabble.com.


Mime
View raw message