You can create portal services that can be accessed from Web Dynpro, as well as portal services that maintain state when accessed from Web Dynpro.
This section contains the following:
Exposing Portal Services in Web Dynpro
Creating Contextual Portal Services