axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIS2-4734) Issue with schema import in the wsdl file
Date Fri, 06 Jul 2012 11:57:34 GMT

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

Sagara Gunathunga  resolved AXIS2-4734.
---------------------------------------

    Resolution: Incomplete

Some of the imported schema still refer to remotely hosted schema and it's seem particular
server is down. If you still have tis issue please reopen with all necessary resources to
locally reproduce this issue.  
                
> Issue with schema import in the wsdl file
> -----------------------------------------
>
>                 Key: AXIS2-4734
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4734
>             Project: Axis2
>          Issue Type: Test
>          Components: adb
>         Environment: Test
>            Reporter: Geetanjali
>         Attachments: ONIX_BookProduct_CodeLists.xsd, ONIX_BookProduct_Release2.1.xsd,
ProductIdWebservice.wsdl, SymtioPayload.xsd
>
>
> Hi All,
> I am trying to import user defined and external schemas in a wsdl file. When I try to
import a schema which has a reference to an another external schema, then wsdl does not compile
and also wsdl2Java task give the following exception. Please suggest how to resolve this issue.
It is a blocker for me.
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
>      [java] 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
>      [java] 	at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>      [java] 	at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>      [java] Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>      [java] 	at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>      [java] 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
>      [java] 	... 2 more
>      [java] Caused by: java.lang.reflect.InvocationTargetException
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>      [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
>      [java] 	at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>      [java] 	... 3 more
>      [java] Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:289)
>      [java] 	at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
>      [java] 	... 8 more
>      [java] Caused by: java.lang.NullPointerException
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.isComponetExists(SchemaCompiler.java:2723)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(SchemaCompiler.java:2670)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.getParentSchema(SchemaCompiler.java:2644)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.processSimpleType(SchemaCompiler.java:2473)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaCompiler.java:2419)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:399)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:356)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:352)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:352)
>      [java] 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
>      [java] 	... 9 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message