Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
You need to use WSDL2Java
CXF CMD :
Please download the CXF package and use WSDL2JAVA which is bin folder.
CXF ANT Target :
<property name="cxf.home" location ="C://tools//cfx"/>
<path
id="cxf.classpath">
<fileset
dir="${cxf.home}/lib">
<include name="*.jar"/>
</fileset>
</path>
<target
name="cxfWSDLToJava">
<java
classname="org.apache.cxf.tools.wsdlto.WSDLToJava"
fork="true">
<arg value="-client"/>
<arg value="-d"/>
<arg value="src"/>
<arg
value="${wsdl.uri.yourService}"/>
<classpath>
<path
refid="cxf.classpath"/>
</classpath>
</java>
</target>
Axis2 Ant Target:
<target
name="yourservice">
<java classname="org.apache.axis2.wsdl.WSDL2Java"
fork="true"
classpathref="axis2.classpath">
<arg
line="-uri
${wsdl.uri.yourservices}"/>
<arg line="-s"/>
<arg line="-ss"/>
<arg line="-sd"/>
<arg line="-ssi"/>
<arg line="-ap"/>
<arg line="-l java"/>
<arg line="-d xmlbeans"/>
<arg line="-o
${build.dir}/service"/>
</java>
</target>
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.