|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
SchemaValidationHi,
what does this error mean: 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. _Where_ does the "Demand" has to appear? Which document? Jan --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@... For additional commands, e-mail: muse-user-help@... |
|
|
Re: SchemaValidationOn 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 jan.heuer@... Robert-Koch-Strasse 26-28 +49 251 83-31960 48151 Münster, Germany --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@... For additional commands, e-mail: muse-user-help@... |
|
|
SV: SchemaValidationHi 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:jan.heuer@...] Sendt: 25. juni 2008 15:44 Til: muse-user@... 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 jan.heuer@... Robert-Koch-Strasse 26-28 +49 251 83-31960 48151 Münster, Germany --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@... For additional commands, e-mail: muse-user-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: muse-user-unsubscribe@... For additional commands, e-mail: muse-user-help@... |
|
|
Re: SV: SchemaValidationOn Thursday 26 June 2008 08:04:45 Lenni Madsen wrote:
Hallo, > 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. Yes, that did it. I was just confused by the error message because it complained about a "document".. Jan -- Jan Torben Heuer Institute for Geoinformatics jan.heuer@... Robert-Koch-Strasse 26-28 +49 251 83-31960 48151 Münster, Germany |
| Free embeddable forum powered by Nabble | Forum Help |