0% found this document useful (0 votes)
66 views1 page

Contract Last Axis2

The document discusses creating a web service interface and generating a WSDL file from it using java2wsdl. It describes running commands like java2wsdl and wsdl2java to generate the necessary files to implement and deploy the web service.

Uploaded by

Ashok Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views1 page

Contract Last Axis2

The document discusses creating a web service interface and generating a WSDL file from it using java2wsdl. It describes running commands like java2wsdl and wsdl2java to generate the necessary files to implement and deploy the web service.

Uploaded by

Ashok Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

first we create one interface and declare the webservice methods then go to project

directory on command prompt and go to bin. because if you want to create wsdl file
with the help of class file of interface. thats way to we are in bin folder. next
type the switches for example we are create BookInfo
interface........................ ........\bin>java2wsdl -o ..\wsdl -of
BookInfo.wsdl -sn BookInfoService -l http://amazon.com/BookInfo -tn
http://amazon.com/book/services -tp ab -stn http://amazon.com/book/types -stp abt
-st document -u literal -cn com.amazon.books.services.BookInfo for the above
switchs we have the wsdl document under wsdl folder at our project directory. then
you have modify and run wsdl2java at command prompt. otherwise with out
modification also run wsdl2java. the wsdl2java switches are .......>wsdl2java -S
src -R src\META-INF -l java -ss -sd -d jaxbri -ssi -uri wsdl\BookInfo.wsdl then go
to project directory and then write implementation class and do aar and deploy in
tomcat server..... enjoy the feel...now..............

You might also like