Hi there!
I've got a problem with the mapping of my return-value which is of type java.util.Map:
<snip>
public Map isAvailable(@WebParam(name="address") Address address...
</snip>
Using Jboss 4.0.3. and JAX-RPC this is resulting in the following WSDL-output:
<complexType name="map">
<complexContent>
<restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:mapEntry[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="mapEntry">
<sequence>
<element name="key" type="anyType"/>
<element name="value" type="anyType"/>
</sequence>
</complexType>
Using JBoss 4.0.4. with JAX-WS it looks as follows:
<complexType name="Map">
<sequence>
<element name="empty" type="boolean"/>
</sequence>
</complexType>
So my question is: How can I change this type-translation?!
Please help me, I am quite desperate...
Kr,
Volker
from what I understand, Map is not a supported type. see chapter 5 of JSR 101: JavaTM APIs for XML based RPC
btw, when you post code, put it in a
code block