Statistics
| Revision:

svn-gvsig-desktop / tmp / trunk / servidor / WPS_Callejero_Server / wps / WebContent / WEB-INF / operations / wps_plugins_config_0_4_0.xml @ 26692

History | View | Annotate | Download (5.67 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<springFramework xmlns="frogs.tigris.org/XMLSchema" id="ID000000" version="1.0">
3

    
4
        <!-- 
5
             These Parameters Name are used as global variable like in a typical program
6
             to be substituted in any element name with the type 'string'. Rather than repeat the
7
             same information everyone, you could do it in only one spot. They are changed once during the 
8
             loading process and each operation will have its own copy
9
             
10
             Here is a list a pre-defined parameter name already defined by the core:
11
               %IP% = Machine IP Address
12
               %LOCALHOST% = Machine Name
13
               %SERVER_NAME% = Request Server Name where this servlet is running
14
               %CONTEXT_NAME% = The Display Name presents in the WEB.XML
15
               %CONTEXT_PATH% = Physical Path where this servlet is running
16
               %CURRENT_PATH% = Physical Path where the J2EE Server is running
17

18
             After loading the SPRING Xml Configuration, these pre-defined parameter name
19
             will gave some more information about the Plug-In
20
               %PLUGIN_VERSION% = As his name indicates, this is the Plug-In Version (0.4.0) contains in the Spring Xml Config.
21
               %PLUGIN_NAME% = As his name indicates, this is the Plug-In Name (WPS) contains in the Spring Xml Config.
22
               %PLUGIN_DISPLAY% = As his name indicates, this is the Plug-In Display (Web Processing Services) contains in the Spring Xml Config.
23
               %PLUGIN_DESCRIPTION% = As his name indicates, this is the Plug-In Description(WPS Spring PlugIn intercepts...) contains in the Spring Xml Config.
24

25
             At this point, Spring has already loaded a xml file which called 'servlet-name'-servlet.xml, in
26
             our case, the servket name is 'wps_ws_spring'. In this file, look the bean id 'wpsKvpProperties', it will
27
             contain 2 maps pointing out the Web Service Entry point for a WPS Web Call or a SOAP Web Call.
28
             These 2 parameters will give you at least the based service entry point.
29
               %mapServiceSOAP% = service.soap. A complete call will be then http://servername:port/wps_ws_spring/OperationName/service.soap?WSDL
30
               %mapServiceWPS% = service.wps. A complete call will be then http://servername:port/wps_ws_spring/OperationName/service.wps?request=GetCapabilities&version=0.4.0&service=WPS
31

32

33
             After the first Web Service call, these pre-defined parameter name
34
             will be added and will be propagated throughout all operations and request.
35
             These values can only discover at that time.
36
               %PORT% = Servlet Port Access. Usually 8080.
37
               %SERVLET_NAME% = Current Servlet Name
38
               %FULLY_QUALIFY_SERVER_NAME% = It contains the full qualified server name with his machine name, hist port and the servlet name. Ex.: http://server:port/servlet_name
39
        -->
40
        
41
        <plugIn-version>0.4.0</plugIn-version>
42
        <plugIn-name>WPS</plugIn-name>
43
        <plugIn-display-name>Web Processing Services</plugIn-display-name>
44
        <plugIn-class-name>org.tigris.frogs.plugin.wpsint.impl0_4_0.server.DiscoveryServer</plugIn-class-name>
45
        <plugIn-description>WPS Spring PlugIn intercepts internet calls and process it</plugIn-description>
46
        <plugIn-encoding>UTF-8</plugIn-encoding>
47
        <plugIn-mimetype>text/xml</plugIn-mimetype>
48
        <is-plugIn-disabled>false</is-plugIn-disabled>
49
        <is-GetCapabilities-to-be-checked-on-load>true</is-GetCapabilities-to-be-checked-on-load>
50

    
51

    
52
        <!-- 
53
             Global parameters help to define the same parameter used in many operations
54
             You have then to use %TEMP_DIRECTORY% to be substitued on the fly
55
        -->
56
        <global-param id="SERVER_TEMPORARY_FOLDER">
57
                <param-name>TEMP_DIRECTORY</param-name>
58
                <param-value>/tmp</param-value>
59
                <param-description>Define a based directory to read/write on a temporary folder. Should be cleaned every 2 weeks.</param-description>
60
        </global-param>                
61
        
62
        
63

    
64
<!--
65
  START OPERATION StreetsMap
66
  Servidor de callejeros vectorial
67
  NB: Copy this operation in your configuration
68
-->
69

    
70
        <operation id="WPS_040_OPERATION_STREETSMAP">
71
                <operation-name>StreetsMap</operation-name>
72
                <url-pattern>StreetsMap/service.wps</url-pattern>
73
                <operation-description>Servidor de callejeros vectorial</operation-description>
74
                <is-operation-negociated>false</is-operation-negociated>
75
                <is-getCapabilitiesPublishable>false</is-getCapabilitiesPublishable>
76
                <request id="WPS_040_OPERATION_STREETSMAP_GetCapabilities">
77
                        <request-name>GetCapabilities</request-name>
78
                        <request-display-name>Get Capabilities</request-display-name>
79
                        <request-description>Get XML Document describe all operations</request-description>
80
                        <is-pretesting-ignored>false</is-pretesting-ignored>
81
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap.GetCapabilitiesResponse</request-class-name>
82
                </request>
83
                <request id="WPS_040_OPERATION_STREETSMAP_DescribeProcess">
84
                        <request-name>DescribeProcess</request-name>
85
                        <request-display-name>Describe Process</request-display-name>
86
                        <request-description>Get XML Document describe a specific operation with their parameters</request-description>
87
                        <is-pretesting-ignored>false</is-pretesting-ignored>
88
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap.GetCapabilitiesResponse</request-class-name>
89
                </request>
90
                <request id="WPS_040_OPERATION_STREETSMAP_Execute">
91
                        <request-name>Execute</request-name>
92
                        <request-display-name>Execute one Process</request-display-name>
93
                        <request-description>Execute an operation and give back the result</request-description>
94
                        <is-pretesting-ignored>false</is-pretesting-ignored>
95
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap.GetCapabilitiesResponse</request-class-name>
96
                </request>
97
        </operation>
98
<!--
99
  END OPERATION StreetsMap
100
-->
101
</springFramework>