axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r367550 - in /webservices/axis2/trunk/java/modules/samples: script/ script/SGCCalculator/ script/amazonQS/ script/googleSearch/ script/googleSpellcheck/ script/mtomSample/ src/sample/amazon/amazonSimpleQueueService/util/ src/sample/google/s...
Date Tue, 10 Jan 2006 10:10:06 GMT
Author: saminda
Date: Tue Jan 10 02:09:41 2006
New Revision: 367550

URL: http://svn.apache.org/viewcvs?rev=367550&view=rev
Log:
Sample updated. All build.xml updated. All shell script updated. need to update all batch
file 

Modified:
    webservices/axis2/trunk/java/modules/samples/script/SGCCalculator/run.sh
    webservices/axis2/trunk/java/modules/samples/script/amazonQS/build.xml
    webservices/axis2/trunk/java/modules/samples/script/amazonQS/run.sh
    webservices/axis2/trunk/java/modules/samples/script/build.xml
    webservices/axis2/trunk/java/modules/samples/script/googleSearch/build.xml
    webservices/axis2/trunk/java/modules/samples/script/googleSearch/run.sh
    webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/build.xml
    webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/run.sh
    webservices/axis2/trunk/java/modules/samples/script/mtomSample/build.xml
    webservices/axis2/trunk/java/modules/samples/script/mtomSample/run.sh
    webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
    webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
    webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
    webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
    webservices/axis2/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java
    webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java

Modified: webservices/axis2/trunk/java/modules/samples/script/SGCCalculator/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/SGCCalculator/run.sh?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/SGCCalculator/run.sh (original)
+++ webservices/axis2/trunk/java/modules/samples/script/SGCCalculator/run.sh Tue Jan 10 02:09:41
2006
@@ -9,4 +9,4 @@
 export AXIS2_CLASSPATH
 echo classpath: $AXIS2_CLASSPATH
 
-java -classpath $AXIS2_CLASSPATH  sample.sgccalculator.CalcClient
+java -classpath $AXIS2_CLASSPATH -Daxis2.home=$AXIS2_HOME  sample.sgccalculator.CalcClient

Modified: webservices/axis2/trunk/java/modules/samples/script/amazonQS/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/amazonQS/build.xml?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/amazonQS/build.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/script/amazonQS/build.xml Tue Jan 10 02:09:41
2006
@@ -1,4 +1,5 @@
 <project name="samples" default="all">
+    <property name="mainDir" value="../.."/>
     <path id="axis.classpath">
         <fileset dir="../../lib">
             <include name="*.jar"/>
@@ -6,10 +7,16 @@
         <pathelement location="./amazonQS.jar"/>
     </path>
     <target name="cq">
-        <java classname="sample.amazon.amazonSimpleQueueService.RunGUICQ" classpathref="axis.classpath"
fork="true"/>
+        <java classname="sample.amazon.amazonSimpleQueueService.RunGUICQ"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="rq">
-        <java classname="sample.amazon.amazonSimpleQueueService.RunGUIRQ" classpathref="axis.classpath"
fork="true"/>
+        <java classname="sample.amazon.amazonSimpleQueueService.RunGUIRQ"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="all" depends="cq,rq"/>
 </project>

Modified: webservices/axis2/trunk/java/modules/samples/script/amazonQS/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/amazonQS/run.sh?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/amazonQS/run.sh (original)
+++ webservices/axis2/trunk/java/modules/samples/script/amazonQS/run.sh Tue Jan 10 02:09:41
2006
@@ -8,7 +8,7 @@
 done
 export AXIS2_CLASSPATH
 echo classpath: $AXIS2_CLASSPATH
-java -classpath $AXIS2_CLASSPATH sample.amazon.amazonSimpleQueueService.RunGUICQ &
-java -classpath $AXIS2_CLASSPATH sample.amazon.amazonSimpleQueueService.RunGUIRQ &
+java -classpath $AXIS2_CLASSPATH -Daxis2.home=$AXIS2_HOME sample.amazon.amazonSimpleQueueService.RunGUICQ
&
+java -classpath $AXIS2_CLASSPATH -Daxis2.home=$AXIS2_HOME sample.amazon.amazonSimpleQueueService.RunGUIRQ
&
 
 

