Return-Path: Delivered-To: apmail-ws-sandesha-dev-archive@www.apache.org Received: (qmail 86919 invoked from network); 4 Dec 2007 08:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2007 08:51:37 -0000 Received: (qmail 47319 invoked by uid 500); 4 Dec 2007 08:51:25 -0000 Delivered-To: apmail-ws-sandesha-dev-archive@ws.apache.org Received: (qmail 47100 invoked by uid 500); 4 Dec 2007 08:51:24 -0000 Mailing-List: contact sandesha-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list sandesha-dev@ws.apache.org Received: (qmail 47089 invoked by uid 500); 4 Dec 2007 08:51:24 -0000 Delivered-To: apmail-ws-sandesha-cvs@ws.apache.org Received: (qmail 47086 invoked by uid 99); 4 Dec 2007 08:51:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 00:51:24 -0800 X-ASF-Spam-Status: No, hits=-99.1 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 08:51:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3DB661A9832; Tue, 4 Dec 2007 00:51:05 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r600841 - in /webservices/sandesha/trunk/c: samples/rm_echo_single_1_0/rm_echo_single.c src/storage/sqlite/permanent_storage_mgr.c src/util/msg_init.c Date: Tue, 04 Dec 2007 08:51:04 -0000 To: sandesha-cvs@ws.apache.org From: damitha@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071204085105.3DB661A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: damitha Date: Tue Dec 4 00:51:03 2007 New Revision: 600841 URL: http://svn.apache.org/viewvc?rev=600841&view=rev Log: comment the content of the function add_op_if_null Modified: webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c webservices/sandesha/trunk/c/src/util/msg_init.c Modified: webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c?rev=600841&r1=600840&r2=600841&view=diff ============================================================================== --- webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c (original) +++ webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c Tue Dec 4 00:51:03 2007 @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include @@ -58,13 +57,11 @@ const axutil_env_t *env = NULL; const axis2_char_t *address = NULL; axis2_endpoint_ref_t* endpoint_ref = NULL; - axis2_endpoint_ref_t* reply_to = NULL; axis2_options_t *options = NULL; const axis2_char_t *client_home = NULL; axis2_svc_client_t* svc_client = NULL; axiom_node_t *payload = NULL; axutil_property_t *property = NULL; - axis2_listener_manager_t *listener_manager = NULL; axis2_char_t *offered_seq_id = NULL; axiom_node_t *result = NULL; axutil_string_t *soap_action = NULL; @@ -115,14 +112,9 @@ options = axis2_options_create(env); axis2_options_set_to(options, env, endpoint_ref); - /* Seperate listner needs addressing, hence addressing stuff in options */ - /*axis2_options_set_action(options, env, - "http://127.0.0.1:8080/axis2/services/RMSampleService/anonOutInOp");*/ soap_action = axutil_string_create(env, "urn:wsrm:EchoString"); axis2_options_set_soap_action(options, env, soap_action); axis2_options_set_action(options, env, "urn:wsrm:EchoString"); - reply_to = axis2_endpoint_ref_create(env, AXIS2_WSA_ANONYMOUS_URL); - /*axis2_options_set_reply_to(options, env, reply_to);*/ /* Set up deploy folder. It is from the deploy folder, the configuration is * picked up using the axis2.xml file. @@ -153,11 +145,6 @@ axis2_svc_client_engage_module(svc_client, env, AXIS2_MODULE_ADDRESSING); axis2_svc_client_engage_module(svc_client, env, "sandesha2"); - listener_manager = axis2_listener_manager_create(env); - if (!listener_manager) - { - return AXIS2_FAILURE; - } /* Offer sequence */ offered_seq_id = axutil_uuid_gen(env); property = axutil_property_create(env); Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c?rev=600841&r1=600840&r2=600841&view=diff ============================================================================== --- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c (original) +++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_storage_mgr.c Tue Dec 4 00:51:03 2007 @@ -816,9 +816,9 @@ sandesha2_msg_store_bean_t *msg_store_bean = NULL; storage_mgr_impl = SANDESHA2_INTF_TO_IMPL(storage_mgr); - if(!persistent) + /*if(!persistent) msg_ctx = (axis2_msg_ctx_t *) axutil_hash_get( - storage_mgr_impl->msg_ctx_map, key, AXIS2_HASH_KEY_STRING); + storage_mgr_impl->msg_ctx_map, key, AXIS2_HASH_KEY_STRING);*/ if(msg_ctx) return msg_ctx; AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2]retrieved from database"); @@ -850,6 +850,7 @@ axiom_soap_builder_free(soap_builder, env); return NULL; } + AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "dam_soap_envelope:%s", soap_env_str); axis2_msg_ctx_set_soap_envelope(msg_ctx, env, soap_envelope); axis2_msg_ctx_set_msg_id(msg_ctx, env, sandesha2_msg_store_bean_get_msg_id( msg_store_bean, env)); Modified: webservices/sandesha/trunk/c/src/util/msg_init.c URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/msg_init.c?rev=600841&r1=600840&r2=600841&view=diff ============================================================================== --- webservices/sandesha/trunk/c/src/util/msg_init.c (original) +++ webservices/sandesha/trunk/c/src/util/msg_init.c Tue Dec 4 00:51:03 2007 @@ -183,7 +183,7 @@ (sandesha2_iom_rm_part_t *) seq_ack); rm_ns = sandesha2_iom_rm_element_get_namespace_value( (sandesha2_iom_rm_element_t *) seq_ack, env); - add_op_if_null(env, msg_ctx); + /*add_op_if_null(env, msg_ctx);*/ } terminate_seq = sandesha2_rm_elements_get_terminate_seq(rm_elements, env); if(terminate_seq) @@ -214,7 +214,7 @@ (sandesha2_iom_rm_part_t *) ack_request); rm_ns = sandesha2_iom_rm_element_get_namespace_value( (sandesha2_iom_rm_element_t *) ack_request, env); - add_op_if_null(env, msg_ctx); + /*add_op_if_null(env, msg_ctx);*/ } close_seq = sandesha2_rm_elements_get_close_seq(rm_elements, env); if(close_seq) @@ -468,7 +468,7 @@ const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx) { - axis2_op_t *op = NULL; + /*axis2_op_t *op = NULL; op = axis2_msg_ctx_get_op(msg_ctx, env); if(!op) @@ -517,7 +517,7 @@ } axutil_qname_free(tmp_qname, env); axis2_msg_ctx_set_op(msg_ctx, env, op); - } + }*/ } --------------------------------------------------------------------- To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org For additional commands, e-mail: sandesha-dev-help@ws.apache.org