However, it appears to work correctly in the latest release candidate (1.2). This seems to be a somewhat related thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg25025.html So..... I guess we can let this one go. :-)
________________________________ From: Mark Badorrek [mailto:[EMAIL PROTECTED] Sent: Mon 4/16/2007 11:21 AM To: [email protected] Subject: Problems reading attributes I have a soap request using axis2-1.1 to generate the client and server bindings. The client seems to render the xml just fine, but the server side seems to have a problem. Specifically, here is a snippet of code that is generated from the client: <Field Id="TOTALSUMINSURED" xmlns:ns0="100000http://schemas.xmlsoap.org/soap/envelope/">100000</xml-fragment <http://aon.com.au/ebixconvertortypes/2007">100000</Field> > This appears correct to me. This snippet is referred to in the generated code as a "FieldType". FieldType blah = fieldArr[i]; // OK String str = blah.getStringValue(); //OK String id = blah.getId(); //Fails - returns null 'str' will be set to '100000', whilst 'Id' will be set to null. I would have expected 'Id' to be 'TOTALSUMINSURED'. Does anyone else have problems retrieving attributes with axis2 or am I just doing something silly here? BTW, where is snippet from the scheme: <complexType name="FieldType"> <simpleContent> <extension base="string"> <attribute name="Id" type="string" use="required"/> </extension> </simpleContent> </complexType> Cheers, Mark B
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