Modified: webservices/axis2/trunk/java/modules/samples/script/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/build.xml?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/build.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/script/build.xml Tue Jan 10 02:09:41 2006
@@ -1,51 +1,54 @@
 <project name="samples" default="alltests">
+    <property name="mainDir" value="../.."/>
     <path id="axis.classpath">
-        <fileset dir="../lib">
+        <fileset dir="../../lib">
             <include name="*.jar"/>
         </fileset>
-        <pathelement location="userguide/sample.jar"/>
-    </path>
-    <path id="mtom.classpath">
-        <pathelement location="mtom/mtomClient.jar"/>
-    </path>
-    <path id="security.classpath">
-        <pathelement location="security/secUtil.jar"/>
+        <pathelement location="./sample.jar"/>
     </path>
     <path id="sample.classpath">
         <path refid="axis.classpath"/>
-        <path refid="mtom.classpath"/>
-        <path refid="security.classpath"/>
     </path>
 
-    <target name="alltests" depends="testEchoBlockingClient,testEchoBlockingDualClient,testEchoNonBlockingDualClient,testPingClient,testWebServiceWithModuleClient">
+    <target name="alltests"
+            depends="testEchoBlockingClient,testEchoBlockingDualClient,testEchoNonBlockingDualClient,testPingClient,testWebServiceWithModuleClient">
     </target>
 
     <target name="testEchoBlockingClient">
-        <java classname="userguide.clients.EchoBlockingClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.EchoBlockingClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testEchoBlockingDualClient">
-        <java classname="userguide.clients.EchoBlockingDualClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.EchoBlockingDualClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testEchoNonBlockingDualClient">
-        <java classname="userguide.clients.EchoNonBlockingDualClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.EchoNonBlockingDualClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testPingClient">
-        <java classname="userguide.clients.PingClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.PingClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testWebServiceWithModuleClient">
-        <java classname="userguide.clients.ClientForWebServiceWithModule" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.ClientForWebServiceWithModule"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
 
     <target name="testEchoNonBlockingClient">
-        <java classname="userguide.clients.EchoNonBlockingClient" classpathref="axis.classpath"/>
-    </target>
-    <target name="mtomSample">
-        <java classname="sample.mtom.imagetransfer.client.MTOMClient" classpathref="sample.classpath"
fork="true"/>
-    </target>
-    <target name="securitySample">
-        <java classname="sample.security.Client" classpathref="sample.classpath" fork="true">
-		<arg value="security/client_repo"/>
-		<arg value="8080"/>
-	</java>
+        <java classname="userguide.clients.EchoNonBlockingClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
 </project>

Modified: webservices/axis2/trunk/java/modules/samples/script/googleSearch/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/googleSearch/build.xml?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/googleSearch/build.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/script/googleSearch/build.xml Tue Jan 10
02:09:41 2006
@@ -1,4 +1,5 @@
 <project name="samples" default="run">
+    <property name="mainDir" value="../.."/>
     <path id="axis.classpath">
         <fileset dir="../../lib">
             <include name="*.jar"/>
@@ -6,6 +7,9 @@
         <pathelement location="./googleSearch.jar"/>
     </path>
     <target name="run">
-        <java classname="sample.google.search.AsynchronousClient" classpathref="axis.classpath"
fork="true"/>
+        <java classname="sample.google.search.AsynchronousClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
 </project>

Modified: webservices/axis2/trunk/java/modules/samples/script/googleSearch/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/googleSearch/run.sh?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/googleSearch/run.sh (original)
+++ webservices/axis2/trunk/java/modules/samples/script/googleSearch/run.sh Tue Jan 10 02:09:41
2006
@@ -9,6 +9,6 @@
 export AXIS2_CLASSPATH
 echo classpath: $AXIS2_CLASSPATH
 
