Re: Flowscript continuation from external reply: SOLVED!

2006-02-22 Thread Andrew Madu
Derek,Could you perhaps add some sample code to the wiki site to help the next poor bloke that has to attempt this?! as soon as I get a spare moment I will upload all relevant class files and flowscript code to the wiki.regardsAndrew

Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi,I have a flowscript function which passes some variables to an external site. The site will send back a success or failure confirmation based upon the parameters passed. What I want to do next is continue on the from the next point in time after the external site was contacted, so:I want to

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Hi Andrew, first question. When you say "pass variables to an external site" you mean "redirect the user to an external site, like a payment gateway, and then the external site will redirect the user back to me" right? In that case, the redirectTo function does not suspend the current

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi Simone,many thanks for your suggestions.1) Instead of using redirectTo, set up a page with a link to the external site (like a jx page), then use sendPageAndWait to send this page to the user, he will click on the link, go to the external site and all the rest, while your flow will be suspended

Re: Flowscript continuation from external reply

2006-02-21 Thread Jason Johnston
Andrew Madu wrote: Hi Simone, many thanks for your suggestions. 1) Instead of using redirectTo, set up a page with a link to the external site (like a jx page), then use sendPageAndWait to send this page to the user, he will click on the link, go to the external site and all the rest,

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Andrew Madu wrote: Hi Simone, many thanks for your suggestions. You're welcome :) How so? This is what comes back to me: www.mysite.com/continuation-id/value-returned What happens next? How do I get thevalue-returnedinto the if statement following the var bizdata

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi Simone,1) Instead of using redirectTo, set up a page with a link to the external site (like a jx page), then use sendPageAndWait to send this page to the user, he will click on the link, go to the external site and all the rest, while your flow will be suspended until the external site will

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Hi Andrew, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site, and then receive back (thru the user browser) the result of the transaction. This is what i asked in the first few lines of my first answer. If you have to

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi Simone, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site, and then receive back (thru the user browser) the result of the transaction. This is what i asked in the first few lines of my first answer. If you

Re: Flowscript continuation from external reply

2006-02-21 Thread Simone Gianni
Andrew Madu wrote: Hi Simone, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site, and then receive back (thru the user browser) the result of the transaction. This is what i asked in the first few lines of my first

Re: Flowscript continuation from external reply

2006-02-21 Thread Andrew Madu
Hi  Simone,I don't know of any facility for calling webservices directly from inside a flowscript. I think you will have to use any webservice engine/client you need (Axis, of HTTPClient if it's a rest or whatever else) as if you were going to use it inside any other web technology or java

Re: Flowscript continuation from external reply

2006-02-21 Thread Bertrand Delacretaz
Le 21 févr. 06 à 17:57, Andrew Madu a écrit : ...Could you direct me to any documentation on calls to webservices from cocoon within flowscript?.. Have a look at http://wiki.apache.org/cocoon/FlowAndWebServices - dunno how well this works but it might be worth testing. -Bertrand

Re: Flowscript continuation from external reply: SOLVED!

2006-02-21 Thread Andrew Madu
Hi, just to let you know that I have successfully implemented webservice calls to Paypal into my site via flowscript. Andrew Andrew Madu wrote: Hi Simone, I supposed you was not going to call a webservice (which is server to server comunication) but send the user to another site,

Re: Flowscript continuation from external reply: SOLVED!

2006-02-21 Thread Derek Hohls
Andrew Could you perhaps add some sample code to the wiki site to help the next poor bloke that has to attempt this?! Thanks Derek [EMAIL PROTECTED] 2006/02/22 04:41 AM Hi, just to let you know that I have successfully implemented webservice calls to Paypal into my site via flowscript.