On Mon, Sep 3, 2012 at 10:01 AM, Nuwan Wimalasekara <[email protected]> wrote:

> Hi ESB Team,
> due to new validation of a incomming uri(addressing) , the uri can not be
> edited if it is invalid. attached synapse configuration do a mediation to
> append a text to addressing uri protocol.
>
> ex: correct htt://localhost:9000/services/SimpleStockQuoteService  uri
> protocol to http by appending p.
>
> this can not be done due to new validation. Malformed URL exception throws
> when processing addressing uri. is it a expected behavior ?
>
> if it is a expected behavior what is the usage of rewrite mediator.
> because invalid url con not be correct by ESB.
>
> some test cases for rewriterule are failed due to above issue.  need to
> clarify the new validation for addressing uri.
>
> if this validation is correct behavior we can change the test cases.
>
> This happens when we create a java.net.URL  instance out of the incoming
URL. And the rest of the logic is based on the created URL instance.
The most common use case of URL rewrite is not manipulate/modify the
existing valid URL. So, I guess, for the time being, we can modify the test
cases accordingly and keep the new requirement as a new feature for URL
Rewrite Mediator.

> Refer[1] for JIRA
>
> Thanks,
> Nuwanw
>
> [1]. https://wso2.org/jira/browse/ESBJAVA-1277
>
> --
> Nuwan Wimalasekara
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Kasun Indrasiri
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to