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 Ashish Kulkarni <as...@gmail.com> on 2007/08/16 22:14:11 UTC

How to define attribute with String type in xsd

Hi
When i create a java source using wsdl2java and deploy the web service i get
error in an attribute if i define it as below
<xs:attribute name="revision" use="required" type="xs:string"/>

but if i define it as
<xs:attribute name="revision" use="required"/>

it works, but then in java code it shows as Object and not as String.

any ideas

Ashish