aspose file tools*
The moose likes Web Services and the fly likes Creating web services and web services client using Eclipse 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 "Creating web services and web services client using Eclipse" Watch "Creating web services and web services client using Eclipse" New topic
Author

Creating web services and web services client using Eclipse

Simon Yue
Greenhorn

Joined: Aug 11, 2009
Posts: 15
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating web services and web services client using Eclipse