You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Saibabu Vallurupalli <sa...@gmail.com> on 2012/12/03 20:31:06 UTC
Access James mails using Web Services
Hi Team,
I have this unique requirement to use Web Service interface for
sending/deleting/querying emails in Apache James. Do we have these
interfaces already available in some module or we need to build?
I will use an email, username and password to perform these operations.
Please advise.
Thanks,
Sai
Re: Access James mails using Web Services
Posted by Saibabu Vallurupalli <sa...@gmail.com>.
Hello Eric,
Thank you for the inputs.
I would like to consider REST + CXF + Spring approach. Keep you all posted
on further developments.
Thank you,
Sai
On Tue, Dec 4, 2012 at 1:34 AM, Eric Charles <er...@apache.org> wrote:
> Hi Sai,
>
> James doesn't have Web Service interfaces (nor WSDL, nor REST), so one has
> to build it (it has been asked a few times, so it would be used for sure).
>
> The first think to do is to define the API (WSDL or REST), a home for that
> module (e.g. james-server-protocols-wsdl or james-server-protocols-rest),
> the frameworks to use (e.g. CXF), build the server class skeleton where you
> will inject the neeed beans (@Resource(name = "mailboxmanager") and
> Resource(name = "mailboxmanager")) and add this server class to the spring
> context (CXF plays nice with Spring).
>
> Thx, Eric
>
>
>
> On 03/12/2012 19:31, Saibabu Vallurupalli wrote:
>
>> Hi Team,
>>
>> I have this unique requirement to use Web Service interface for
>> sending/deleting/querying emails in Apache James. Do we have these
>> interfaces already available in some module or we need to build?
>>
>> I will use an email, username and password to perform these operations.
>>
>> Please advise.
>>
>> Thanks,
>> Sai
>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>
>
Re: Access James mails using Web Services
Posted by Eric Charles <er...@apache.org>.
Hi Sai,
James doesn't have Web Service interfaces (nor WSDL, nor REST), so one
has to build it (it has been asked a few times, so it would be used for
sure).
The first think to do is to define the API (WSDL or REST), a home for
that module (e.g. james-server-protocols-wsdl or
james-server-protocols-rest), the frameworks to use (e.g. CXF), build
the server class skeleton where you will inject the neeed beans
(@Resource(name = "mailboxmanager") and Resource(name =
"mailboxmanager")) and add this server class to the spring context (CXF
plays nice with Spring).
Thx, Eric
On 03/12/2012 19:31, Saibabu Vallurupalli wrote:
> Hi Team,
>
> I have this unique requirement to use Web Service interface for
> sending/deleting/querying emails in Apache James. Do we have these
> interfaces already available in some module or we need to build?
>
> I will use an email, username and password to perform these operations.
>
> Please advise.
>
> Thanks,
> Sai
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org