axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Commented: (AXIS2-2431) JAXB code generation failure
Date Thu, 19 Apr 2007 07:03:15 GMT


Amila Chinthaka Suriarachchi commented on AXIS2-2431:

your wsdl has two schemas as follows
<schema elementFormDefault="qualified"

            <import namespace=""/>
<schema elementFormDefault="qualified"

but if I put the second schema into a seperate file and import it to the first file giving
a schema location it works fine.
<schema elementFormDefault="qualified"

            <import namespace="" schemaLocation="type.xsd"/>

Jaxb compiler takes one schema at time and compile it. So it can not find that inline schema
in the first instace.
is this (i.e just importing the namespace without a schema location) a standard way of refering
another inline schema?

> JAXB code generation failure
> ----------------------------
>                 Key: AXIS2-2431
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: nightly
>            Reporter: Dennis Sosnoski
>            Priority: Critical
>         Attachments:
> Trying to use JAXB data binding with Wsdl2Java results in NullPointerException:
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.

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:
For additional commands, e-mail:

View raw message