Hi WS Gurus, 

I'm trying to generate the artifacts for a very simple webservice interface and 
I'm seeing some odd behavior from wstools. It appears to be trying to create 
two namespaces under the same name. 

I've been using wstools to generate aritfacts for several days now with great 
success. Only now that I made what *seemed* to be a fairly innocuous change to 
my interface did this problem manifest itself. I remove the custom exceptions 
from the interface methods. Big change, huh?

Here's the error and stack:

  [wstools] [Fatal Error] :1:420: Attribute "ns1" bound to namespace 
"http://www.w3.org/2000/xmlns/"; was already specified for element "definitions".
  [wstools] org.jboss.ws.WSException: Cannot generate wsdl from: interface 
com.ghx.console.server.tjvm.ws.AggregateTjvmDataServiceIF
  [wstools]     at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:339)
  [wstools]     at 
org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:132)
  [wstools]     at org.jboss.ws.tools.WSTools.process(WSTools.java:119)
  [wstools]     at org.jboss.ws.tools.WSTools.generate(WSTools.java:109)
  [wstools]     at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
  [wstools]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
  [wstools]     at org.apache.tools.ant.Task.perform(Task.java:364)

I'm generating everything from scratch each time I run a build for our project 
so I'm not sure why it is complaining that somthing already exists.

Any thoughts? I've never seen this one before. Thanks in advance,

Brian


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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to