aspose file tools*
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 Spring in Action this week in the Spring 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.

 
 
subject: Review the WS Code