cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabo Manuel <>
Subject [CXF2.2][wsdl2java][RPC/Lit] Unable to create stubs
Date Wed, 25 Mar 2009 09:55:20 GMT
Hi All,

I have a service deployed using CXF and was planning to test it using a 
CXF client as well. Attached is a zip file containing the service and 
the wsdl generated.

However, when I issue the following:

D:\java\cxf\apache-cxf-2.2\bin>wsdl2java -ant -client 
-autoNameResolution -exsh true -d ClientDir MyObjects.wsdl

WSDLToJava Error: Non unique body parts! In a port, operations must have 
unique operation signaure on the wire for successful dispatch. In port 
{http://domain.some/}MyObjectServicePort, Operations 
"{http://domain.some/}insertMyObject" and 
"{http://domain.some/}updateMyObject" have the same request body block 

I could be missing something basic, maybe some option in wsdl2java or 
something. It's a bit odd that the wsdl that was created by CXF cannot 
be translated by its own wsdl2java. :D

Thanks in advance.


  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message