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
posted 2 years ago
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?