This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android 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.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Review the WS Code
 
It's not a secret anymore!