axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arseny S (JIRA)" <>
Subject [jira] Commented: (AXIS-243) Java2WSDL not generating nillable attribute for primitive wrapper types
Date Mon, 17 Mar 2008 12:29:24 GMT


Arseny S commented on AXIS-243:

I still have this problem under 1.4 release.

I start from WSDL. I generate Java stubs and then deploy them on axis.
The original wsdl file contains nillable="true" for my method parameters but the wsdl file
generated by Axis does not.
As I see method writeWrappedParameter() in org/apache/axis/wsdl/fromJava/ must write
the nillable atttribute but it does not.

Having not nillable parameters does not prevent me from parsing null arguments (I use Axis
C++ client), but it makes impossible to generate correct stubs by VC 8.NET. 
I could pass my own wsdl to Axis through wsdlFile param of deploy.wsdd, but I cant because
I use import another wsdl and Axis does not publish imported WSDL files.

> Java2WSDL not generating nillable attribute for primitive wrapper types
> -----------------------------------------------------------------------
>                 Key: AXIS-243
>                 URL:
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.0
>         Environment: Operating System: Windows NT/2K
> Platform: All
>            Reporter: Steve Chamberlain
>             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.
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