Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

15. Working with Services and Server-Sid... > 15.4. Configure Services for an Appl...

15.4. Configure Services for an Application Using BlazeDS

Problem

You need to configure the remoting services that your application will use.

Solution

Create services-config.xml and remoting-config.xml files and place them in the web root of your project. In your compiler arguments, set the location of the services-config.xml file as the value of the services parameter.

Discussion

Flex uses two different XML files to link the application to remoting services: services-config.xml, which defines the channels that the remote server provides, and remoting-config.xml, which defines the adapters and default channels that the server supports. The web.xml file needs to be configured so that the RDSDispatchServlet is accessible:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint