Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating web services and web services client using Eclipse

 
Simon Yue
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I am newbie in programming, and my boss ask me to try on a web services projects. The project requires the creation of system providing web services and also the clients consuming that web services.

The web services consists of four operations (General Message, Get CA Certificate, Request Certificate, Send Certificate). Each operation involves mainly (1) sending a request from client (2) upon receipt of request from the client, the web service "server" will send an response (usually an e-cert plus some string fields) back (3) the client will receive the response.

I use Eclipse (using AXIS) to generate the "skeleton" of the web service provider against an WSDL file. A total of 19 .java files are generated.

GeneralMessageRequest.java
GeneralMessageResponse.java
GeneralMessageResponseResult.java

GetCACertificateRequest.java
GetCACertificateResponse.java
GetCACertificateResponseResult.java

RequestCertificateRequest.java
RequestCertificateResponse.java
RequestCertificateResponseResult.java

SendCertificateRequest.java
SendCertificateResponse.java
SendCertificateResponseResult.java
SendCertificateRequestStatusInfo.java

SPOC.java
SPOCLocator.java
SPOCPortType.java
SPOCSOAPBindingImpl.java
SPOCSOAPBindingSkeleton.java
SPOCSOAPBindingStub.java

Although I try to study these programs, I cannot understand them thoroughly. In particularly, I do not know the use of each of them. Can anyone point out the use of these files and how should I proceed? Please help. I apologise for my stupid question.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have also tried the "code-first" approach to learning web services and, for me, it was not a good idea.
I really recommend getting a book that introduces web services, like "Java Web Services Up and Running".
There is an online web services course available that is free, take a look at: http://www.javapassion.com/
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic