Hi Jan Did you specify any values in your wsdl as
<xsd:element ref="tns:TestProperty" minOccurs="1" maxOccurs="unbounded" /> Then you need to make sure that the value specified is initiated during the resource start up. I should think that initialising the property in the initialize() or initializeCompleted() step in the resource should do it. /Lenni "Cake is not a dual-use food stuff" -----Oprindelig meddelelse----- Fra: Jan Torben Heuer [mailto:[EMAIL PROTECTED] Sendt: 25. juni 2008 15:44 Til: [email protected] Emne: Re: SchemaValidation On Wednesday 25 June 2008 12:55:12 Jan Torben Heuer wrote: in response to my own question: > org.apache.muse.ws.resource.properties.schema.faults.SchemaValidationFault: > [ID = 'BelowMinimum'] The > property '{http://docs.oasis-open.org/wsn/br-2}Demand' has a minOccurs > value of 1, but there are only 0 instances in the document. I looked at the documents (wsdl, xsd, rmd) But the error is thrown if the getDemand method returns less than one item. Jan -- Jan Torben Heuer Institute for Geoinformatics [EMAIL PROTECTED] Robert-Koch-Strasse 26-28 +49 251 83-31960 48151 Münster, Germany --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
