LibraryToggle FramesPrintFeedback

Example 1.3 shows a simplified example of a Fuse Services Framework configuration file.

Example 1.3. Fuse Services Framework Configuration File

<beans xmlns="http://www.springframework.org/schema/beans" 1
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:jaxws="http://cxf.apache.org/jaxws" 2
   ...
   xsi:schemaLocation="
http://www.springframework.org/schema/beans
 http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/jaxws 3
 http://cxf.apache.org/schemas/jaxws.xsd">

<!-- your configuration goes here! --> 4

</beans>

The following describes Example 1.3:

1

A Fuse Services Framework configuration file is actually a Spring XML file. You must include an opening Spring beans element that declares the namespaces and schema files for the child elements that are encapsulated by the beans element.

2

Before using the Fuse Services Framework configuration elements, you must declare its namespace in the configuration's root element.

3

In order for the runtime and the tooling to ensure that your configuration file is valid, you need to add the proper entries to the schema location list.

4

The contents of the configuration depends on the behavior you want exhibited by the runtime. You can use:

  • Fuse Services Framework specific elements

  • Plain Spring XML bean elements

Comments powered by Disqus
loading table of contents...