Consume Services with Java Web Dynpros
Today, as part of the An in depth look at enterprise SOA blog series, we will demonstrate how to discover and consume web services using SAP Java Web Dynpros.
In our video, we take advantage of the new Netweaver Development Studio and the powerful web dynpro perspective and design tools to build a simple application using a web service. The application will call a web service that will return detailed vendor information for a particular vendor number.
In particular, we show how easy it is to discover and browse for particular web services without ever leaving the Netweaver Studio. We can browse enterprise service repositories, registries, and even file systems using the discovery wizards. Using just a few mouse clicks, we can readily build a model in our application that is based on the desired WSDL.
One of the powerful aspects of web dynpro applications and the web dynpro runtime environment is that we do not have to hard wire the end point of our service in our application. We can use what is called an adaptive web service model that will point to a logical destination. That destination is defined in the runtime environment, where it will point to a real live web service endpoint. That way, when the application is deployed, it’s easy to point the application at a different web service without ever having to re-build, re-archive, and re-deploy the application – a handy feature when you have a rigorous develop, test, and deploy methodology.
Finally, the video also demonstrates how easy it is to quickly build fully functional applications, complete including complex models, controllers, and solid user interfaces without having to write a lot of code. Web dynpros provide a powerful, easy to use framework for business application developers.
We hope you will enjoy the video.
For those of you who would like to see more, my colleague Rudi Held has also created a couple of videos definitely worth watching. See Rudi’s blogs for more details.