0 Replies Latest reply on Jan 29, 2008 6:44 PM by Ibrahim THEODORE

    Wstools WSDL generation problem

    Ibrahim THEODORE Newbie

      All,

      I have developed existing web services based on JAX-RPC1.1 with Jboss403.
      I've decided migration of jboss to 4.2.1 and jbossws2.0.2.
      The existing WSDLs were generated with wscompile.
      I decided to use wstools to regenerate them.
      I am getting the following error:

      Exception in thread "main" java.lang.IllegalArgumentException: Could not locate a constructor with the following types: class com.un
      .imis.common.exception.IMISWsException [class [Ljava.lang.String;, class [Ljava.lang.String;, class java.lang.String]
      at org.jboss.ws.tools.schema.SchemaTypeCreator.getComplexTypeForJavaException(SchemaTypeCreator.java:781)
      at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:270)
      at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:133)
      at org.jboss.ws.tools.JavaToXSD.generateForSingleType(JavaToXSD.java:114)
      at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:360)
      at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:161)
      at org.jboss.ws.tools.helpers.JavaToWSDLHelper.processOperation(JavaToWSDLHelper.java:109)
      at org.jboss.ws.tools.wsdl.WSDLGenerator.processEndpoint(WSDLGenerator.java:114)
      at org.jboss.ws.tools.helpers.JavaToWSDLHelper.processEndpoint(JavaToWSDLHelper.java:166)
      at org.jboss.ws.tools.wsdl.WSDLGenerator.processService(WSDLGenerator.java:404)
      at org.jboss.ws.tools.wsdl.WSDLGenerator.generate(WSDLGenerator.java:452)
      at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:210)
      at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:162)
      at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:322)
      at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:121)
      at org.jboss.ws.tools.WSTools.process(WSTools.java:143)
      at org.jboss.ws.tools.WSTools.generate(WSTools.java:69)
      at org.jboss.ws.tools.WSTools.generate(WSTools.java:123)
      at org.jboss.ws.tools.WSTools.main(WSTools.java:58)

      any idea?

      Thanks.