axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neng xu (JIRA)" <>
Subject [jira] Created: (AXIS-2675) wsdl2java generate java primitive type code for globale nillable element
Date Thu, 14 Jun 2007 19:10:25 GMT
wsdl2java generate  java primitive type code for globale nillable element

                 Key: AXIS-2675
             Project: Axis
          Issue Type: Bug
          Components: Basic Architecture
    Affects Versions: 1.4
         Environment: Java AXIS 1.4
            Reporter: neng xu

<xs:element name="gInt" type="xs:int"/>
	<xs:element name="gIntNillable" type="xs:int" nillable="true"/>
           <!--Request  -->
	<xs:complexType name="MyOperationRequest_Type">
			<xs:element name="localRequiredInt" type="xs:int"/>
			<xs:element name="localOptionalInt" type="xs:int" minOccurs="0"/>
			<xs:element name="localNillableInt" type="xs:int" nillable="true"/>
			<xs:element ref="gInt"/>
			<xs:element ref="gIntNillable"/>
	<xs:element name="myOperation" type="MyOperationRequest_Type"/>

public class MyOperationRequest_Type  implements {
    private int localRequiredInt;
    private java.lang.Integer localOptionalInt;
    private java.lang.Integer localNillableInt;

    private int gInt;
    private int gIntNillable;

    public MyOperationRequest_Type() {

The java variable  ginNillable is int. Based on JAX-RPC 1.1, a nillable elemet should be mapped
to wrapper class Ingteger.  Note. This only happened when referring a globale element (see

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