Re: WOHTTPConnection & WORequest

2006-07-28 Thread David Griffith
[EMAIL PROTECTED] wrote: Subject: Re: WOHTTPConnection & WORequest To: "Jerry W. Walker" <[EMAIL PROTECTED]> Hi Jerry, Well, I have no control over the other website. What I need to do is this: In my own WO App, I have a page which displays some information from th

Re: WOHTTPConnection & WORequest

2006-07-28 Thread Robert Walker
David,If you are interested send me a request "off-list" and I can provide you with example code that does exactly what your are trying to do.  My sample code uses some Apache commons libraries, to make it more flexible, and to provide support for submitting the request to secured (SSL, TLS) forms.

Re: WOHTTPConnection & WORequest

2006-07-28 Thread Alex Cone
the form values in the request that is sent... The 'content' part is the bit I can't figure out. Regards, David. On 27 Jul 2006, at 20:00, Alex Cone wrote: On Jul 27, 2006, at 12:44 PM, webobjects-dev- [EMAIL PROTECTED] wrote: Subject: Re: WOHTTPConnection & WORequest T

Re: WOHTTPConnection & WORequest

2006-07-28 Thread David Griffith
Great, sounds like the same idea as Robert... I'll look into it and hopefully have success! Thanks for all the helpful replies.. Regards, David. On 27 Jul 2006, at 21:25, Kieran Kelleher wrote: David, I use Apache's HttpClient class for this. Here is an old article I wrote on it: http://

Re: WOHTTPConnection & WORequest

2006-07-28 Thread David Griffith
ts-dev- [EMAIL PROTECTED] wrote: Subject: Re: WOHTTPConnection & WORequest To: "Jerry W. Walker" <[EMAIL PROTECTED]> Hi Jerry, Well, I have no control over the other website. What I need to do is this: In my own WO App, I have a page which displays some information from t

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Kieran Kelleher
David, I use Apache's HttpClient class for this. Here is an old article I wrote on it: http://homepage.mac.com/kelleherk/iblog/C149402102/E773353034/index.html HTH, Kieran On Jul 27, 2006, at 7:36 AM, David Griffith wrote: Hi all, I want to allow a user to enter details into a HTML Form

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Alex Cone
On Jul 27, 2006, at 12:44 PM, [EMAIL PROTECTED] wrote: Subject: Re: WOHTTPConnection & WORequest To: "Jerry W. Walker" <[EMAIL PROTECTED]> Hi Jerry, Well, I have no control over the other website. What I need to do is this: In my own WO App, I have a page which displ

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Jerry W. Walker
Hi, David, From the responses to your last post to this list, it sounds like Robert Walker has what you're looking for. I'll back out of the loop unless his code isn't what you're looking for. Though, since he's from the Walker clan, I don't see how it could fail to satisfy. :-) Regards,

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Robert Walker
David,If you are interested send me a request "off-list" and I can provide you with example code that does exactly what your are trying to do.  My sample code uses some Apache commons libraries, to make it more flexible, and to provide support for submitting the request to secured (SSL, TLS) forms.

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Patrick Middleton
On 27 Jul 2006, at 17:43, David Griffith wrote: Hi Jerry, Well, I have no control over the other website. What I need to do is this: In my own WO App, I have a page which displays some information from the database about a domain name and who it is associated with. I would like to hav

Re: WOHTTPConnection & WORequest

2006-07-27 Thread David Griffith
Hi Jerry, Well, I have no control over the other website. What I need to do is this: In my own WO App, I have a page which displays some information from the database about a domain name and who it is associated with. I would like to have a button on that page that can be clicked which

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Jerry W. Walker
Hi, David, Whew! If I understand you correctly, I'm not sure that's doable, and if it is, would require a greater network knowledge than my own. So, here's your requirement as I infer it: From a WebObjects application at www.xxx.com, you created and sent out a response to John Smith's br

Re: WOHTTPConnection & WORequest

2006-07-27 Thread David Griffith
Hi Jerry, Thanks for the detailed response. Actually I am already aware of all of this and no I don't find the answer patronising as it is great to see someone answer any question in such detail! However, what I am trying to do is this: On a WOComponent that already exists and contains a

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Jerry W. Walker
Hi, David, Are you asking how to submit a form to a WOApplication from one of its WOComponents? Or are you asking for something much more involved? If your question is the former, then do the following: * Create a WOForm in your WOComponent. * Embed all the WOForm elements that take for

Re: WOHTTPConnection & WORequest

2006-07-27 Thread David Griffith
Hi Paul, Because ultimately I will be submitting values that are already part of the WO app and will be parsing the response to get the various values I need. I do not want the user to see the actual response page, only the pieces that I will extract from the response. Kind regards, Davi

Re: WOHTTPConnection & WORequest

2006-07-27 Thread Paul Suh
On Jul 27, 2006, at 7:36 AM, David Griffith wrote: Hi all, I want to allow a user to enter details into a HTML Form (in a WOComponent) and when they click the Submit button, I would like to open a connection to a standard HTTP server with a specific URL and pass it the form values that the

WOHTTPConnection & WORequest

2006-07-27 Thread David Griffith
Hi all, I want to allow a user to enter details into a HTML Form (in a WOComponent) and when they click the Submit button, I would like to open a connection to a standard HTTP server with a specific URL and pass it the form values that the user entered. Can someone tell me an easy way to