~ubuntu-branches/ubuntu/maverick/eucalyptus/maverick

« back to all changes in this revision

Viewing changes to gatherlog/generated/axis2_svc_skel_EucalyptusGL.c

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey)
  • Date: 2010-07-21 17:27:10 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20100721172710-7xv07dmdqgivc3t9
Tags: 2.0~bzr1211-0ubuntu1
* New major upstream version merge, 2.0 (r1211).
* debian/patches/:
  - 01-wsdl-stubs.patch, debian/wsdl.md5sums: wsdl stubs updated.
  - 02-Makefile.patch: Updated to reflect new code layout.
  - 07-local_support_euca_conf-in.patch: Updated to reflect new code layout.
  - 08-ubuntu-default-networking.patch: Refreshed.
  - 09-small-128-192MB.patch: Updated to point to new location.
  - 10-disable-iscsi.patch: Refreshed.
  - 11-state-cleanup-memleakfix.patch: Removed, fixed upstream.
  - 15-fix-default-ramdisk.patch: Updated to point to new location.
  - 16-kvm_libvirt_xml_default_use_kvm.patch: Updated to reflect changes.
  - 17-fix_walrus_OOM_errors.patch: Removed, fixed upstream.
  - 18-priv_security.patch: Updated to reflect upstream changes.
  - 20-brute-force-webui.patch: Updated to reflect upstream changes. 
  - 21-eucalyptus-1.7-with-gwt-1.6.4.patch: New patch, allows 
    eucalyptus-1.7 to be built against gwt 1.6.4. Based on patch courtesy 
    of Dmitrii Zagorodnov, upstream. (LP: #597330)
* debian/eucalyptus-java-common.links: 
  - Changed symlink for groovy, point to groovy.all.jar, making compatiable 
    with groovy versions >1.7. (LP: #595421)
  - Added ant.jar & jetty-rewrite-handler.jar as they are now required.
* debian/control
  - & debian/build-jars: Added libjavassist-java and libjetty-extra-java as 
    build dependencies.
  - Added libjetty-extra-java as a dependency of eucalyptus-java-common
* The binary resulting jar's have been renamed from eucalyptus-*-1.6.2.jar
  to eucalyptus-*-main.jar:    
  - debian/eucalyptus-cc.upstart
  - debian/eucalyptus-cloud.install
  - debian/eucalyptus-common.eucalyptus.upstart
  - debian/eucalyptus-java-common.install
  - debian/eucalyptus-network.upstart
  - debian/eucalyptus-sc.install
  - debian/eucalyptus-walrus.install
* debian/eucalyptus-java-common.install: New upstream jars that have been
  installed:
  - eucalyptus-db-hsqldb-ext-main.jar
  - eucalyptus-component-main.jar
* debian/control:
  - Updated Standards Version to 3.8.4 (no change)
  - Updated the upstream Homepage to: http://open.eucalyptus.com/
  - Changed Vcs-Bzr to reflect new location of Ubuntu hosted development branch.
  - Made the Build Dependency of groovy and the binary eucalyptus-java-common
    package depend on version >=1.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
     /**
99
99
      * function to free any soap input headers
100
100
      */
101
 
 
 
101
     
102
102
 
103
103
 
104
104
 
105
105
     /**
106
106
      * function to free any soap output headers
107
107
      */
108
 
 
 
108
     
109
109
 
110
110
 
111
111
 
128
128
          axutil_qname_t *op_qname = NULL;
129
129
          axis2_char_t *op_name = NULL;
130
130
          axis2_msg_ctx_t *in_msg_ctx = NULL;
131
 
 
 
131
          
132
132
          axiom_soap_envelope_t *req_soap_env = NULL;
133
133
          axiom_soap_header_t *req_soap_header = NULL;
134
134
          axiom_soap_envelope_t *res_soap_env = NULL;
139
139
          axiom_node_t *output_header = NULL;
140
140
          axiom_node_t *header_base_node = NULL;
141
141
 
142
 
 
 
142
          
143
143
            adb_GetLogsResponse_t* ret_val1 = NULL;
144
144
            adb_GetLogs_t* input_val1 = NULL;
145
 
 
 
145
            
146
146
            adb_GetKeysResponse_t* ret_val2 = NULL;
147
147
            adb_GetKeys_t* input_val2 = NULL;
148
 
 
 
148
            
149
149
 
150
150
          operation_ctx = axis2_msg_ctx_get_op_ctx(msg_ctx, env);
151
151
          operation = axis2_op_ctx_get_op(operation_ctx, env);
154
154
 
155
155
          if (op_name)
156
156
          {
157
 
 
 
157
               
158
158
 
159
159
                if ( axutil_strcmp(op_name, "GetLogs") == 0 )
160
160
                {
161
 
 
162
 
                    input_val1 =
 
161
                    
 
162
                    input_val1 = 
163
163
                        adb_GetLogs_create( env);
164
164
                        if( AXIS2_FAILURE == adb_GetLogs_deserialize(input_val1, env, &content_node, NULL, AXIS2_FALSE))
165
165
                        {
166
166
                            adb_GetLogs_free(input_val1, env);
167
 
 
 
167
                      
168
168
                            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DATA_ELEMENT_IS_NULL, AXIS2_FAILURE);
169
169
                            AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "NULL returnted from the GetLogs_deserialize: "
170
170
                                        "This should be due to an invalid XML");
171
 
                            return NULL;
 
171
                            return NULL;      
172
172
                        }
173
 
 
 
173
                        
174
174
 
175
175
 
176
176
                    ret_val1 =  axis2_skel_EucalyptusGL_GetLogs(env ,input_val1    );
177
 
 
 
177
                    
178
178
                        if ( NULL == ret_val1 )
179
179
                        {
180
180
                            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DATA_ELEMENT_IS_NULL, AXIS2_FAILURE);
181
181
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL returnted from the business logic from GetLogs ");
182
 
 
 
182
                            
183
183
                                adb_GetLogs_free(input_val1, env);
184
 
 
185
 
                            return NULL;
 
184
                            
 
185
                            return NULL; 
186
186
                        }
187
 
                        ret_node =
 
187
                        ret_node = 
188
188
                                   adb_GetLogsResponse_serialize(ret_val1, env, NULL, NULL, AXIS2_TRUE, NULL, NULL);
189
189
                                   adb_GetLogsResponse_free(ret_val1, env);
190
 
 
 
190
                                   
191
191
                                    adb_GetLogs_free(input_val1, env);
192
 
 
 
192
                                   
193
193
 
194
194
                        return ret_node;
195
 
 
196
 
 
197
 
 
198
 
 
 
195
                    
 
196
 
 
197
                    
 
198
                    
199
199
 
200
200
                }
