Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-09-05 Thread Martin Grotzke
On Fri, 2005-09-02 at 08:54 -0400, Anne Thomas Manes wrote: > I suggest that you file a feature enhancement request to add a > parameter to generate minOccurs="0". Btw, where should this parameter be used? It would be used when the schema generated, so it's related to the Serializer.writeSchema an

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-09-02 Thread Martin Grotzke
On Fri, 2005-09-02 at 08:54 -0400, Anne Thomas Manes wrote: > I suggest that you file a feature enhancement request to add a > parameter to generate minOccurs="0". good idea, just submitted. cheers, martin > > Anne > > On 8/31/05, Martin Grotzke <[EMAIL PROTECTED]> wrote: > On Wed, 20

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-09-02 Thread Anne Thomas Manes
I suggest that you file a feature enhancement request to add a parameter to generate minOccurs="0". AnneOn 8/31/05, Martin Grotzke <[EMAIL PROTECTED]> wrote: On Wed, 2005-08-31 at 10:57 -0400, Mike Woinoski wrote:> Martin Grotzke wrote:> > Btw, the concrete problem that we had has to do with C# /

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-08-31 Thread Martin Grotzke
On Wed, 2005-08-31 at 10:57 -0400, Mike Woinoski wrote: > Martin Grotzke wrote: > > Btw, the concrete problem that we had has to do with C# / .NET 1.1: > > if you send an empty xml-element (as you showed below) for > > some primitive C#-type (e.g. int, long), then the .NET > > deserializer crashes,

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-08-31 Thread Mike Woinoski
Martin Grotzke wrote: Thank you for your answer, Mike! We're using beehive for webservice development, and until now we tried to do as most as possible starting from java. If there's no way to tell java2wsdl to use minOccurs, it's probably the best to define the types using schema, to go partial

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-08-30 Thread Martin Grotzke
Thank you for your answer, Mike! We're using beehive for webservice development, and until now we tried to do as most as possible starting from java. If there's no way to tell java2wsdl to use minOccurs, it's probably the best to define the types using schema, to go partially the contract-first wa

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-08-30 Thread Mike Woinoski
Martin, I don't think there is a Java2WSDL option that adds minOccurs="0" to an element definition. However, you can edit the WSDL manually and add it yourself (sounds like a good job for an Ant task or shell script.) BTW, an element can have both nillable="true" and minOccurs="0". The semanti

java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-08-29 Thread Martin Grotzke
Hello, when creating the wsdl from java classes, is there's any way to change the default behavior from generating nillable="true" to minOccurs="0" (for interop with .net)? thanx in advance, martin signature.asc Description: This is a digitally signed message part