You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2006/03/03 11:43:52 UTC

[jira] Assigned: (AXIS2-245) Wsdl generation now tries to do online download

     [ http://issues.apache.org/jira/browse/AXIS2-245?page=all ]

Deepal Jayasinghe reassigned AXIS2-245:
---------------------------------------

    Assign To: Ajith Harshana Ranabahu

> Wsdl generation now tries to do online download
> -----------------------------------------------
>
>          Key: AXIS2-245
>          URL: http://issues.apache.org/jira/browse/AXIS2-245
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Versions: 0.92
>  Environment: Java.1.5.04
>     Reporter: Steve Loughran
>     Assignee: Ajith Harshana Ranabahu

>
> This is a regression since 0.91.
> I have a large set of documents, including a complete patched set of the WS-ResourceFramework docs, all patched so that they cross reference each other in the local filesystem; no need for remote downloads. Yet WSDL2java is now failing because it wants to do an onilne retrieval, even though the log shows that it has just retrieved the relevant schema, as marked in the trace.
> Retrieving schema at 'xml-cdl.xsd', relative to 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Retrieving schema at '../wsrf/ws-addressing.xsd', relative to 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Retrieving schema at '../wsrf/wsn-WS-BaseNotification-1.2-draft-01.xsd', relative to 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Retrieving schema at '../wsrf/wsdm-muws-part2.xsd', relative to 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Retrieving schema at '../wsrf/soap12.xsd', relative to 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Retrieving schema at '../wsrf/wsrf-WS-ResourceProperties-1.2-draft-01.xsd', relative to 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Retrieving schema at '../wsrf/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd', relative to       ******** HERE ***********
> 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Retrieving schema at '../wsrf/wsrf-WS-BaseFaults-1.2-draft-01.xsd', relative to 'file:/home/slo/Projects/SmartFrog/Deploy/deployment/xml/api/'.
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: Could not load resource "wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" (network downloads disabled).
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:104)
> 	at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:30)
> 	at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: Could not load resource "wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" (network downloads disabled).
> 	at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:168)
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:75)
> 	... 2 more
> Caused by: org.apache.xmlbeans.XmlException: error: Could not load resource "wsrf-WS-ResourceLifetime-1.2-draft-01.xsd" (network downloads disabled).
> 	at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> /home/slo/Projects/SmartFrog/Forge/core/components/deployapi/build.xml:412: Java returned: 1
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
> 	at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:147)
> 	... 3 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira