tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajbor...@apache.org
Subject svn commit: r499479 - /incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp
Date Wed, 24 Jan 2007 16:56:46 GMT
Author: ajborley
Date: Wed Jan 24 08:56:45 2007
New Revision: 499479

URL: http://svn.apache.org/viewvc?view=rev&rev=499479
Log:
Removed some debugging code left inside

Modified:
    incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp

Modified: incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp?view=diff&rev=499479&r1=499478&r2=499479
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp
(original)
+++ incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp
Wed Jan 24 08:56:45 2007
@@ -314,42 +314,6 @@
 
             }
 
-axiom_node_t *
-build_payload_for_math ()
-{
-    axis2_env_t *env = NULL;
-    axiom_node_t *math_om_node = NULL;
-    axiom_element_t* math_om_ele = NULL;
-    axiom_node_t* text_om_node = NULL;
-    axiom_element_t * text_om_ele = NULL;
-    axiom_namespace_t *ns1 = NULL;
-
-    //axis2_allocator_t *the_allocator = axis2_allocator_init (NULL);
-    //env = axis2_env_create(the_allocator); 
-    env = axis2_env_create_all("alt_math.log",AXIS2_LOG_LEVEL_TRACE);
-
-    ns1 = axiom_namespace_create (env, "http://sample/calculator", "ns1");
-
-    math_om_ele = axiom_element_create (env, NULL, "add", ns1, &math_om_node);
-
-    text_om_ele = axiom_element_create (env, math_om_node, "param1", NULL, &text_om_node);
-    AXIOM_ELEMENT_SET_TEXT (text_om_ele, env, "10", text_om_node);
-
-    text_om_ele = axiom_element_create (env, math_om_node, "param2", NULL, &text_om_node);
-    AXIOM_ELEMENT_SET_TEXT (text_om_ele, env, "12", text_om_node);
-
-    //if(the_allocator)
-    //{
-    //    axis2_allocator_free(the_allocator);
-    //}
-    if(env)
-    {
-        axis2_env_free(env);
-    }
-
-    return math_om_node;
-}
-
             axiom_node_t* Axis2Client::createPayload(Operation& operation, 
                 const WSDLOperation& wsdlOperation,
                 axis2_env_t* env)



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message