Hi,
I applied the above patches and the requests with HTTP PATCH method work
well now.
But now I get a new exception for the requests in which a JSON payload is
used (inside the script mediator with language="js"):

com.sun.phobos.script.util.ExtendedScriptException:
org.mozilla.javascript.EcmaError: ReferenceError: "JSON" is not defined.

Note that these methods worked fine *before *applying the patch. Any
suggestions?


On Mon, Apr 21, 2014 at 10:38 AM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Kasun,
>
> It's already done.
>
> https://wso2.org/jira/browse/ESBJAVA-3051
> https://wso2.org/jira/browse/ESBJAVA-3061
>
> Best Regards,
> Malaka
>
>
> On Mon, Apr 21, 2014 at 10:23 AM, Kasun Indrasiri <ka...@wso2.com> wrote:
>
>> Have we committed this in to trunk? If not please do so.
>>
>>
>> On Mon, Apr 21, 2014 at 10:21 AM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Mahawa,
>>>
>>> Currently it's not supported. It'll be available with the next release.
>>> ESB 4.9.0
>>>
>>> But there is a patch for this.
>>>
>>> Best Regards,
>>> Malaka
>>>
>>>
>>> On Mon, Apr 21, 2014 at 10:13 AM, Madhawa Bandara <madh...@wso2.com>wrote:
>>>
>>>> Hi,
>>>> Does the ESB 4.8.1 support the HTTP patch method?
>>>> When I make a http patch request, it is shown as an HTTP POST on the
>>>> wire.
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> *Madhawa Bandara*
>>>> Software Engineer
>>>> WSO2, Inc.
>>>> lean.enterprise.middleware
>>>>
>>>> Mobile - *+94777487726 <%2B94777487726>*
>>>> Blog* - *classdeffound.blogspot.com
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> 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
>>>
>>>
>>
>>
>> --
>> Kasun Indrasiri
>> Software Architect
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 77 556 5206
>> Blog : http://kasunpanorama.blogspot.com/
>>
>
>
>
> --
>
> 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.
>



-- 
Regards,

*Madhawa Bandara*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777487726*
Blog* - *classdeffound.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to