I am using aegis to define the contents of a Map on a object, but keep
getting a anyType2anyTypeMap. I've included the object, aegis mapping,
and the relevant fragment of the resulting WSDL.
The Object
--------------------------------------------------------------
public class ImpactDetail {
private GUID original;
private Map<GUID, String> impacts;
public ImpactDetail() {
}
public Map<GUID, String> getImpacts() {
return impacts;
}
public void setImpacts(Map<GUID, String> impacts) {
this.impacts = impacts;
}
public GUID getOriginal() {
return original;
}
public void setOriginal(GUID original) {
this.original = original;
}
The aegis mapping (GUID is a simple object with only a String value)
--------------------------------------------------------------
<mappings>
<mapping>
<method name="getImpacts">
<return-type
keyType="com.boingo.enterprise.configuration.manager.domain.id.GUID"
componentType="java.lang.String"/>
</method>
</mapping>
</mappings>
The relevant WSDL fragment
--------------------------------------------------------------:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://impact.domain.manager.configuration.enterprise.b
oingo.com">
-
<http://10.103.0.67:13760/configuration-manager/services/ConfigurationMa
nagerService?wsdl#> <xsd:complexType name="ArrayOfImpactDetail">
-
<http://10.103.0.67:13760/configuration-manager/services/ConfigurationMa
nagerService?wsdl#> <xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ImpactDetail"
nillable="true" type="ns4:ImpactDetail" />
</xsd:sequence>
</xsd:complexType>
-
<http://10.103.0.67:13760/configuration-manager/services/ConfigurationMa
nagerService?wsdl#> <xsd:complexType name="ImpactDetail">
-
<http://10.103.0.67:13760/configuration-manager/services/ConfigurationMa
nagerService?wsdl#> <xsd:sequence>
<xsd:element minOccurs="0" name="impacts" nillable="true"
type="tns:anyType2anyTypeMap" />
<xsd:element minOccurs="0" name="original" nillable="true"
type="ns1:GUID" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>