Post a Job  |   Ask a Question?   |   Already registered? login or register
Nagarjuna Reddy
26/01/2016 10:57 AM


what are the switches i need to pass in order to convert from Java2Wsdl
Spam    2 Comments

26/01/2016 11:52:29
o : name for WSDL file n : target namespace l : url of web service and pass SEI Interface .class as input EX:- WS-Sample\classes> java org.apache.axis.wsdl.Java2WSDL -o ..\bookTickets.wsdl -n -l http://localhost:8080/axis/services/irctc org.irctc.Reservation

26/01/2016 12:05:26
here i'm provide complete process. how i'm doing,i hope this is helpfull all of you... Java2WSDL ========= C:\webservice-jax-b\PolicyWebJava2Wsdl>java -cp build\classes;%AXIS_CLASSPATH% org.apache.axis.wsdl.Java2WSDL -o PolicyRegister.wsdl -l"http://localhost:8080/PolicyWebJava2Wsdl" -n "" -p"com.policy.service" "" com.policy.service.P olicyRegistration After that run WSDL2Java tool ========================= C:\webservice-jax-b\PolicyWebJava2Wsdl>java -cp %AXIS_CLASSPATH% org.apache.axis.wsdl.WSDL2Java -v -s -o src -S true WebContent\WEB-INF\PolicyRegister.wsdl then After run AdminClient Tool ========================== C:\webservice-jax-b\PolicyWebJava2Wsdl>java -cp %AXIS_CLASSPATH% org.apache.axis.client.AdminClient - lhttp://localhost:8080/PolicyWebJava2Wsdl/servlet/AxisServlet WebContent\WEB-INF\deploy.wsd

Languages :