You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2008/07/22 11:40:31 UTC
[jira] Assigned: (AXIS2-3924) WSDL2JAVA does not support optional
parameters declared by minOccurs="0"
[ https://issues.apache.org/jira/browse/AXIS2-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-3924:
----------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> 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
> Assignee: Amila Chinthaka Suriarachchi
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org