I am using XMLSpy for playing with XMLs and XSDs. The following is supplied by XMLSpy into the root element of my XML, when I choose "Assign Schema" from its menu:
<products xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="listProducts.xsd"> <product id="1658" ... and my XSD starts like that: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="products"> <xs:complexType>.... I got that by asking XMLSpy to generate. Thanks, Levent -- View this message in context: http://cxf.547215.n5.nabble.com/automatic-schema-generation-for-a-RS-method-tp5033048p5042635.html Sent from the cxf-user mailing list archive at Nabble.com.
