1 Reply Latest reply on Sep 28, 2006 3:41 PM by Eric Ray

    WSDL mapping of java.util.Map is wrong

    Volker Bach Newbie

      Hi there!

      I've got a problem with the mapping of my return-value which is of type java.util.Map:

      public Map isAvailable(@WebParam(name="address") Address address...

      Using Jboss 4.0.3. and JAX-RPC this is resulting in the following WSDL-output:

      <complexType name="map">


      <restriction base="soap11-enc:Array">
      <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:mapEntry[]"/>

      <complexType name="mapEntry">

      <element name="key" type="anyType"/>
      <element name="value" type="anyType"/>

      Using JBoss 4.0.4. with JAX-WS it looks as follows:

      <complexType name="Map">

      <element name="empty" type="boolean"/>

      So my question is: How can I change this type-translation?!

      Please help me, I am quite desperate...