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 "Felix J. Ogris" <fj...@ogris.de> on 2008/05/06 16:10:10 UTC

WSDL / minOccurs (patch included)

Hi,

I didn't understand why Axis2 generates WSDLs for POJO functions with
minOccurs=0 set for each function parameter. Either my function has a
parameter X, or it has not. In the latter case no element should be created
at all (that differs from having an element with minOccurs=0). So I made
this small diff which modifies
modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGener
ator.java to call setMinOccurs(1) instead of setMinOccurs(0).

Regards,
Felix



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: WSDL / minOccurs (patch included)

Posted by keith chapman <ke...@gmail.com>.
Hi Felix,

Same again :). Would be better if you can create a Jira and attach the
patch. Jira makes it easier to keep track of changes.

Thanks,
Keith.

On Tue, May 6, 2008 at 7:46 PM, Felix J. Ogris <fj...@ogris.de> wrote:

> Sorry, I forgot the diff file :-(
>
> Felix
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>



-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Re: WSDL / minOccurs (patch included)

Posted by Deepal Jayasinghe <de...@opensource.lk>.
Thank you very much for the patch.

-Deepal
> Sorry, I forgot the diff file :-(
>
> Felix
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: WSDL / minOccurs (patch included)

Posted by "Felix J. Ogris" <fj...@ogris.de>.
Sorry, I forgot the diff file :-(

Felix