Re: [Dev] Carbon Commit Required.

2014-08-12 Thread Malaka Silva
Hi Shameera,

Pull request added to jira [1].

Please merge.

[1] https://wso2.org/jira/browse/CARBON-14910

Best Regards,
Malaka


On Mon, Aug 11, 2014 at 4:20 PM, Malaka Silva mal...@wso2.com wrote:

 thx


 On Mon, Aug 11, 2014 at 4:06 PM, Shameera Rathnayaka shame...@wso2.com
 wrote:

 Hi Malaka,

 Done , Committed revision 206456. In order to resolve this issue you need
 to send a pull request to relevant git repo.

 ~Shameera.


 On Mon, Aug 11, 2014 at 3:29 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Please commit the diff attached with [1]

 [1] https://wso2.org/jira/browse/CARBON-14910

 Thank you.

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print
 this email only if it is absolutely necessary.




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
 shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R




 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon Commit Required.

2014-08-11 Thread Shameera Rathnayaka
Hi Malaka,

Done , Committed revision 206456. In order to resolve this issue you need
to send a pull request to relevant git repo.

~Shameera.


On Mon, Aug 11, 2014 at 3:29 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Please commit the diff attached with [1]

 [1] https://wso2.org/jira/browse/CARBON-14910

 Thank you.

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
shame...@apache.org*
*phone:  +9471 922 1454*

*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon Commit Required.

2014-08-11 Thread Malaka Silva
thx


On Mon, Aug 11, 2014 at 4:06 PM, Shameera Rathnayaka shame...@wso2.com
wrote:

 Hi Malaka,

 Done , Committed revision 206456. In order to resolve this issue you need
 to send a pull request to relevant git repo.

 ~Shameera.


 On Mon, Aug 11, 2014 at 3:29 PM, Malaka Silva mal...@wso2.com wrote:

 Hi Carbon Team,

 Please commit the diff attached with [1]

 [1] https://wso2.org/jira/browse/CARBON-14910

 Thank you.

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT apache.org
 shame...@apache.org*
 *phone:  +9471 922 1454 %2B9471%20922%201454*

 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon Commit Required

2014-07-23 Thread Malaka Silva
Find the diff with latest revision


On Thu, Jul 24, 2014 at 10:50 AM, Malaka Silva mal...@wso2.com wrote:

 Hi,

 Please review and commit the attached patch(axis2.diff)

 Related jira: https://wso2.org/jira/browse/ESBJAVA-3178

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
Index: 
dependencies/axis2/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
===
--- 
dependencies/axis2/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
   (revision 205986)
+++ 
dependencies/axis2/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
   (working copy)
@@ -41,6 +41,7 @@
 
 import java.io.IOException;
 import java.net.URL;
+import java.util.Set;
 
 public class HTTPSender extends AbstractHTTPSender {
 
@@ -266,6 +267,7 @@
 int statusCode = method.getStatusCode();
 HTTPStatusCodeFamily family = getHTTPStatusCodeFamily(statusCode);
 log.trace(Handling response -  + statusCode);
+SetIntegernonErrorCodes = (SetInteger) 
msgContext.getProperty(non.error.http.status.codes); // Fixing ESBJAVA-3178   
 
 if (statusCode == HttpStatus.SC_ACCEPTED) {
/* When an HTTP 202 Accepted code has been received, this will 
be the case of an execution 
 * of an in-only operation. In such a scenario, the HTTP 
response headers should be returned,
@@ -305,6 +307,10 @@
  String.valueOf(statusCode),
  method.getStatusText()));
 }
+} else if (nonErrorCodes != null  
nonErrorCodes.contains(statusCode)) {
+msgContext.setProperty(HTTPConstants.HTTP_METHOD, method);
+processResponse(method, msgContext);
+return;
 } else {
 // Since we don't process the response, we must release the 
connection immediately
 method.releaseConnection();
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev