axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Murphy <>
Subject Re: (soap encoding <-> XSD) mapping
Date Mon, 02 Aug 2004 21:19:13 GMT
There is nothing stooping you from adding restriction facets to you WSDL 
- in fact it may be a good idea.  The problem is expecting SOAP toolkits 
to respect them.  This may not be that big a deal though...just don't 
rely on the toolkit providing any of this extra help for you.  If it 
helps minimize the client:faults you return because sombody actually 
took the time to interpret your schema more fully then cool.

Jim Murphy
Mindreef, Inc.

Jonny Rylands wrote:

> Hi
> I'm having great difficulty trying to figure out from the SOAP encoding 1.1
> section in the spec whether you're allowed to add constraining facets to
> derived XML schema types in the types section in your WSDL.
> e.g. are you allowed to derive the integer type (in the types section of
> WSDL document) and use any of the following constraining facets:
> totalDigits 
> fractionDigits 
> pattern 
> whiteSpace 
> enumeration 
> maxInclusive 
> maxExclusive 
> minInclusive 
> minExclusive
> Does anyone know the answer to this?
> I understand WSDL is generated for you in Axis, so I imagine if this were
> possible it wouldn't presently be supported in Axis (as there is no
> standardised way to specify the above in Java, without some form of
> metadata/javadoc) -- is this right?
> Many thanks for your time.
> Regards,
> Jonathan Rylands.

View raw message