Hello all!

I have a Stripes-based web application, and I need to interact with it
through web services.

I would like to be able to map some web services requests into calls
to my existing action beans.

The idea is to be able to reuse all the logic already implemented
within the action beans, when handling incoming http requests, for
creating/updating/accessing some entities.


Unfortunately, I'm not sure of how to link the web service endpoint,
in my web app, to the action bean, in the same app.
Indeed, all the existing logic in the action bean is meant to handle
(external) http requests.

Initially, I thought about using some mechanism similar to the stripes
mock facilities (MockRoundTrip in particular) from the web service
endpoint.Unfortunately it seems that existing mocks are not reusable
for such a goal..


What do you think would be the best way to achieve interaction between
a web service endpoint and some of my action beans:
- generating an http request and injecting it into the application?
- directly calling the action bean through some mechanism similar to
the MockRoundTrip facility?
- is all of this senseless and should I look into a different direction?


Thanks a lot for any suggestions!

Regards,

Matt

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to