axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r153989 - in webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis: clientapi/Call.java engine/AxisEngine.java providers/RawXMLProvider.java
Date Wed, 16 Feb 2005 04:43:24 GMT
Author: hemapani
Date: Tue Feb 15 20:43:21 2005
New Revision: 153989

URL: http://svn.apache.org/viewcvs?view=rev&rev=153989
Log:
claen up the code

Modified:
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java
    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/providers/RawXMLProvider.java

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java?view=diff&r1=153988&r2=153989
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
(original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/clientapi/Call.java
Tue Feb 15 20:43:21 2005
@@ -215,6 +215,7 @@
             } else {
                 //TODO
                 //start the Listener at the client side
+                throw new UnsupportedOperationException("Unblocking transports are not supported
yet");
 
             }
         } catch (OMException e) {

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java?view=diff&r1=153988&r2=153989
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java
(original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/engine/AxisEngine.java
Tue Feb 15 20:43:21 2005
@@ -84,14 +84,13 @@
         boolean serverSide = context.isServerSide();
         log.error("Error Ocurred", e);
         if (serverSide && !context.isProcessingFault()) {
-            AxisService service = context.getService();
             context.setProcessingFault(true);
             
             //create a SOAP envelope with the Fault
             SOAPEnvelope envelope =
                     OMFactory.newInstance().getDefaultEnvelope();
             //TODO do we need to set old Headers back?
-            envelope.getBody().addFault(new AxisFault("", e));
+            envelope.getBody().addFault(new AxisFault(e.getMessage(), e));
             context.setEnvelope(envelope);
             //send the error
             executeOutFlow(context, EngineRegistry.FAULTFLOW);

Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/providers/RawXMLProvider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/providers/RawXMLProvider.java?view=diff&r1=153988&r2=153989
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/providers/RawXMLProvider.java
(original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/providers/RawXMLProvider.java
Tue Feb 15 20:43:21 2005
@@ -36,10 +36,8 @@
  * This is a Simple java Provider.
  */
 
-public class RawXMLProvider extends AbstractProvider implements Provider {
+public class RawXMLProvider extends AbstractProvider implements Provider {    
     protected Log log = LogFactory.getLog(getClass());
-
-    private String message;
     private String scope;
     private Method method;
     private ClassLoader classLoader;
@@ -124,6 +122,5 @@
     }
 
     public void revoke(MessageContext msgContext) {
-        log.info("I am Speaking Provider revoking :)");
     }
 }



Mime
View raw message