axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r392210 - in /webservices/axis2/trunk/c: modules/core/clientapi/ samples/client/addr_echo/ samples/client/echo/ samples/client/echo_non_blocking/ samples/client/math/ samples/server/echo/
Date Fri, 07 Apr 2006 07:58:46 GMT
Author: samisa
Date: Fri Apr  7 00:58:43 2006
New Revision: 392210

URL: http://svn.apache.org/viewcvs?rev=392210&view=rev
Log:
Fixed the namespaces

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/call.c
    webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c
    webservices/axis2/trunk/c/samples/client/echo/echo_client.c
    webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.bak
    webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.c
    webservices/axis2/trunk/c/samples/client/math/math_client.c
    webservices/axis2/trunk/c/samples/server/echo/echo.c
    webservices/axis2/trunk/c/samples/server/echo/services.xml

Modified: webservices/axis2/trunk/c/modules/core/clientapi/call.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/call.c?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/call.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/call.c Fri Apr  7 00:58:43 2006
@@ -980,7 +980,11 @@
             {
                 axis2_soap_body_t *soap_body = NULL;
                 axis2_soap_envelope_t *res_envelope = AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(call_impl->last_res_msg_ctx,
env);
-                soap_body = AXIS2_SOAP_ENVELOPE_GET_BODY(res_envelope, env);
+                if (res_envelope)
+                {
+                    soap_body = AXIS2_SOAP_ENVELOPE_GET_BODY(res_envelope, env);
+                }
+
                 if (soap_body)
                 {
                     axis2_om_node_t *soap_node = NULL;

Modified: webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/addr_echo/echo_client.c Fri Apr  7 00:58:43 2006
@@ -84,7 +84,7 @@
     
     /* Set end point reference of echo service */
     address = "http://localhost:9090/axis2/services/echo";
-    wsa_action = "http://localhost:9090/axis2/services/echo/echoString";
+    wsa_action = "http://ws.apache.org/axis2/c/samples/echoString";
     if (argc > 1 )
         address = argv[1];
     if (AXIS2_STRCMP(address, "-h") == 0)
@@ -241,7 +241,7 @@
     axis2_om_output_t *om_output = NULL;
     axis2_char_t *buffer = NULL;
 
-    ns1 = axis2_om_namespace_create (env, "http://localhost:9090/axis2/services/echo", "ns1");
+    ns1 = axis2_om_namespace_create (env, "http://ws.apache.org/axis2/c/samples", "ns1");
 
     echo_om_ele = axis2_om_element_create(env, NULL, "echoString", ns1, &echo_om_node);
     

Modified: webservices/axis2/trunk/c/samples/client/echo/echo_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/echo/echo_client.c?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/echo_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/echo/echo_client.c Fri Apr  7 00:58:43 2006
@@ -65,7 +65,7 @@
     if (!client_home)
         client_home = "../../deploy";
     
-    address = "http://localhost:9090/axis2/services/echo/echo";
+    address = "http://localhost:9090/axis2/services/echo";
     if (argc > 1 )
         address = argv[1];
     if (AXIS2_STRCMP(address, "-h") == 0)
@@ -133,7 +133,7 @@
     axis2_om_output_t *om_output = NULL;
     axis2_char_t *buffer = NULL;
 
-    ns1 = axis2_om_namespace_create (env, "http://localhost:9090/axis2/services/echo", "ns1");
+    ns1 = axis2_om_namespace_create (env, "http://ws.apache.org/axis2/c/samples", "ns1");
 
     echo_om_ele = axis2_om_element_create(env, NULL, "echoString", ns1, &echo_om_node);
     

Modified: webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.bak
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.bak?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.bak (original)
+++ webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.bak Fri Apr  7
00:58:43 2006
@@ -76,7 +76,7 @@
     if (!client_home)
         client_home = "../../deploy";
     
-    address = "http://localhost:9090/axis2/services/echo/echo";
+    address = "http://ws.apache.org/axis2/c/samples/echo";
     wsa_action = "http://127.0.0.1:9090/axis2/services/echo/echoString";
     if (argc > 1 )
         address = argv[1];
@@ -195,7 +195,7 @@
     axis2_om_output_t *om_output = NULL;
     axis2_char_t *buffer = NULL;
 
-    ns1 = axis2_om_namespace_create (env, "http://localhost:9090/axis2/services/echo", "ns1");
+    ns1 = axis2_om_namespace_create (env, "http://ws.apache.org/axis2/c/samples", "ns1");
 
     echo_om_ele = axis2_om_element_create(env, NULL, "echoString", ns1, &echo_om_node);
     

Modified: webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.c?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/echo_non_blocking/echo_client.c Fri Apr  7 00:58:43
2006
@@ -78,8 +78,8 @@
     if (!client_home)
         client_home = "../../deploy";
     
-    address = "http://localhost:9090/axis2/services/echo/echo";
-    wsa_action = "http://127.0.0.1:9090/axis2/services/echo/echoString";
+    address = "http://localhost:9090/axis2/services/echo";
+    wsa_action = "http://ws.apache.org/axis2/c/samples/echo/echoString";
     if (argc > 1 )
         address = argv[1];
     if (AXIS2_STRCMP(address, "-h") == 0)
@@ -209,7 +209,7 @@
     axis2_om_output_t *om_output = NULL;
     axis2_char_t *buffer = NULL;
 
-    ns1 = axis2_om_namespace_create (env, "http://localhost:9090/axis2/services/echo", "ns1");
+    ns1 = axis2_om_namespace_create (env, "http://ws.apache.org/axis2/c/samples", "ns1");
 
     echo_om_ele = axis2_om_element_create(env, NULL, "echoString", ns1, &echo_om_node);
     

Modified: webservices/axis2/trunk/c/samples/client/math/math_client.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/math/math_client.c?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/math_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/math/math_client.c Fri Apr  7 00:58:43 2006
@@ -163,7 +163,7 @@
     axis2_om_output_t *om_output = NULL;
     axis2_char_t *buffer = NULL;
 
-    ns1 = axis2_om_namespace_create (env, "http://localhost:9090/axis2/services/math", "ns1");
+    ns1 = axis2_om_namespace_create (env, "http://ws.apache.org/axis2/c/samplesmath", "ns1");
 
     math_om_ele = axis2_om_element_create(env, NULL, operation, ns1, &math_om_node);
     

Modified: webservices/axis2/trunk/c/samples/server/echo/echo.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/server/echo/echo.c?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/echo.c (original)
+++ webservices/axis2/trunk/c/samples/server/echo/echo.c Fri Apr  7 00:58:43 2006
@@ -29,7 +29,7 @@
     AXIS2_ENV_CHECK(env, NULL);
    
     /* Expected request format is :-
-     * <ns1:echoString xmlns:ns1="http://localhost:9090/axis2/services/echo">
+     * <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">
      *      <text>echo5</text>
      * </ns1:echoString>
      */
@@ -86,7 +86,7 @@
     axis2_om_element_t * text_om_ele = NULL;
     axis2_om_namespace_t *ns1 = NULL;
     
-    ns1 = axis2_om_namespace_create (env, "http://localhost:9090/axis2/services/echo", "ns1");
+    ns1 = axis2_om_namespace_create (env, "http://ws.apache.org/axis2/c/samples", "ns1");
 
     echo_om_ele = axis2_om_element_create(env, NULL, "echoString", ns1, &echo_om_node);
     

Modified: webservices/axis2/trunk/c/samples/server/echo/services.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/server/echo/services.xml?rev=392210&r1=392209&r2=392210&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/services.xml (original)
+++ webservices/axis2/trunk/c/samples/server/echo/services.xml Fri Apr  7 00:58:43 2006
@@ -7,7 +7,7 @@
 
     <operation name="echoString">
             <!--messageReceiver class="axis2_receivers" /-->
-            <parameter name="wsamapping" >http://localhost:9090/axis2/services/echo/echoString</parameter>
+            <parameter name="wsamapping" >http://ws.apache.org/axis2/c/samples/echoString</parameter>
     </operation>
 
 </service>



Mime
View raw message