Show TOC Start of Content Area

Procedure documentation Configuring SAP NetWeaver AS  Locate the document in its SAP Library structure

Use

You use the SAP NetWeaver Application Server (AS) to set up access for the NetWeaver Voice runtime resources and back-end system integration. You also need to set up a default third-party gateway.

Prerequisites

The NetWeaver Composition Environment and the optional packages required for Voice are installed.

Procedure

1. Set Up NetWeaver Voice Runtime Resources

Voice applications generally require access to runtime resources, such as prompt and grammar files. These can be served from any HTTP server, and using any kind of folder structure that is desired. However, in most cases, it is simplest to use the following procedure to set up a directory structure for voice runtime resources and serve them directly from the same NetWeaver ASinstance that is running NetWeaver Voice itself.

By default, when a new Voice Application is created, it configures default resource targets that conform to this approach.

...

       1.      Access the embedded Voice Resources ZIP file at http://localhost:<your_port number>/voice_resources/SAP_VOICE.zip in your Web browser, and save or open the file.

For example, if your CE instance were installed on port 50000, the URL would be http://localhost:50000/voice_resources/SAP_VOICE.zip.

       2.      Extract the ZIP file to the root of the same server volume that holds your NetWeaver CE installation.

This creates a directory structure and install some sample files.

Caution

The system may display a warning message. Choose OK and continue.

       3.      Run the NetWeaver Administrator tool (http://localhost:<your_port number>/nwa).

       4.      Configure NetWeaver Admin:

                            a.      Log on as administrator.

                            b.      Go to Configuration Management Infrastructure Management Java HTTP Provider Configuration.

                            c.      In the Virtual Hosts table, choose Default.

                            d.      On tab page Aliases, create an alias to allow access by HTTP to the directory that you unzipped to the hard drive:

§         Alias name: SAP_VOICE

§         Path: <path to the SAP_VOICE directory unzipped on your server volume>

                            e.      On tab page General, select the Directory List checkbox (optional).

This makes it easier to locate your resources, but can be less secure.

                              f.      Save your data.

...

2. Integrate Back-End Systems

...

If your voice applications require access to any back-end systems, these need to be configured in Configuration Management Security Management Destinations.

If any Web services are required, they need to be configured in Configuration Management Infrastructure Management Web Services Configuration.

3. Set Up a Default Third-Party Gateway

When deploying models in NetWeaver Voice, you must always specify a gateway driver. The driver determines how NetWeaver Voice is to render its output appropriately for the associated voice gateway.

If you generally work with only one and the same voice gateway, you can configure its driver as the default driver, thus allowing models to be deployed correctly without the need to explicitly set the driver each time.

To change the default driver value:

       1.      Run the NetWeaver AS Configuration Tool.

       2.      In the tree on the left, select cluster-data/Applications/sap.com/tc~voear.

       3.      In the list of properties on the right, find defaultMPDriverID.

       4.      Enter the appropriate voice gateway number and choose Set.

       5.      On the File menu, choose Apply Changes to save the change.

       6.      Restart your J2EE server.

For a list of gateway drivers, refer to VoiceXML Gateway Drivers.

...

 

End of Content Area