WSDL2JAVA does not support optional parameters declared by minOccurs="0"
------------------------------------------------------------------------
Key: AXIS2-3924
URL: https://issues.apache.org/jira/browse/AXIS2-3924
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: rpc
Environment: Linux
Reporter: Chintan
Hi,
In our project we use JWSDP's wscompile to generate WSDL which generates
WSDL in RPC-Encoded style.
We use this WSDL with Axis2's wsdl2java tool to generate client side stub.
In some of the messages, some parameters has to be optional, so that we can
pass null values. These parameters are declared optional by using minOccurs="0"
in wsdl. But when the client stub is generated, it generates not null
validation for all the parameters for all the messages.
Not sure if this is bug or there is some option that I should use while
using wsdl2java to get optional parameters working.
Thanks,
Chintan
--
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]