axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Ruiz (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2140) CLONE -Java2WSDL not generating nillable attribute for primitive wrapper types
Date Tue, 26 Jul 2005 15:14:20 GMT
    [ http://issues.apache.org/jira/browse/AXIS-2140?page=comments#action_12316760 ] 

Rodrigo Ruiz commented on AXIS-2140:
------------------------------------

I am experiencing this bug with Axis 1.2.1 release version. Primitive wrapper types are not
made nillable from Java2WSDL.

I am using the following java2wsdl parameters:

--typeMappingVersion 1.2 --style WRAPPED --use LITERAL

And for a method with a signature like process4(Integer v1, Long v2, Short v3), I am getting
the following element definition:

   <element name="process4">
    <complexType>
     <sequence>
      <element name="v1" type="xsd:int"/>
      <element name="v2" type="xsd:long"/>
      <element name="v3" type="xsd:short"/>
     </sequence>
    </complexType>
   </element>

Sorry for the cloning, I think I have clicked where I haven't to :-S


> CLONE -Java2WSDL not generating nillable attribute for primitive wrapper types
> ------------------------------------------------------------------------------
>
>          Key: AXIS-2140
>          URL: http://issues.apache.org/jira/browse/AXIS-2140
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.0
>  Environment: Operating System: Windows NT/2K
> Platform: All
>     Reporter: Rodrigo Ruiz
>      Fix For: current (nightly)

>
> In previous versions, Java2WSDL generated soapenc mappings,
> in which nillable is implicit.  Now it generates xsd mappings,
> it needs to generate a nillable attribute for wrapper types,
> as in JAX-RPC 1.0 section 5.3.1.  It does this for members
> of complex types, but does NOT for stand-alone parameters.
> Thus: Long  -> Java2WSDL ->  xsd:long  -> WSDL2Java ->  long

-- 
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


Mime
View raw message