On Sun, 2002-08-11 at 22:53, scott benninghoff wrote:
> Has anybody used Webkit to manage Server to Server communications like
> processing payments via PayPal? They have a Service called IPN (Instant
> payment Notification) that sends a POST request to a defined URL. Your
> supposed to reply to the POST with another POST back to their server.
> The communcations goes back and forth about 3 times. I tried to POST
> the request to their server but all I get is:
> AssertionError: urlPath='https://www.paypal.com/cgi-bin/LoginPage
> I'm fairly new to Web Development and could use some help.
> I think I have figured out that just using Python's web objects I can
> handle the comm's but I would like to stick with WebWare.
When communicating with another server, you *should* use Python's normal
techniques (urllib, httplib, etc). Webware doesn't contain any specific
code to handle that sort of operation -- in general, Webware doesn't
recreate code that already is available in Python.
I assume you were using something like urlForward -- that's only meant
to be used to redirect from one servlet to another.