[jboss-user] [JBossWS] - my web service @WebMethod is not able to return Hashtable

shaiknoor_basha do-not-reply at jboss.com
Thu Apr 26 06:43:18 EDT 2007


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>
  


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040915#4040915

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040915



More information about the jboss-user mailing list