• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issues with CXF WSDL2Java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a web service that I have been using for that last few years using Axis2. We are now converting our web service client to CXF. I get the following error when I try and generate the java client using WSDL2Java from CXF. Any suggestions would be appreciated. I am using version 2.2.9 of CXF

WSDLToJava Error: Non-unique body parts! In a port, operations must have unique operation signatures on the wire for successful dispatching. In port {www.servicelink.com/2010/07}CustomBinding_IWordDocMerge, operations "{www.servicelink.com/2010/07}ConvertToPDF" and "{www.servicelink.com/2010/07}MergeWordDocs" have the same request body block {www.servicelink.com/2010/07/messages}DocumentContents


I am using the following options for wsdl2java from inside of Ant




Here is the WSDL that I am trying to create a CXF client for :


 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's by definition of WSI basic profile 1.1 and some more specs of
document-literal webservices.
On the wire there is only element ... no operation, no message .. only
element (one defined in message).
That's why it has to be unique, otherwise it's not possible to distinguish
between them.
 
Tomorrow is the first day of the new metric calendar. Comfort me tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic