But if you are new to Web Dynpro or you are hesitating to migrate to the Adaptive Web Service Model, because you don’t want to touch your running system, you definitely should read on…
There are many advantages to the Adaptive Web Service Model, but what I really want to point out are the following improvements:
As you can see in the picture above, it’s now up to an administrator to maintain the destinations. You don’t have to change your code each time your application moves to another server and you don’t have to adapt the destination. You just maintain the destination once and you’re done. Your application is configurable. This includes not only the destinations but also global configuration settings e. g. proxy settings.
What does that mean? This means if you want your application to be used in a productive environment, take the Adaptive Web Service Model.
Working with Authenticated Users
Do you want to use non-SAP SSO tickets?
Do you want to work with web services that require authentication?
The Web Service Model cannot fulfill these requirements. What does that mean? This means if you want your application to be used in a secure environment, use the Adaptive Web Service Model.
You want to track the communication between client and server? Use this code and find the errors:
Request_NumberToWords requestMO = wdContext.currentRequest_NumberToWordsElement().modelObject();
What does this mean? This means if you want to be able to find errors during communication use the Adaptive Web Service Model.
You are working with nested structures and are bored of binding them manually? You need support for anonymous types? …
You will find a lot of additional reasons to use the Adaptive Web Service Model here:
So finally: Try it out, it’s worth it!