Re: Defining minOccur and maxOccur

2008-01-31 Thread Mauro Molinari

Deepal jayasinghe ha scritto:
At the moment what you can do is , generate a wsdl using Java2wsdl , 
then modified that to have minOccurs="1" and then put that into META-INF 
directory of your service archive , then Axis2 will shows up the wsdl 
correctly. However the long term solution would be to create a JIRA so 
that we will try to come up with some kind of way to specify those.


There's already a JIRA that highlights an aspect of this problem...
https://issues.apache.org/jira/browse/AXIS2-3300

However, a new more specific report to ask to add support for a way to 
specify this kind of information would be useful, I think.


--
Mauro Molinari
Software Developer
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Defining minOccur and maxOccur

2008-01-30 Thread Deepal jayasinghe
At the moment what you can do is , generate a wsdl using Java2wsdl , 
then modified that to have minOccurs="1" and then put that into META-INF 
directory of your service archive , then Axis2 will shows up the wsdl 
correctly. However the long term solution would be to create a JIRA so 
that we will try to come up with some kind of way to specify those.


Thanks
Deepal

Hi,

/i am using the following definition in my service.xml/


  class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />



/pointing to:/

public Status createInitial(String wsml) throws AxisFault;


/in the WSDL i noticed:/


  

  type="xs:string"/>


  



*so - how can i set minOccurs ="1" form my class or the service.xml ?? 
It should not be nillable.*


Regards, Tobias




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Defining minOccur and maxOccur

2008-01-30 Thread Tobias Anstett
Hi,

*i am using the following definition in my service.xml*


  


*pointing to:*

public Status createInitial(String wsml) throws AxisFault;


*in the WSDL i noticed:*


  

  

  



*so - how can i set minOccurs ="1" form my class or the service.xml ?? It
should not be nillable.*

Regards, Tobias