2 Replies Latest reply on Feb 13, 2005 10:20 AM by kshiv2001

    Complex java items (Vectors) not working in Jboss4 webservic

    kshiv2001

      Hi Guys,
      I tried to deploy a webservice in jboss4 (cluster). In my service endpoint classes, I am using Vector as return type. After I deploy the ear file, it throws this exception..
      org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested throwable: (RuntimeMBeanException: null Cause: java.lang.IllegalArgumentException: Cannot find package type for: {http://xml.apache.org/xml-soap}Vector)

      somewhere I read changing apachesoap:Vector --> xsd:Vector will work. Ofcourse it works(only deployed). , but my client throws exception
      org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.


      anybody has idea about "HOW TO USE Vector/Hashtable IN JBOSS4 webservice?"
      please help me!
      Thanks in advance.
      Rgds
      Siva