• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Java classes are not generating properly in CXF 3.x version  RSS feed

 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
     I am new to CXF and SOAP web services. I need to migrate from CXF2.x to 3.1.x in my project.SOAP is only using in the project.I copied all the jars of cxf 3.1.x to my project lib directory.So jar related no issue is there,
ant is building the project properly.But I have abc.wsdl. From this wsdl java classes were generating what mentioned in the wsdl:portType tag before migration.If Abcd is mentioned in wsdl:portType then
Abcd.java was genererting.

After upgraded to 3.1.x , java classes are generating based on xs:element tag.

Ex: <xs:element name="Aaa" type="tns:aaa"/>
So Aaa.java is generated.WSDL has many <xs:element name=... tag , so many java classes are generating, which is not the requirement. Abcd.java is not generating so SOAP call is failing. >


Below code is mentioned in the build.xml to convert from WSDLToJava ---
       


What change/steps I need to do to generate java classes properly from WSDL.

Thanks

 
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!