[
https://issues.apache.org/jira/browse/AXIS-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579396#action_12579396
]
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/Types.java 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: https://issues.apache.org/jira/browse/AXIS-243
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]