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 ve...@apache.org on 2005/04/24 17:49:01 UTC
cvs commit: ws-axis/java/src/org/apache/axis/description JavaServiceDesc.java
venkat 2005/04/24 08:49:01
Modified: java/src/org/apache/axis/description JavaServiceDesc.java
Log:
Fix for the issue AXIS-1725. Message style service should be able to recieve javax.xml.soap.SOAPEnvelope as request parameter.
Revision Changes Path
1.26 +5 -3 ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java
Index: JavaServiceDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- JavaServiceDesc.java 21 Apr 2005 19:47:06 -0000 1.25
+++ JavaServiceDesc.java 24 Apr 2005 15:49:01 -0000 1.26
@@ -799,9 +799,11 @@
return OperationDesc.MSG_METHOD_DOCUMENT;
}
} else if (params.length == 2) {
- if ((params[0] == SOAPEnvelope.class) &&
- (params[1] == SOAPEnvelope.class) &&
- (method.getReturnType() == void.class)) {
+ if (((params[0] == SOAPEnvelope.class) &&
+ (params[1] == SOAPEnvelope.class)) ||
+ ((params[0] == javax.xml.soap.SOAPEnvelope.class) &&
+ (params[1] == javax.xml.soap.SOAPEnvelope.class)) &&
+ (method.getReturnType() == void.class)){
return OperationDesc.MSG_METHOD_SOAPENVELOPE;
}
}
Re: cvs commit: ws-axis/java/src/org/apache/axis/description JavaServiceDesc.java
Posted by Davanum Srinivas <da...@gmail.com>.
test case? :)
-- dims
On 24 Apr 2005 15:49:01 -0000, venkat@apache.org <ve...@apache.org> wrote:
> venkat 2005/04/24 08:49:01
>
> Modified: java/src/org/apache/axis/description JavaServiceDesc.java
> Log:
> Fix for the issue AXIS-1725. Message style service should be able to recieve javax.xml.soap.SOAPEnvelope as request parameter.
>
> Revision Changes Path
> 1.26 +5 -3 ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java
>
> Index: JavaServiceDesc.java
> ===================================================================
> RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java,v
> retrieving revision 1.25
> retrieving revision 1.26
> diff -u -r1.25 -r1.26
> --- JavaServiceDesc.java 21 Apr 2005 19:47:06 -0000 1.25
> +++ JavaServiceDesc.java 24 Apr 2005 15:49:01 -0000 1.26
> @@ -799,9 +799,11 @@
> return OperationDesc.MSG_METHOD_DOCUMENT;
> }
> } else if (params.length == 2) {
> - if ((params[0] == SOAPEnvelope.class) &&
> - (params[1] == SOAPEnvelope.class) &&
> - (method.getReturnType() == void.class)) {
> + if (((params[0] == SOAPEnvelope.class) &&
> + (params[1] == SOAPEnvelope.class)) ||
> + ((params[0] == javax.xml.soap.SOAPEnvelope.class) &&
> + (params[1] == javax.xml.soap.SOAPEnvelope.class)) &&
> + (method.getReturnType() == void.class)){
> return OperationDesc.MSG_METHOD_SOAPENVELOPE;
> }
> }
>
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Re: cvs commit: ws-axis/java/src/org/apache/axis/description JavaServiceDesc.java
Posted by Davanum Srinivas <da...@gmail.com>.
test case? :)
-- dims
On 24 Apr 2005 15:49:01 -0000, venkat@apache.org <ve...@apache.org> wrote:
> venkat 2005/04/24 08:49:01
>
> Modified: java/src/org/apache/axis/description JavaServiceDesc.java
> Log:
> Fix for the issue AXIS-1725. Message style service should be able to recieve javax.xml.soap.SOAPEnvelope as request parameter.
>
> Revision Changes Path
> 1.26 +5 -3 ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java
>
> Index: JavaServiceDesc.java
> ===================================================================
> RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java,v
> retrieving revision 1.25
> retrieving revision 1.26
> diff -u -r1.25 -r1.26
> --- JavaServiceDesc.java 21 Apr 2005 19:47:06 -0000 1.25
> +++ JavaServiceDesc.java 24 Apr 2005 15:49:01 -0000 1.26
> @@ -799,9 +799,11 @@
> return OperationDesc.MSG_METHOD_DOCUMENT;
> }
> } else if (params.length == 2) {
> - if ((params[0] == SOAPEnvelope.class) &&
> - (params[1] == SOAPEnvelope.class) &&
> - (method.getReturnType() == void.class)) {
> + if (((params[0] == SOAPEnvelope.class) &&
> + (params[1] == SOAPEnvelope.class)) ||
> + ((params[0] == javax.xml.soap.SOAPEnvelope.class) &&
> + (params[1] == javax.xml.soap.SOAPEnvelope.class)) &&
> + (method.getReturnType() == void.class)){
> return OperationDesc.MSG_METHOD_SOAPENVELOPE;
> }
> }
>
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/