[jboss-user] [JBossWS] - Re: NullPointerException using wstools

mavalla do-not-reply at jboss.com
Tue Nov 21 04:26:44 EST 2006

I found that the error is in lines like this in the schema files:
                         <xs:extension base="StringLength0to128"> 
 If I change the type from StringLength0to128 to xs:string and now it passes the error. 
 The new lines are like this: 
                         <xs:extension base="xs:string"> 
 The StringLength0to128 is a type defined by the OTA specification as: 
 <xs:simpleType name="StringLength0to128"> 
     <xs:documentation xml:lang="en">Used for Character Strings, length 0 to 128</xs:documentation> 
    <xs:restriction base="xs:string"> 
      <xs:minLength value="0"/> 
      <xs:maxLength value="128"/> 

It seems that the wstools doesn't support "xs:extension base" with types defined in the schema but only simple types.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987499#3987499

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987499

More information about the jboss-user mailing list