Hi All,

I have solved the problem by overriding the isContentAware() function in my
mediator. This was no there before.

Thanks
AndunSLG

On Thu, Nov 15, 2012 at 10:18 PM, Andun Sameera <an...@wso2.com> wrote:

> After some debugging, I have found the place where the the change of the
> message happens. In the InMediator it has the following code which does
> the change,
>
>            if (contentAware) {
>                 try {
>                     RelayUtils.buildMessage(((Axis2MessageContext)
> synCtx).getAxis2MessageContext(),false);
>                 } catch (Exception e) {
>                     handleException("Error while building message", e,
> synCtx);
>                 }
>             }
>
> Is this the default nature form 4.6.0 ?
>
> Thanks
> AndunSLG
>
> On Thu, Nov 15, 2012 at 9:17 PM, Andun Sameera <an...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have enabled the nio-HTTP transport + the binary relay in the 4.6.0 ESB
>> by changing the default PT transport. But I see the relay is not working.
>> So I debug the code and found that binary relay builder builds the message
>> as usual like  given below,
>>
>>
>> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="
>> http://www.w3.org/2003/05/soap-envelope";><soapenv:Body><ns:binary
>> xmlns:ns="http://ws.apache.org/commons/ns/payload
>> ">PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz48c29hcGVudjpFbnZlbG9wZSB4bWxuczpzb2FwZW52PSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9zb2FwL2VudmVsb3BlLyI+PHNvYXBlbnY6SGVhZGVyIHhtbG5zOndzYT0iaHR0cDovL3d3dy53My5vcmcvMjAwNS8wOC9hZGRyZXNzaW5nIj48d3NhOlRvPmh0dHA6Ly9sb2NhbGhvc3Q6OTAwMC9zZXJ2aWNlcy9TaW1wbGVTdG9ja1F1b3RlU2VydmljZTwvd3NhOlRvPjx3c2E6TWVzc2FnZUlEPnVybjp1dWlkOmVjYzQxZTJiLWE4MTEtNDA2Yi05YzcwLWJjOGRjNzYzZmNhMjwvd3NhOk1lc3NhZ2VJRD48d3NhOkFjdGlvbj51cm46Z2V0UXVvdGU8L3dzYTpBY3Rpb24+PC9zb2FwZW52OkhlYWRlcj48c29hcGVudjpCb2R5PjxtMDpDaGVja1ByaWNlUmVxdWVzdCB4bWxuczptMD0iaHR0cDovL3NlcnZpY2VzLnNhbXBsZXMiPjxtMDpDb2RlPklCTTwvbTA6Q29kZT48L20wOkNoZWNrUHJpY2VSZXF1ZXN0Pjwvc29hcGVudjpCb2R5Pjwvc29hcGVudjpFbnZlbG9wZT4=</ns:binary></soapenv:Body></soapenv:Envelope>
>>
>> But when it comes to a log mediator it shows as follows.
>>
>> To : http://localhost:9000/services/SimpleStockQuoteService
>> WSAction : urn:getQuote
>> SOAPAction : urn:getQuote
>> ReplyTo : http://www.w3.org/2005/08/addressing/anonymous
>> MessageID : urn:uuid:15da20ee-6b83-4b56-9e01-a7faf28f7593
>> Headers :
>> To : http://localhost:9000/services/SimpleStockQuoteService
>>  MessageID : urn:uuid:15da20ee-6b83-4b56-9e01-a7faf28f7593
>> Action : urn:getQuote
>> Body : <soapenv:Body xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/";><m0:CheckPriceRequest
>> xmlns:m0="http://services.samples
>> "><m0:Code>IBM</m0:Code></m0:CheckPriceRequest></soapenv:Body>
>>
>> What has gone wrong here ?
>>
>> Thanks
>> AndunSLG
>>
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to