Hi,
I'm trying to use http polling-connector in Mule 2.0.1, part of the http
transport. My mule config validates nicely using public xsd schema from
http://www.mulesource.org/schema/mule/http/2.0/mule-http.xsd.
A simple junit test, on the other hand, loading the same config fails during
schema validation with:
27 [main] ERROR org.mule.config.builders.AbstractConfigurationBuilder -
Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder"
failed.
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 39
in XML document from URL
[file:/home/jurel/maven/upis-collector/target/test-classes/test-http-missing-interval.xml]
is invalid; nested exception is org.xml.sax.SAXParseException:
cvc-complex-type.2.4.a: Invalid content was found starting with
element 'http:polling-connector'. One
of '{"
http://www.springframework.org/schema/beans":beans, "
http://www.springframework.org/schema/beans":bean, "
http://www.springframework.org/schema/context":property-placeholder, "
http://www.mulesource.org/schema/mule/core/2.0":global-property, "
http://www.mulesource.org/schema/mule/core/2.0":configuration, "
http://www.mulesource.org/schema/mule/core/2.0":notifications, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-extension, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-security-manager, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-transaction-manager, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-connector, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-global-endpoint, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-transformer, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-filter, "
http://www.mulesource.org/schema/mule/core/2.0":abstract-model}'
is expected.
I checked the mule-http.xsd included in mule-transport-http.jar (using maven
builds) and indeed, there is no definition of polling-connector (there is one
in
http://www.mulesource.org/schema/mule/http/2.0/mule-http.xsd.
Can anyone provide any further insight? I'm failrly new to mule and still
fighting hard over available documentation (or lack thereof) so please be
gentle on me...
Thanks,
Jure
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email