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 Jeremy Nix <Je...@sfsltd.com> on 2005/04/05 15:18:28 UTC

Problem creating maxLength restriction on attribute of type string

I'm getting an error when trying to view the WSDL for my web service.
Has anyone else had similar problems?  Any workarounds?

WSDL:
...
<xs:attribute name="AbstractorComments">
	<xs:simpleType>
		<xs:restriction base="xs:string">
			<xs:maxLength value="65535"/>
		</xs:restriction>
	</xs:simpleType>
</xs:attribute>
...
ERROR:
Fault - Bean attribute AbstractorComments is of type java.lang.String,
which is not a simple type


_______________________
Jeremy Nix
Senior Application Developer
Southwest Financial Services, LTD.
(513) 621-6699 x1158
www.sfsltd.com