You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Chris van Es <Ch...@openwave.com> on 2009/02/04 13:58:57 UTC

Axis 1.4.1 POJO problem

Hi, I'm recently new to Axis2 and I'm working on a pretty simple web
service. I'm generating the wsdl from java classes inside a service aar
file. The resulting wsdl contains minOccurs="0" for all of the operation
parmaters, is there a way to specify minOccurs="1" or something similar
to flag these as mandatory paramaters?

 

Thanks.

 

Chris.


Re: Axis 1.4.1 POJO problem

Posted by Nandana Mihindukulasooriya <na...@gmail.com>.
No. Take a look at [1]

thanks,
nandana

[1] - http://marc.info/?l=axis-user&m=116242240709383&w=2

On Wed, Feb 4, 2009 at 11:24 PM, Chris van Es <Ch...@openwave.com>wrote:

>  Am I right in assuming to that I should remove the services.xml file and
> place my wsdl file in the META-INF directory?
>
>
>
> *From:* keith chapman [mailto:keithgchapman@gmail.com]
> *Sent:* 04 February 2009 17:23
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Axis 1.4.1 POJO problem
>
>
>
> Hi Chris,
>
> I'm afraid you do not have control over this. Your options could be to save
> the generated WSDL, edit it and pack it into the aar and make Axis2 use that
> WSDL instead of generating one.
>
> Thanks,
> Keith.
>
> On Wed, Feb 4, 2009 at 6:28 PM, Chris van Es <Ch...@openwave.com>
> wrote:
>
> Hi, I'm recently new to Axis2 and I'm working on a pretty simple web
> service. I'm generating the wsdl from java classes inside a service aar
> file. The resulting wsdl contains minOccurs="0" for all of the operation
> parmaters, is there a way to specify minOccurs="1" or something similar to
> flag these as mandatory paramaters?
>
>
>
> Thanks.
>
>
>
> Chris.
>
>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>



-- 
Nandana Mihindukulasooriya
WSO2 inc.

http://nandana83.blogspot.com/
http://www.wso2.org

RE: Axis 1.4.1 POJO problem

Posted by Chris van Es <Ch...@openwave.com>.
Am I right in assuming to that I should remove the services.xml file and
place my wsdl file in the META-INF directory?

 

From: keith chapman [mailto:keithgchapman@gmail.com] 
Sent: 04 February 2009 17:23
To: axis-user@ws.apache.org
Subject: Re: Axis 1.4.1 POJO problem

 

Hi Chris,

I'm afraid you do not have control over this. Your options could be to
save the generated WSDL, edit it and pack it into the aar and make Axis2
use that WSDL instead of generating one.

Thanks,
Keith.

On Wed, Feb 4, 2009 at 6:28 PM, Chris van Es <Ch...@openwave.com>
wrote:

Hi, I'm recently new to Axis2 and I'm working on a pretty simple web
service. I'm generating the wsdl from java classes inside a service aar
file. The resulting wsdl contains minOccurs="0" for all of the operation
parmaters, is there a way to specify minOccurs="1" or something similar
to flag these as mandatory paramaters?

 

Thanks.

 

Chris.




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

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


Re: Axis 1.4.1 POJO problem

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

I'm afraid you do not have control over this. Your options could be to save
the generated WSDL, edit it and pack it into the aar and make Axis2 use that
WSDL instead of generating one.

Thanks,
Keith.

On Wed, Feb 4, 2009 at 6:28 PM, Chris van Es <Ch...@openwave.com>wrote:

>  Hi, I'm recently new to Axis2 and I'm working on a pretty simple web
> service. I'm generating the wsdl from java classes inside a service aar
> file. The resulting wsdl contains minOccurs="0" for all of the operation
> parmaters, is there a way to specify minOccurs="1" or something similar to
> flag these as mandatory paramaters?
>
>
>
> Thanks.
>
>
>
> Chris.
>



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

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