0 Replies Latest reply on Nov 9, 2011 8:11 AM by spirit_of_sensation

    Issue in creation of client side classes using wsconsume command

    spirit_of_sensation

      Hi,

       

      I am new to JBoss and I am trying to create client side classes from a WSDL using wsconsume command as mentioned below:

       

      wsconsume -k -p <packagename> wsdlname

       

       

      I am getting below mentioned error:

       

       

      SAXParseException2: Two declarations cause a collision  in the ObjectFactory class

       

       

      I tried using Axis also but if I use Axis then the class files created are not supporitng the exisitng code. I cannot change my exisitng code due to some constraints. Also I cannot change the WSDL as its used by multiple applications which are not in my control.

      Plz help me on this as its very important and urgent.