Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Review the WS Code

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
A timing clock, fuse wire, high explosives and a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic