0 Replies Latest reply on Apr 26, 2007 6:43 AM by shaiknoor_basha

    my web service @WebMethod is not able to return Hashtable

    shaiknoor_basha


      hi to all, please help me friends

      i have one annotated web service which will returns Hashtable but it couldn't, i am able to deploy the jar file, in wsdl file the complex type of a message is showing like this, he the complex is not refering to java.util.hashtable, it is assuming the type hashtable in method return type is some other userdefined type thtls why it is reruning abstractclass

      -
      - <xs:schema targetNamespace="http://bean.webservice.SampleWS.jboss.org/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      - <xs:complexType name="hashMap">
      - <xs:complexContent>
      - <xs:extension base="ns1:abstractMap" xmlns:ns1="http://bean.webservice.SampleWS.jboss.org/">
      <xs:sequence />
      </xs:extension>
      </xs:complexContent>
      </xs:complexType>
      <xs:complexType abstract="true" name="abstractMap" />
      </xs:schema>