axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chintan (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3924) WSDL2JAVA does not support optional parameters declared by minOccurs="0"
Date Fri, 18 Jul 2008 08:30:31 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message