axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r500224 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2: i18n/resource.properties receivers/RawXMLINOnlyMessageReceiver.java receivers/RawXMLINOutAsyncMessageReceiver.java receivers/RawXMLINOutMessageReceiver.java
Date Fri, 26 Jan 2007 11:26:35 GMT
Author: deepal
Date: Fri Jan 26 03:26:30 2007
New Revision: 500224

URL: http://svn.apache.org/viewvc?view=rev&rev=500224
Log:
fixed AXIS2-1953

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOnlyMessageReceiver.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutMessageReceiver.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties?view=diff&rev=500224&r1=500223&r2=500224
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/i18n/resource.properties
Fri Jan 26 03:26:30 2007
@@ -64,7 +64,7 @@
 rawXmlProviderIsLimited=The XML provider supports only the methods that contain the public
OMElement <method-name>(OMElement) signature where the method-name variable
can be any value.
 methodNotImplemented=The implementation class does not define a method called
 methodDoesNotExistInOut=The ServiceClass object does not implement the required method in
the following form: OMElement {0}(OMElement e)
-methodDoesNotExistInOnly=The ServiceClass object does not implement the required method in
the following form: void {0}(OMElement e)
+methodDoesNotExistInOnly=RawXMLMessageReceiver can not handle this scenario since ServiceClass
has implemented to take Non OMElement as method arguments.
 implReturnedNull=The implementation class returned a null value.
 invalidMethodName=The {0} method name is not valid for the service implementation class.
 blockInvocationExpectsRes=The blocking invocation does not contain a response.

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOnlyMessageReceiver.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOnlyMessageReceiver.java?view=diff&rev=500224&r1=500223&r2=500224
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOnlyMessageReceiver.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOnlyMessageReceiver.java
Fri Jan 26 03:26:30 2007
@@ -79,8 +79,7 @@
                 method.invoke(
                         obj, new Object[]{msgContext.getEnvelope().getBody().getFirstElement()});
             } else {
-                throw new AxisFault(Messages.getMessage("methodDoesNotExistInOnly",
-                        op.getName().toString()));
+                throw new AxisFault(Messages.getMessage("methodDoesNotExistInOnly"));
             }
 
         } catch (Exception e) {

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java?view=diff&rev=500224&r1=500223&r2=500224
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutAsyncMessageReceiver.java
Fri Jan 26 03:26:30 2007
@@ -94,8 +94,7 @@
                 newmsgContext.setEnvelope(envelope);
 
             } else {
-                throw new AxisFault(Messages.getMessage("methodDoesNotExistInOut",
-                        opDesc.getName().toString()));
+                throw new AxisFault(Messages.getMessage("methodDoesNotExistInOut"));
             }
         } catch (Exception e) {
             throw AxisFault.makeFault(e);

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutMessageReceiver.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutMessageReceiver.java?view=diff&rev=500224&r1=500223&r2=500224
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutMessageReceiver.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/receivers/RawXMLINOutMessageReceiver.java
Fri Jan 26 03:26:30 2007
@@ -96,8 +96,7 @@
                 newmsgContext.setEnvelope(envelope);
 
             } else {
-                throw new AxisFault(Messages.getMessage("methodDoesNotExistInOut",
-                        opDesc.getName().toString()));
+                throw new AxisFault(Messages.getMessage("methodDoesNotExistInOut"));
             }
         } catch (Exception e) {
             throw AxisFault.makeFault(e);



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


Mime
View raw message