Statistics
| Revision:

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

History | View | Annotate | Download (7.41 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
    OPERATION ECHOING    
65
-->
66
        <operation id="WPS_0_4_0_OPERATION_ECHOING">
67
                <operation-name>Echoing</operation-name>
68
                <url-pattern>Echoing/%mapServiceWPS%</url-pattern>
69
                <operation-description>This is an example to send a string and then receive an echo</operation-description>
70
                <is-operation-negociated>false</is-operation-negociated>
71
                <request id="WPS_0_4_0_OPERATION_ECHOING_GetCapabilities">
72
                        <request-name>GetCapabilities</request-name>
73
                        <request-display-name>Get Capabilities</request-display-name>
74
                        <request-description>Get XML Document describe all operations</request-description>
75
                        <is-pretesting-ignored>false</is-pretesting-ignored>
76
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl0_4_0.operation.echoing.GetCapabilitiesResponse</request-class-name>
77
                </request>
78
                <request id="WPS_0_4_0_OPERATION_ECHOING_DescribeProcess">
79
                        <request-name>DescribeProcess</request-name>
80
                        <request-display-name>Describe Process</request-display-name>
81
                        <request-description>Get XML Document describe a specific operation with their parameters</request-description>
82
                        <is-pretesting-ignored>false</is-pretesting-ignored>
83
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl0_4_0.operation.echoing.GetCapabilitiesResponse</request-class-name>
84
                </request>
85
                <request id="WPS_0_4_0_OPERATION_ECHOING_Execute">
86
                        <request-name>Execute</request-name>
87
                        <request-display-name>Execute one Process</request-display-name>
88
                        <request-description>Execute an operation and give back the result</request-description>
89
                        <is-pretesting-ignored>false</is-pretesting-ignored>
90
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl0_4_0.operation.echoing.GetCapabilitiesResponse</request-class-name>
91
                </request>
92
        </operation>
93

    
94
<!--
95
  START OPERATION StreetsMap
96
  Servidor de callejeros vectorial
97
  NB: Copy this operation in your configuration
98
-->
99

    
100
        <operation id="WPS_040_OPERATION_STREETSMAP">
101
                <operation-name>StreetsMap</operation-name>
102
                <url-pattern>StreetsMap/service.wps</url-pattern>
103
                <operation-description>Servidor de callejeros vectorial</operation-description>
104
                <is-operation-negociated>false</is-operation-negociated>
105
                <is-getCapabilitiesPublishable>false</is-getCapabilitiesPublishable>
106
                <request id="WPS_040_OPERATION_STREETSMAP_GetCapabilities">
107
                        <request-name>GetCapabilities</request-name>
108
                        <request-display-name>Get Capabilities</request-display-name>
109
                        <request-description>Get XML Document describe all operations</request-description>
110
                        <is-pretesting-ignored>false</is-pretesting-ignored>
111
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap.GetCapabilitiesResponse</request-class-name>
112
                </request>
113
                <request id="WPS_040_OPERATION_STREETSMAP_DescribeProcess">
114
                        <request-name>DescribeProcess</request-name>
115
                        <request-display-name>Describe Process</request-display-name>
116
                        <request-description>Get XML Document describe a specific operation with their parameters</request-description>
117
                        <is-pretesting-ignored>false</is-pretesting-ignored>
118
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap.GetCapabilitiesResponse</request-class-name>
119
                </request>
120
                <request id="WPS_040_OPERATION_STREETSMAP_Execute">
121
                        <request-name>Execute</request-name>
122
                        <request-display-name>Execute one Process</request-display-name>
123
                        <request-description>Execute an operation and give back the result</request-description>
124
                        <is-pretesting-ignored>false</is-pretesting-ignored>
125
                        <request-class-name>org.tigris.frogs.plugin.wpsint.impl_0_4_0.operation.streetsmap.GetCapabilitiesResponse</request-class-name>
126
                </request>
127
        </operation>
128
<!--
129
  END OPERATION StreetsMap
130
-->
131
</springFramework>