wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web services end to end sample project" Watch "Web services end to end sample project" New topic
Author

Web services end to end sample project

Venkata Raaman
Ranch Hand

Joined: Mar 26, 2010
Posts: 45

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
Marshal

Joined: Mar 22, 2005
Posts: 41054
    
  43
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?


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Web services end to end sample project
 
Similar Threads
Sample Questions for 288 - Need answers
How a client knows the classes used in RESTful web service server?
new to web service.
web-services-java
NetBeans JAX-WS WSDL