201
 
 
 
201
             
202
202
 
203
203
                if ( axutil_strcmp(op_name, "GetKeys") == 0 )
204
204
                {
205
 
 
206
 
                    input_val2 =
 
205
                    
 
206
                    input_val2 = 
207
207
                        adb_GetKeys_create( env);
208
208
                        if( AXIS2_FAILURE == adb_GetKeys_deserialize(input_val2, env, &content_node, NULL, AXIS2_FALSE))
209
209
                        {
210
210
                            adb_GetKeys_free(input_val2, env);
211
 
 
 
211
                      
212
212
                            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DATA_ELEMENT_IS_NULL, AXIS2_FAILURE);
213
213
                            AXIS2_LOG_ERROR( env->log, AXIS2_LOG_SI, "NULL returnted from the GetKeys_deserialize: "
214
214
                                        "This should be due to an invalid XML");
215
 
                            return NULL;
 
215
                            return NULL;      
216
216
                        }
217
 
 
 
217
                        
218
218
 
219
219
 
220
220
                    ret_val2 =  axis2_skel_EucalyptusGL_GetKeys(env ,input_val2    );
221
 
 
 
221
                    
222
222
                        if ( NULL == ret_val2 )
223
223
                        {
224
224
                            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_DATA_ELEMENT_IS_NULL, AXIS2_FAILURE);
225
225
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL returnted from the business logic from GetKeys ");
226
 
 
 
226
                            
227
227
                                adb_GetKeys_free(input_val2, env);
228
 
 
229
 
                            return NULL;
 
228
                            
 
229
                            return NULL; 
230
230
                        }
231
 
                        ret_node =
 
231
                        ret_node = 
232
232
                                   adb_GetKeysResponse_serialize(ret_val2, env, NULL, NULL, AXIS2_TRUE, NULL, NULL);
233
233
                                   adb_GetKeysResponse_free(ret_val2, env);
234
 
 
 
234
                                   
235
235
                                    adb_GetKeys_free(input_val2, env);
236
 
 
 
236
                                   
237
237
 
238
238
                        return ret_node;
239
 
 
240
 
 
241
 
 
242
 
 
 
239
                    
 
240
 
 
241
                    
 
242
                    
243
243
 
244
244
                }
245
 
 
 
245
             
246
246
             }
247
247
          printf("axis2_svc_skel_EucalyptusGL service ERROR: invalid OM parameters in request\n");
248
248
          return NULL;
280
280
                return AXIS2_SUCCESS;
281
281
        }
282
282
 
283
 
        AXIS2_EXTERN int
 
283
        AXIS2_EXTERN int 
284
284
    axis2_remove_instance(axis2_svc_skeleton_t *inst,
285
285
                            const axutil_env_t *env)
286
286
        {
293
293
        }
294
294
 
295
295
 
296
 
 
 
296
    
297
297