You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by he...@apache.org on 2005/08/03 14:54:45 UTC
svn commit: r227214 -
/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/RESTCall.java
Author: hemapani
Date: Wed Aug 3 05:54:35 2005
New Revision: 227214
URL: http://svn.apache.org/viewcvs?rev=227214&view=rev
Log:
forget to add the class, checked in
Added:
webservices/axis/trunk/java/modules/core/src/org/apache/axis2/RESTCall.java
Added: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/RESTCall.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/RESTCall.java?rev=227214&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/RESTCall.java (added)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/RESTCall.java Wed Aug 3 05:54:35 2005
@@ -0,0 +1,52 @@
+/*
+ * 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 org.apache.axis2.clientapi;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.AxisFault;
+import org.apache.axis2.context.ServiceContext;
+
+
+public class RESTCall extends Call {
+
+ public RESTCall() throws AxisFault {
+ super();
+ }
+
+ public RESTCall(ServiceContext service) throws AxisFault {
+ super(service);
+ }
+
+ public OMElement invokeBlocking()
+ throws AxisFault {
+ return super.invokeBlocking(
+ "nothing",
+ OMAbstractFactory.getOMFactory().createOMElement(
+ "nothing", "nothing", "nothing"));
+
+ }
+
+ public void invokeNonBlocking(Callback callback)
+ throws AxisFault {
+ super.invokeNonBlocking(
+ "nothing",
+ OMAbstractFactory.getOMFactory().createOMElement(
+ "nothing", "nothing", "nothing"), callback);
+
+ }
+}