-java -classpath $AXIS2_CLASSPATH  sample.google.search.AsynchronousClient
+java -classpath $AXIS2_CLASSPATH -Daxis2.home=$AXIS2_HOME  sample.google.search.AsynchronousClient
 
 

Modified: webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/build.xml?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/build.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/build.xml Tue Jan
10 02:09:41 2006
@@ -1,4 +1,5 @@
 <project name="samples" default="run">
+    <property name="mainDir" value="../.."/>
     <path id="axis.classpath">
         <fileset dir="../../lib">
             <include name="*.jar"/>
@@ -6,6 +7,9 @@
         <pathelement location="./googleSpellcheck.jar"/>
     </path>
     <target name="run">
-        <java classname="sample.google.spellcheck.SuggestionForm" classpathref="axis.classpath"
fork="true"/>
+        <java classname="sample.google.spellcheck.SuggestionForm"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
 </project>

Modified: webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/run.sh?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/run.sh (original)
+++ webservices/axis2/trunk/java/modules/samples/script/googleSpellcheck/run.sh Tue Jan 10
02:09:41 2006
@@ -9,4 +9,4 @@
 export AXIS2_CLASSPATH
 echo classpath: $AXIS2_CLASSPATH
 
-java -classpath $AXIS2_CLASSPATH sample.google.spellcheck.SuggestionForm
+java -classpath $AXIS2_CLASSPATH -Daxis2.home=$AXIS2_HOME sample.google.spellcheck.SuggestionForm

Modified: webservices/axis2/trunk/java/modules/samples/script/mtomSample/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/mtomSample/build.xml?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/mtomSample/build.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/script/mtomSample/build.xml Tue Jan 10 02:09:41
2006
@@ -1,4 +1,5 @@
 <project name="samples" default="mtomSample">
+    <property name="mainDir" value="../.."/>
     <path id="axis.classpath">
         <fileset dir="../../lib">
             <include name="*.jar"/>
@@ -12,6 +13,9 @@
         <path refid="mtom.classpath"/>
     </path>
     <target name="mtomSample">
-        <java classname="sample.mtom.imagetransfer.client.MTOMClient" classpathref="sample.classpath"
fork="true"/>
+        <java classname="sample.mtom.imagetransfer.client.MTOMClient"
+              classpathref="sample.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
 </project>

Modified: webservices/axis2/trunk/java/modules/samples/script/mtomSample/run.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/mtomSample/run.sh?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/mtomSample/run.sh (original)
+++ webservices/axis2/trunk/java/modules/samples/script/mtomSample/run.sh Tue Jan 10 02:09:41
2006
@@ -9,5 +9,5 @@
 export AXIS2_CLASSPATH
 echo classpath: $AXIS2_CLASSPATH
 
-java -classpath $AXIS2_CLASSPATH sample.mtom.imagetransfer.client.MTOMClient &
+java -classpath $AXIS2_CLASSPATH -Daxis2.home=$AXIS2_HOME sample.mtom.imagetransfer.client.MTOMClient
&
 

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
Tue Jan 10 02:09:41 2006
@@ -36,7 +36,8 @@
     JTextField queueCode;
     JTextField enqueue;
 
