Tonioc,

thanks for your reply.

Schema-first development would be a sollution and is offcourse a good thing
to do. But considering i have al the business serviceses already in my
POJO's that wouldn't be the most efficient way.

But if XFire can't generate the schema validation attributes from the
binding, i wil switch to SpringWS contract first development.

Marcel


Tonio wrote:
> 
> Marcel,
> 
> Just to be sure, we are talking about same thing. As I know, the way to
> set a
> maxlength for simple type in xmlSchema is by extending by restriction
> the xsd:string type.
> 
> I don't know how aegis bindings works, but at first glance, I suppose
> it will not do it for you.
> 
> I faced similar problems trying to use xsd:date instead of xsd:dateTime,
> range value for integers, and ended up using schema-first
> development.
> 
> Perhaps there is a simple solution, but if I were you I will begin
> thinking in schema-first development mode.
> 
> Hope it helps
> tonioc
> 
> 
> 
> On Thu, 2007-09-20 at 00:43 -0700, Marcel Hoekstra wrote:
>> does anyone know how to generate the maxlength attribute on a String
>> element
>> in the wsdl file?
>> 
>> i use de the default aegis bindings. 
>> 
>> <mappings>
>>   <mapping>   
>>     <property name="name" minOccurs='1' maxLength="20"/> 
>> 
>> The minOccurs does result in an attribute of the wsdl but the maxLength
>> is
>> ignored.
>> 
>> <xsd:element minOccurs="0" name="name" nillable="true"
>> type="xsd:string"/>
>> 
>> Is it possible the set the maxLenth somewhere in XFire without manual
>> editing the generated wsdl file?
>> 
>> 
>> greetz,
>> Marcel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wsdl-maxlength-tf4485904.html#a12814687
Sent from the XFire - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to