Hi, I have a problem that looks like an Axis bug. If anybody confirms this I'll file a bug, otherwise please tell me what the solution is. I'm using the following WSDL fragment:
<xs:simpleType name="UserIdType"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:complexType name="PresenceRequestType"> <xs:annotation> <xs:documentation>Describes the PresenceRequest message</xs:documentation></xs:annotation> <xs:attribute name="UserId" type="prs:UserIdType" use="required"/> </xs:complexType> <xs:complexType name="GetPresenceRequestType"> <xs:annotation> <xs:documentation>Describes the GetPresenceRequest message</xs:documentation></xs:annotation> <xs:complexContent> <xs:extension base="PresenceRequestType"> <xs:sequence> <xs:element name="UserIdTable" type="prs:UserIdTableType"/> <xs:element name="AttributeNameTable" type="prs:AttributeNameTableType" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> My problem is, that when sending a request of GetPresenceRequestType type, the userId attribute does not appear anywhere in the message. If I change userId from attribute to element, everything runs okay. Why wouldn't work as an attribute ? Can somebody confirm that this is a bug ? Thanx, Geza