File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Web services end to end sample project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web services end to end sample project" Watch "Web services end to end sample project" New topic

Web services end to end sample project

Venkata Raaman
Ranch Hand

Joined: Mar 26, 2010
Posts: 46

Hi I am bit new to web services, I did generate a service with maven ws-gen plugin, and tested with soapUI manually. I was wondering how the web services works in real time without manual intervention (Contract first)? where the client invokes a service? Is it thru Invoking WSDL in some java code? let us say, there is an application A which receive some data from another system which exposes its WSDL. so how application A gets data? where the client/Something/Code in System A invokes WSDL? What are various ways to do this? as well, can you please suggest an end to end project for web services, which has a service producer as well as consumer??
Thanks in advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The WSDL is not generally used at runtime. You'd use the WSDL to create client Java code, which you can then incorporate into your WS client. Every major SOAP stack has tools that can generate client code for a given WSDL (you can find the details in the documentation).

As to examples, all the noteworthy SOAP stacks a I'm familiar with do have complete examples as part of their documentation. Which SOAP stack are you using?
subject: Web services end to end sample project
It's not a secret anymore!