[jboss-user] [JBossWS] - wstools problem

wayha do-not-reply at jboss.com
Tue Jul 11 09:16:27 EDT 2006


Hello, 
what can be the reason of the following exception (during wstools ant task)
JBoss 4.0.4GA (I'm trying to migrate from 4.0.3 and ws4ee)



  | BUILD FAILED
  | java.lang.IncompatibleClassChangeError
  |         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225)
  |         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
  |         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
  |         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
  |         at org.apache.tools.ant.Main.runBuild(Main.java:668)
  |         at org.apache.tools.ant.Main.startAnt(Main.java:187)
  |         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
  |         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
  | Caused by: java.lang.IncompatibleClassChangeError
  |         at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSSimpleTypeDefinition.getNamespace(JBossXSSimpleTypeDefinition.java:192)
  |         at org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.write(WSSchemaUtils.java:336)
  |         at org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.appendComplexTypeDefinition(WSSchemaUtils.java:646)
  |         at org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.write(WSSchemaUtils.java:535)
  |         at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSNamespaceItem.toString(JBossXSNamespaceItem.java:368)
  |         at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.serializeNamespaceItems(JBossXSModel.java:535)
  |         at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSModel.serialize(JBossXSModel.java:432)
  |         at org.jboss.ws.metadata.wsdl.WSDLWriter.appendTypes(WSDLWriter.java:113)
  |         at org.jboss.ws.metadata.wsdl.WSDL11Writer.write(WSDL11Writer.java:95)
  |         at org.jboss.ws.metadata.wsdl.WSDLDefinitions.write(WSDLDefinitions.java:309)
  |         at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:338)
  |         at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122)
  |         at org.jboss.ws.tools.WSTools.process(WSTools.java:129)
  |         at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
  |         at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
  |         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
  |         at org.apache.tools.ant.Task.perform(Task.java:364)
  |         at org.apache.tools.ant.Target.execute(Target.java:341)
  |         at org.apache.tools.ant.Target.performTasks(Target.java:369)
  |         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)


my config


  | <configuration xmlns="http://www.jboss.org/jbossws-tools">
  | 	<java-wsdl>
  | 		<service name="ClientServices" style="document" endpoint="ejb.TestEndPoint" />
  | 		<namespaces target-namespace="http://ejb/client" type-namespace="http://ejb/types" />
  | 		<mapping file="mappings.xml" />
  | 	</java-wsdl>
  | </configuration>
  | 

and interface

  | public interface TestEndPoint extends Remote {
  | 
  |   public String test1(Long pp) throws RemoteException;
  | }
  | 
  | 

Please help me .. I have no idea

thanks 
Mttu


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

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



More information about the jboss-user mailing list