Hi Lakshan,

On Mon, Oct 3, 2016 at 9:22 AM, Lakshan Gamage <laks...@wso2.com> wrote:

> Hi Sagara,
>
> Yes. I am using sub resources. But I wanted to know whether I can have a
> base URI across several resource Classes for the whole application.
>

ATM we don't have this feature but +1 to implement.

Why don't you try to implement this feature and send a PR ?

Thanks !


>
> Thanks.
>
> On Mon, Oct 3, 2016 at 8:53 AM, Sagara Gunathunga <sag...@wso2.com> wrote:
>
>>
>>
>> On Mon, Oct 3, 2016 at 7:54 AM, Lakshan Gamage <laks...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> Is there a way which I can set an application base URI to msf4j
>>> services? For example, http://localhost:8080/baseUri/resources.
>>> @ApplicationPath annotation is not supported, right?
>>>
>>
>> Can't you use sub-resources for your use case ?
>> https://github.com/wso2/msf4j/blob/master/samples/subresourc
>> e/src/main/java/org/wso2/msf4j/example/Country.java
>>
>> Thanks !
>>
>>>
>>> Thanks.
>>> --
>>>
>>> *Lakshan Gamage*Software Engineering Intern
>>> WSO2 Inc.; http://wso2.com
>>>
>>> *E-mail: laks...@wso2.com <darsh...@wso2.com>*
>>> *Mobile: +94773472649 <%2B94773472649>*Lean . Enterprise . Middleware
>>> <http://wso2.com/signature>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Associate Director / Architect; WSO2, Inc.;  http://wso2.com
>> V.P Apache Web Services;    http://ws.apache.org/
>> Linkedin; http://www.linkedin.com/in/ssagara
>> Blog ;  http://ssagara.blogspot.com
>>
>>
>
>
> --
>
> *Lakshan Gamage*Software Engineering Intern
> WSO2 Inc.; http://wso2.com
>
> *E-mail: laks...@wso2.com <darsh...@wso2.com>*
> *Mobile: +94773472649 <%2B94773472649>*Lean . Enterprise . Middleware
> <http://wso2.com/signature>
>



-- 
Sagara Gunathunga

Associate Director / Architect; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;    http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to