This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Review the WS Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Review the WS Code" Watch "Review the WS Code" New topic
Author

Review the WS Code

Rajkumar Katudia
Ranch Hand

Joined: Jul 28, 2009
Posts: 51
Guys,

Please comment on the client code

Need Expert comments for the WS that I have created, deployed and consumed.

I am learning webservices.

I need somebody "expert at Webservices" to have a look at the client I have written and tell me if it has been written the way it has to be?

Is there any scope for improvement?
Is there any mistake or blunder that I have made?

I am asking this as I have written the code on my own without studying any existing client.


Here is the WS that I have copied by googling (WS from JAVA)





Here is the URL and WSDL after deployment
URL



WSDL




I generated the client using the AXIS 2

Here is the consumer class that I have written


I am getting the expected output however, I need somebody "expert at Webservices" to have a look at the client I have written and tell me if it has been written the way it has to be?

Is there any scope for improvement?
Is there any mistake or blunder that I have made?

I am asking this as I have written the code on my own without studying any existing client.

 
Consider Paul's rocket mass heater.
 
subject: Review the WS Code
 
Similar Threads
Query regarding RPC/Document Style,WSGEN and WSIMPORT
Https and wsdl
WSDL with overloaded Operations
How to access byte array web method
How to write a webservices client