[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-dev
Subject:    [jira] Updated: (WODEN-14) Use XML Catalog To Improve Performance
From:       "Lauri Carlson (JIRA)" <jira () apache ! org>
Date:       2011-01-29 5:58:46
Message-ID: 26492007.284161296280726269.JavaMail.jira () thor
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/WODEN-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Lauri Carlson updated WODEN-14:
-------------------------------

    Attachment: lauri_carlson.vcf

Dear list,

running axis2 version 1.5.4 WSDLJava on w3c sparql protocol wsdl 2.0, I 
get the following errors from woden:

java org.apache.axis2.wsdl.WSDL2Java -uri protocol-query.wsdl -p 
my.service -wv 2 -d jaxbri -ss -sd -ssi -o /my/dir

Woden[Error],0:0,WSDL521,Could not parse an inline schema in the WSDL at 
URL 
"jar:file://file:/usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar!/M \
ETA-INF/SparqlService.wsdl".,java.lang.RuntimeException:org.apache.ws.commons.schema.XmlSchemaException: \
 JAR entry 
jar:file:///usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar!/jar:fil \
e://file:/usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar!/META-INF/xml.xsd \
 not found in 
/usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar
Woden[Error],0:0,WSDL521,Could not parse an inline schema in the WSDL at 
URL 
"jar:file://file:/usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar!/M \
ETA-INF/SparqlService.wsdl".,java.lang.RuntimeException:org.apache.ws.commons.schema.XmlSchemaException: \
 JAR entry 
jar:file:///usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar!/jar:fil \
e://file:/usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar!/META-INF/result.xsd \
 not found in 
/usr/share/tomcat/webapps/axis2/WEB-INF/services/SparqlService.aar

To me this looks like another woden resolver bug, like the one discussed in
http://marc.info/?l=woden-dev&m=119929918928610&w=2,
this time caused by references to xsd imports two level deep in the 
sparql protocol wsdl.

Greetings

Lauri Carlson
lauri.carlson@helsinki.fi



> Use XML Catalog To Improve Performance and Enable Offline Work
> --------------------------------------------------------------
> 
> Key: WODEN-14
> URL: https://issues.apache.org/jira/browse/WODEN-14
> Project: Woden
> Issue Type: New Feature
> Components: Parser
> Reporter: Arthur Ryman
> Assignee: Lawrence Mandel
> Attachments: lauri_carlson.vcf, lauri_carlson.vcf, sample.zip, woden-14-patch1.txt, \
> woden-14-patch3.txt, woden-14-patch5.txt, woden14-patch4all.txt, \
> woden14fileURLpath.txt, woden14SimpleURIResolverTest.txt, \
> woden14SimpleURIResolvertest.txt, woden14srcpatch2.txt 
> 
> Woden currently retrieves XML schemas from the Internet each time it performs a \
> validator. This causes a multisecond performance degradation and prevents \
> validation from working when there is no Internet access. Woden should use an XML \
> catalog to resolve references to Internet resources. There should be an API for \
> controlling the XML catalog so that Woden can be imbedded in other systems, such as \
> Eclipse and Ant, that provide XML catalogs. The XML catalog should be consulted \
> when resolving all resource requests, e.g. for XML schema or WSDL.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic