• 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
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Ranch Hand
Posts: 174
  • 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

 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!