[ 
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 Woden,

running axis2 version 1.5.4 WSDLJava on w3c sparql protocol 
protocol-query wsdl, 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!/META-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:file://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!/META-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:file://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 resembles the bug 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
[email protected]



> 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, 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to