Hi Jorge; seems like Axis2 is having an issue here ,so please create a JIRA.
Thanks Deepal >Hi all, > >When I'd generated my wsdl from my java class I had a char field > and I realized that there's no mapping for that in xml so I went to google >to find out a way of doing that and I found >http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.wbit.help.wiring.ui.doc/topics/rref_javatowsdltypemap.html >And I tried to modify my wsdl with that code like this: > ><xs:simpleType name="char"> > <xs:restriction base="xsd:string"> > <xs:length value="1"/> > </xs:restriction> ></xs:simpleType> ><xs:element name="extPatient" type="ax23:user"/> ><xs:complexType name="user"> > <xs:sequence> > <xs:element name="birthDate" type="xs:long"/> > <xs:element name="name" nillable="true" type="xs:string"/> > <xs:element name="patientCode" nillable="true" type="xs:string"/> > <xs:element name="sex" type="ax23:char"/> > <xs:element > name="state" nillable="true" type="xs:string"/> > <xs:element name="surname" nillable="true" type="xs:string"/> > </xs:sequence> ></xs:complexType> >Where I had: > ><xs:element name="extPatient" type="ax23:user"/> ><xs:complexType name="user"> > <xs:sequence> > <xs:element name="birthDate" type="xs:long"/> > <xs:element name="name" nillable="true" type="xs:string"/> > <xs:element name="patientCode" nillable="true" type="xs:string"/> > <xs:element name="sex" type="xs:anyType"/> > <xs:element name="state" nillable="true" type="xs:string"/> > <xs:element name="surname" nillable="true" type="xs:string"/> > </xs:sequence> ></xs:complexType> > >And when I try to generate java code from that wsdl with eclipse plugin 1.2.1 >and xmlbeans as databinding I get the following exception: > >An error ocurred while completing the process > -java.lang.InterruptedException: >java.lang.RuntimeException java.lang.reflect.InvocationTargetException > >(I'm using axis2 1.1.1) >I'm not an xml expert, so could anybody tell me what I'm doing wrong??, and >any other way >to do that mapping?? > >Thanks in advance and regards: > >Jorge Fernández > > > > > ------------------------------------------------------------------------ > > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1 céntimo por minuto. > http://es.voice.yahoo.com > <http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/> -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
