cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1382) Aegis runs into schema validation WARNING with interceptors
Date Thu, 10 Jan 2008 02:58:34 GMT
Aegis runs into schema validation WARNING with interceptors
-----------------------------------------------------------

                 Key: CXF-1382
                 URL: https://issues.apache.org/jira/browse/CXF-1382
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.1
            Reporter: Benson Margulies
            Assignee: Daniel Kulp


If you run org.apache.cxf.javascript.AegisTest, you will see traffic like the following in
the log. I think the WARNING needs to be attended to somehow.


Payload: <?xml version="1.0" encoding="UTF-8"?><soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap-env:Body
xmlns:jns0='http://fortest.javascript.cxf.apache.org/' xmlns:jns1='http://aegis.fortest.javascript.cxf.apache.org'
xmlns:jns2='http://cxf.apache.org/arrays' ><jns0:acceptObjects xmlns:jns0='http://fortest.javascript.cxf.apache.org/'
><jns0:anything xmlns:jns0='http://fortest.javascript.cxf.apache.org/' ><jns0:anyType
xmlns:cxfjst0='http://aegis.fortest.javascript.cxf.apache.org' xsi:type='cxfjst0:Mammal'><name
xmlns='http://aegis.fortest.javascript.cxf.apache.org'>cat</name></jns0:anyType><jns0:anyType
>http://www.w3.org/2001/XMLSchema</jns0:anyType></jns0:anything></jns0:acceptObjects></soap-env:Body></soap-env:Envelope>
--------------------------------------
Jan 9, 2008 9:53:05 PM org.apache.cxf.wsdl.EndpointReferenceUtils getSchema
WARNING: SAXException for newSchema()
org.xml.sax.SAXParseException: src-resolve.4.2: Error resolving component 'ns1:ArrayOfAnyType'.
It was detected that 'ns1:ArrayOfAnyType' is in namespace 'http://cxf.apache.org/arrays',
but components from this namespace are not referenceable from schema document 'null'. If this
is the incorrect namespace, perhaps the prefix of 'ns1:ArrayOfAnyType' needs to be changed.
If this is the correct namespace, then an appropriate 'import' tag should be added to 'null'.
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:2241)
	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getGlobalDecl(XSDHandler.java:1192)
	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(XSDElementTraverser.java:376)
	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTraverser.traverseLocal(XSDElementTraverser.java:214)
	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.traverseLocalElements(XSDHandler.java:1781)
	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:484)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:556)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:523)
	at com.sun.org.apache.xerces.internal.jaxp.validation.xs.SchemaFactoryImpl.newSchema(SchemaFactoryImpl.java:206)
	at org.apache.cxf.wsdl.EndpointReferenceUtils.getSchema(EndpointReferenceUtils.java:495)
	at org.apache.cxf.interceptor.AbstractInDatabindingInterceptor.setSchemaInMessage(AbstractInDatabindingInterceptor.java:104)
	at org.apache.cxf.interceptor.AbstractInDatabindingInterceptor.getDataReader(AbstractInDatabindingInterceptor.java:86)
	at org.apache.cxf.interceptor.AbstractInDatabindingInterceptor.getDataReader(AbstractInDatabindingInterceptor.java:93)
	at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:69)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:297)
	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:243)
	at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:54)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
J

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message