On Mon, Oct 25, 2010 at 12:17 PM, Amila Suriarachchi <[email protected]> wrote:
> I fixed and test with axis2. please have a look at with BAM. > Sure, will check and let you know. Regards, Shankar > > thanks, > Amila. > > > On Sun, Oct 24, 2010 at 5:10 PM, Amila Suriarachchi <[email protected]>wrote: > >> I'll have a look. >> >> thanks, >> Amila. >> >> On Sat, Oct 23, 2010 at 12:46 PM, Selvaratnam Uthaiyashankar < >> [email protected]> wrote: >> >>> Hi Amila, >>> >>> This has broken local transport. Can you have a look? >>> >>> Regards, >>> Shankar >>> >>> >>> ---------- Forwarded message ---------- >>> From: <[email protected]> >>> Date: Wed, Oct 20, 2010 at 5:11 PM >>> Subject: [Carbon-commits] [Carbon] svn commit r75971 - >>> branches/carbon/3.1.0/dependencies/axis2/modules/transport/local/src/org/apache/axis2/transport/local >>> To: [email protected] >>> >>> >>> Author: amila >>> Date: Wed Oct 20 04:41:20 2010 >>> New Revision: 75971 >>> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=75971 >>> >>> Log: >>> we need to set the IN stream only if the response has written >>> >>> >>> Modified: >>> >>> branches/carbon/3.1.0/dependencies/axis2/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportSender.java >>> >>> Modified: >>> branches/carbon/3.1.0/dependencies/axis2/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportSender.java >>> URL: >>> http://wso2.org/svn/browse/wso2/branches/carbon/3.1.0/dependencies/axis2/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportSender.java?rev=75971&r1=75970&r2=75971&view=diff >>> >>> ============================================================================== >>> --- >>> branches/carbon/3.1.0/dependencies/axis2/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportSender.java >>> (original) >>> +++ >>> branches/carbon/3.1.0/dependencies/axis2/modules/transport/local/src/org/apache/axis2/transport/local/LocalTransportSender.java >>> Wed Oct 20 04:41:20 2010 >>> @@ -90,7 +90,6 @@ >>> } >>> >>> TransportUtils.setResponseWritten(msgContext, true); >>> - >>> return InvocationResponse.CONTINUE; >>> } >>> >>> @@ -105,8 +104,10 @@ >>> >>> in.close(); >>> out.close(); >>> - in = new ByteArrayInputStream(response.toByteArray()); >>> - msgContext.setProperty(MessageContext.TRANSPORT_IN, in); >>> + if (TransportUtils.isResponseWritten(msgContext)) { >>> + in = new ByteArrayInputStream(response.toByteArray()); >>> + msgContext.setProperty(MessageContext.TRANSPORT_IN, in); >>> + } >>> } catch (IOException e) { >>> throw AxisFault.makeFault(e); >>> } >>> >>> _______________________________________________ >>> Carbon-commits mailing list >>> [email protected] >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits >>> >>> >>> >>> -- >>> S.Uthaiyashankar >>> Senior Architect & Senior Manager >>> WSO2 Inc. >>> http://wso2.com/ - "lean . enterprise . middleware" >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- S.Uthaiyashankar Senior Architect & Senior Manager WSO2 Inc. http://wso2.com/ - "lean . enterprise . middleware"
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
