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.
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