[jbossws-users] [JBossWS] - Re: wstools Duplicate operation with name ...

wpower do-not-reply at jboss.com
Tue Jan 23 12:39:00 EST 2007


I am getting the following error while trying to generate JbossWS artifacts from a .wsdl file.  The .wsdl file is from an existing Axis based application, and I am trying to migrate it to JBoss.  

Does anyone know if the problem is with the .wsdl or wstools or the settings passed to wstools.

Thanks.




Running JBossWS wstools for [PSXAPI_r06_03]
directory: C:\jboss-4.0.5.GA\bin
command: cmd.exe /C wstools.bat -config C:\DOCUME~1\POWER~1.WIL\LOCALS~1\Temp\wstools-config18085.xml -dest C:\jide\Test\src
========================================================================="
. 
  WSTools Environment
.
  JBOSS_HOME: C:\jboss-4.0.5.GA\bin\\..
.
  JAVA: C:\Program Files\Java\jdk1.5.0_09\\bin\java
.
  JAVA_OPTS: 
.
========================================================================="
.
Exception in thread "main" java.lang.IllegalArgumentException: Duplicate operation with name=delete, found in portType '{http://www.testnet.com/test/intf}PSXAPI/r06_03SoapBinding'.
	at com.ibm.wsdl.BindingImpl.getBindingOperation(BindingImpl.java:224)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.messagePartToElementName(WSDL11Reader.java:652)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processOperationInput(WSDL11Reader.java:487)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortTypeOperations(WSDL11Reader.java:460)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader.java:446)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.java:728)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java:1071)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.java:1054)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader.java:1027)
	at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:119)
	at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
	at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:120)
	at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:324)
	at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
	at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
	at org.jboss.ws.tools.WSTools.main(WSTools.java:61)


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

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



More information about the jbossws-users mailing list