You can now develop your favorite Flex based client application that consumes SAP services. SAP has provided an Eclipse plug-in that generates ActionScript proxy classes for the invocation of a Web service represented by a WSDL file. This plug-in will generate classes that represent data types, operations, ports and services as defined in the WSDL file. The Eclipse plug-in can be deployed into Adobe Flex Builder, SAP NetWeaver Developer Studio, or any other Eclipse-based IDE.
To get started, download the plug in by clicking here and then download the documentation, which is available as two separate documents. The first document, called “Connecting SAP Enterprise Services with Flex Controls” gives an in-depth overview of the technology. The second document, titles “How to Develop Flex Applications that Invoke Web Services“, is a how-to guide to help you in step by step fashion to build your first application. please note that this plug in is provided as is, on a trial basis only.
The basic features of the plug-in are summarized below:
|Feature||Flex Out of the Box||With SAP Plugin|
|Web service method calls||x||x|
|Action Script proxy generation||x|
|Support for simple WS structures||x|
|Support for complex WS structures||x|
|Flex UI generation based on WS definition||x|
|SAP NetWeaver Eclipse based IDE integration||x|
|Javadoc-like generated documentation for the generated proxy classes||x|
This Eclipse plug-in will also allow you to generate MXML screens (i.e. data forms) to represent input arguments and output results for each operation defined by the selected WSDL file. These forms can be used to execute Web service calls right away, without extra coding, and can also be used by the developer as a starting point for further polishing, mending and composing them into a finished application.
The plug-in also generates Javadoc-like documentation for generated classes that represent operations and data types defined by the selected Web service. This documentation is orders of magnitude more convenient to use for a developer than digging into raw WSDL file.
Finally, the plug in also generates a runtime for binding screen elements to data structures. This runtime glues to the generated screens and allows interactive creation and editing of complex nested data structures as well as interactive browsing of such structures without a developer having to write a single line of code for that. Generated screens also include pre-cooked code for the invocation of Web services when the “Execute” button is clicked. Whenever a response from a Web service is received, the pre-cooked code in the screen automatically displays the output screen in the application window and displays received response data within this screen. This code can be overwritten by developers according to specific needs.