-    public RunnableCreateQueue(JTextField createQueue, JTextField queueCode, JTextField enqueue,
+    public RunnableCreateQueue(JTextField createQueue, JTextField queueCode,
+                               JTextField enqueue,
                                JTextArea result) {
         this.createQueue = createQueue;
         this.queueCode = queueCode;
@@ -50,7 +51,8 @@
                     this.createQueue.getText(), getKey());
             this.axis2EngineRuns("CreateQueue",
                     createQueueElement,
-                    new SimpleQueueCreateQueueCallbackHandler(this.createQueue, this.queueCode,
+                    new SimpleQueueCreateQueueCallbackHandler(this.createQueue,
+                            this.queueCode,
                             this.enqueue, this.result));
         }
         if (this.enqueue.isEditable()) {
@@ -69,12 +71,16 @@
     private void axis2EngineRuns(String operation, OMElement element,
                                  Callback specificCallbackObject) {
         //endpoint uri is hard coded....
-        String url = "http://webservices.amazon.com/onca/soap?Service=AWSSimpleQueueService";
+        String url =
+                "http://webservices.amazon.com/onca/soap?Service=AWSSimpleQueueService";
         try {
             Options options = new Options();
             options.setTo(new EndpointReference(url));
             options.setSoapAction("http://soap.amazon.com");
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
+            options.setProperty(
+                    org.apache.axis2.context.MessageContextConstants.CHUNKED,
+                    org.apache.axis2.Constants.VALUE_FALSE);
             ServiceClient sender = new ServiceClient();
             sender.setOptions(options);
             sender.sendReceiveNonblocking(element, specificCallbackObject);

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
Tue Jan 10 02:09:41 2006
@@ -64,6 +64,9 @@
             options.setSoapAction("http://soap.amazon.com");
             options.setTo(new EndpointReference(url));
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
+            options.setProperty(
+                    org.apache.axis2.context.MessageContextConstants.CHUNKED,
+                    org.apache.axis2.Constants.VALUE_FALSE);
             ServiceClient sender = new ServiceClient();
             sender.setOptions(options);
             sender.sendReceiveNonblocking(element, specificCallbackObject);

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
Tue Jan 10 02:09:41 2006
@@ -64,7 +64,9 @@
             options.setSoapAction("http://soap.amazon.com");
             options.setTo(new EndpointReference(url));
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
-
+            options.setProperty(
+                    org.apache.axis2.context.MessageContextConstants.CHUNKED,
+                    org.apache.axis2.Constants.VALUE_FALSE);
             ServiceClient sender = new ServiceClient();
             sender.setOptions(options);
             sender.sendReceiveNonblocking(element, specificCallbackObject);

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
Tue Jan 10 02:09:41 2006
@@ -62,7 +62,9 @@
             options.setSoapAction("http://soap.amazon.com");
             options.setTo(new EndpointReference(url));
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
-
+            options.setProperty(
+                    org.apache.axis2.context.MessageContextConstants.CHUNKED,
+                    org.apache.axis2.Constants.VALUE_FALSE);
             ServiceClient sender = new ServiceClient();
             sender.setOptions(options);
             sender.sendReceiveNonblocking(element, specificCallbackObject);

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java
Tue Jan 10 02:09:41 2006
@@ -23,6 +23,7 @@
 import org.apache.axis2.client.Options;
 import org.apache.axis2.client.ServiceClient;
 import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.context.MessageContextConstants;
 import org.apache.axis2.description.AxisOperation;
 import org.apache.axis2.description.OutInAxisOperation;
 import sample.google.common.util.PropertyLoader;
@@ -86,13 +87,14 @@
         URL url = null;
         try {
             url = new URL("http", "api.google.com", "/search/beta2");
-            //  url = new URL("http://127.0.0.1:8080/axis2/services/axisversion/viewVersion");
+//              url = new URL("http://127.0.0.1:8084/search/beta2");
         } catch (MalformedURLException e) {
             e.printStackTrace();
             System.exit(0);
         }
 
         Options options = new Options();
+        options.setProperty(MessageContextConstants.CHUNKED, Constants.VALUE_FALSE);
         options.setTo(
                 new EndpointReference(url.toString()));
 

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java?rev=367550&r1=367549&r2=367550&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java
Tue Jan 10 02:09:41 2006
@@ -1,6 +1,8 @@
 package sample.google.spellcheck;
 
 import org.apache.axis2.AxisFault;
+import org.apache.axis2.Constants;
+import org.apache.axis2.context.MessageContextConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.client.ServiceClient;
@@ -75,6 +77,7 @@
 
         Options options = new Options();
         options.setTo(new EndpointReference(url.toString()));
+        options.setProperty(MessageContextConstants.CHUNKED, Constants.VALUE_FALSE);
         try {
             ServiceClient sender = new ServiceClient();
             sender.setOptions(options);



Mime
View raw message