You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by th...@apache.org on 2006/10/28 13:39:33 UTC
svn commit: r468679 - in
/webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom:
client/Client.java service/MTOMSampleSkeleton.java
Author: thilina
Date: Sat Oct 28 04:39:32 2006
New Revision: 468679
URL: http://svn.apache.org/viewvc?view=rev&rev=468679
Log:
adding the ASL 2.0 headers..
Ooops. Removing the debug port in the epr
Modified:
webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/client/Client.java
webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/service/MTOMSampleSkeleton.java
Modified: webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/client/Client.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/client/Client.java?view=diff&rev=468679&r1=468678&r2=468679
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/client/Client.java (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/client/Client.java Sat Oct 28 04:39:32 2006
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package sample.mtom.client;
import java.io.File;
@@ -59,8 +75,12 @@
public static void transferFile(File file, String destination)
throws RemoteException {
+ // uncomment the following if you need to capture the messages from
+ // TCPMON. Please look at http://ws.apache.org/commons/tcpmon/tcpmontutorial.html
+ // to learn how to setup tcpmon
MTOMSampleStub serviceStub = new MTOMSampleStub(
- "http://localhost:8081/axis2/services/MTOMSample");
+ // "http://localhost:8081/axis2/services/MTOMSample"
+ );
// Enable MTOM in the client side
serviceStub._getServiceClient().getOptions().setProperty(
Modified: webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/service/MTOMSampleSkeleton.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/service/MTOMSampleSkeleton.java?view=diff&rev=468679&r1=468678&r2=468679
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/service/MTOMSampleSkeleton.java (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/mtom/src/sample/mtom/service/MTOMSampleSkeleton.java Sat Oct 28 04:39:32 2006
@@ -1,8 +1,17 @@
-/**
- * MTOMServiceSkeleton.java
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
*
- * This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.1-SNAPSHOT Oct 19, 2006 (07:04:21 LKT)
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package sample.mtom.service;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org