|
Hi There, I am seeing this weird behavior with Axis 1.3 (and also Axis 1.4), where my client stubs are not generated correctly. I have the following complex type in my WSDL file: <complexType
name="IDSessionData">
<sequence> <element name="eSessionIdentifier" type="string" nillable="true"/> <element name="sessionIdentifier" type="string" nillable="true"/> <element name="userProfile" type="tns:IDUserProfile" nillable="true"/> </sequence> </complexType> <complexType name="IDUserProfile"> <sequence>
<element name="profileAttributes"
type="tns:IDUserAttribute" nillable="true" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
</complexType>
Axis is not generating IDUserProfile class file on the client side at all. It's generating IDSessionData with an array of IDUserAttribute directly - looks like it's trying to optimize something.... or thinking of IDUserPrifile as an element. When I send a soapRequest with IDUserAttribute array as part of IDSessionData, the server doesn't understand that - which is obvious. Any idea why this is happening? Is it because of a bad WSDL? or is it a bug in Axis 1.3 (and Axis 1.4) Note: Axis 1.1 is working perfectly fine here.... Thanks, -- Rajeev |
