Re: Strus Web Service Enablement

2004-06-04 Thread Pedro Salgado
lify >>> things a bit. >>> >>> I'm hoping to get these thnigs done today and release a .02 package >>> before I leave work today (it's nice when your development server > is >>> down and you can't do any real work until the techs rebuil

Re: Strus Web Service Enablement

2004-06-04 Thread Pedro Salgado
On 04/06/04 15:51, "Frank Zammetti" <[EMAIL PROTECTED]> wrote: > Hmm... If I understand your suggestion correctly, that would require a new > class for any Action you want to expose, correct? That's something I wanted > to avoid. It's good in the sense that no code has to change (config files > d

RE: Strus Web Service Enablement

2004-06-04 Thread Frank Zammetti
; also hope to remove the required actionMappingPath element in the XML > > request... I haven't found a way to get at the requested pat > > information in RequestProcessor yet, but it seems like something that > > should be available at that point, so I probably just have

RE: Strus Web Service Enablement

2004-06-04 Thread Marco Mistroni
gt; information in RequestProcessor yet, but it seems like something that > > should be available at that point, so I probably just have to do some > > digging. > > > > What is AOP by the way? Millions of acronyms out there, I know > > thousands of them, but not th

RE: Strus Web Service Enablement

2004-06-04 Thread Frank Zammetti
... I haven't found a way to get at the requested pat > information in RequestProcessor yet, but it seems like something that > should be available at that point, so I probably just have to do some > digging. > > What is AOP by the way? Millions of acronyms out there, I know >

RE: Strus Web Service Enablement

2004-06-04 Thread salgado.pc
> What is AOP by the way? Millions of acronyms out there, I know > thousands of them, but not that one :) > > Thanks very much for the feedback! > > Frank > >>From: "Marco Mistroni" <[EMAIL PROTECTED]> >>Reply-To: "Struts Users Mailing List

RE: Strus Web Service Enablement

2004-06-03 Thread Frank Zammetti
just curious..how do u pick the ActionForm from request? Each ActionForm has potentially a different name is it a struts trick? Take a look at the webServiceResponse.jsp... The pertinent lines are: ActionConfig mapping = (ActionConfig)request.getAttribute("org.apache.struts.action.mapping.i

RE: Strus Web Service Enablement

2004-06-03 Thread Marco Mistroni
Hello again, >Exactly! Actually...not sure about the template, but when u go via >WS (webservices) all the client is interested is in getting back XML... >The XML generated by you action class as a response... >That's the thing I want to avoid though... I don't want the Actions to be >altered at

RE: Strus Web Service Enablement

2004-06-03 Thread Frank Zammetti
rom: "Marco Mistroni" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: Strus Web Service Enablement Date: Thu, 3 Jun 2004 15:08:24 +0100 Hi,

RE: Strus Web Service Enablement

2004-06-03 Thread Frank Zammetti
Exactly! Actually...not sure about the template, but when u go via WS (webservices) all the client is interested is in getting back XML... The XML generated by you action class as a response... That's the thing I want to avoid though... I don't want the Actions to be altered at all (and the Action

RE: Strus Web Service Enablement

2004-06-03 Thread Marco Mistroni
tionForm can be populated automatically via reflection. Regards marco -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: 03 June 2004 14:53 To: [EMAIL PROTECTED] Subject: RE: Strus Web Service Enablement >Also, I realized on the drive in that there&#x

RE: Strus Web Service Enablement

2004-06-03 Thread Marco Mistroni
Frank >From: "Marco Mistroni" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> >Subject: RE: Strus Web Service Enablement >Date: Thu, 3 Ju

RE: Strus Web Service Enablement

2004-06-03 Thread Frank Zammetti
Also, I realized on the drive in that there's no need to put the parameters as a query string as I'm doing... I can just put the parsed parameters directly into the request object as an attribute. Since only the second pass of a Web Service request would know or care about that object, it will

RE: Strus Web Service Enablement

2004-06-03 Thread Frank Zammetti
h right now I have no clue on how to do it...maybe u or some struts expert which knows inner logic of struts knows? Will AOP help in any way here? Regards marco Extends -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: 03 June 2004 13:33 To: [EMAIL PROTECTED] Subjec

RE: Strus Web Service Enablement

2004-06-03 Thread Marco Mistroni
---Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: 03 June 2004 13:33 To: [EMAIL PROTECTED] Subject: RE: Strus Web Service Enablement I have to be honest and say I've never used a filter except for one situation to do security on the input side, a very basic appli

RE: Strus Web Service Enablement

2004-06-03 Thread Frank Zammetti
ng List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: Strus Web Service Enablement Date: Thu, 3 Jun 2004 10:15:43 +0100 Hi, My 2 cents I think that is a great idea Do u think that using a filter for the respon

RE: Strus Web Service Enablement

2004-06-03 Thread Marco Mistroni
generated XML Into the response.getWriter().write()... I was using axis btw for XML stuff on the serverside) Regards marco -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: 02 June 2004 21:29 To: [EMAIL PROTECTED] Subject: RFC: Strus Web Service Enablement

RFC: Strus Web Service Enablement

2004-06-02 Thread Frank Zammetti
Hello all... I wanted to post this here and get any comments that people had so I could decide where to go with it... For the past two days I've been working on a mechanism that would allow you to expose existing Struts-based business logic as Web Services without changing any existing code. W