*some time (1) :*
Dec 6, 2010 11:46:10 AM org.apache.cxf.wsdl.EndpointReferenceUtils createSchema
WARNING: SAXException for newSchema() on
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'Comments' to a(n) 'element declaration' component.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
*some time (2) :*
WARNING: SAXException for newSchema() on
org.xml.sax.SAXParseException: s4s-elt-invalid-content.1: The content of 'schema' is invalid. Element 'include' is invalid, misplaced, or occurs too often.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
Here is my code & config file..
mule config .xml
<cxf:features>
<spring:bean class="com.mastek.elixirna.integration.interceptor.SchemaValidationFeature"/>
</cxf:features>
SchemaValidationFeature.java
public class SchemaValidationFeature extends AbstractFeature {
@Override
public void initialize(Server server, Bus bus) {
server.getEndpoint().getService().put("schema-validation-enabled", true);
super.initialize(server, bus);
}
}
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email