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