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 Tevoi Andrea <te...@cad.it> on 2003/02/12 16:39:18 UTC

TypeMapping configuration

Hi all,

In my server-config.wsdd I can specify a TypeMapping like:

<typeMapping xmlns:ns="..." qname="ns:myType" type="java:myclass" serializer="myserializer" deserializer="mydeserializer" encodingStyle="..."/>

Is there a way to specify MORE information about this typeMapping?

What I'm trying to do is to specify at deployment time informations about an xmlType like:

<xsd:simpleType name="myType">
	<xsd:restriction base="xsd:string">
		<xsd:maxLength value="8"/>
	</xsd:restriction>
</xsd:simpleType>

where maxLength is the information I want store at deployment time.

Does Axis permits something like this?

Does Axis manage xsd:restriction in Schemas?

thanks,

Andrea Tevoi