You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2006/09/10 09:09:33 UTC

svn commit: r441919 - in /webservices/sandesha/trunk/c/samples: client/rm_mtom/mtom_client.c server/rm_mtom/services.xml

Author: damitha
Date: Sun Sep 10 00:09:33 2006
New Revision: 441919

URL: http://svn.apache.org/viewvc?view=rev&rev=441919
Log:
mtom sample is now working

Modified:
    webservices/sandesha/trunk/c/samples/client/rm_mtom/mtom_client.c
    webservices/sandesha/trunk/c/samples/server/rm_mtom/services.xml

Modified: webservices/sandesha/trunk/c/samples/client/rm_mtom/mtom_client.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/client/rm_mtom/mtom_client.c?view=diff&rev=441919&r1=441918&r2=441919
==============================================================================
--- webservices/sandesha/trunk/c/samples/client/rm_mtom/mtom_client.c (original)
+++ webservices/sandesha/trunk/c/samples/client/rm_mtom/mtom_client.c Sun Sep 10 00:09:33 2006
@@ -45,7 +45,7 @@
     env = axis2_env_create_all("mtom.log", AXIS2_LOG_LEVEL_TRACE);
 
     /* Set end point reference of mtom service */
-    address = "http://localhost:9090/axis2/services/mtom";
+    address = "http://localhost:9090/axis2/services/rm_mtom";
     if (argc > 1 )
         address = argv[1];
     if (AXIS2_STRCMP(address, "-h") == 0)
@@ -116,6 +116,7 @@
             property);
     /* Send request */
     ret_node = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
+    AXIS2_SLEEP(10);
     
     if(ret_node)
     {

Modified: webservices/sandesha/trunk/c/samples/server/rm_mtom/services.xml
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/server/rm_mtom/services.xml?view=diff&rev=441919&r1=441918&r2=441919
==============================================================================
--- webservices/sandesha/trunk/c/samples/server/rm_mtom/services.xml (original)
+++ webservices/sandesha/trunk/c/samples/server/rm_mtom/services.xml Sun Sep 10 00:09:33 2006
@@ -1,13 +1,13 @@
-<service name="mtom">
+<service name="rm_mtom">
     <module ref="sandesha2"/>
-    <parameter name="ServiceClass" locked="xsd:false">mtom</parameter>
+    <parameter name="ServiceClass" locked="xsd:false">rm_mtom</parameter>
 
    <description>
         This is a testing service , to test the system is working or not
    </description>
 
     <operation name="mtomSample">
-            <parameter name="wsamapping" >http://ws.apache.org/axis2/c/samples/mtom</parameter>
+            <parameter name="wsamapping" >http://ws.apache.org/axis2/c/samples/rm_mtom</parameter>
     </operation>
 
 </service>



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