• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to programmatically send a form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to programmatically send a form


  • Subject: Re: How to programmatically send a form
  • From: Kieran Kelleher <email@hidden>
  • Date: Thu, 19 Jan 2006 14:39:23 -0500

Using HttpsURLConnection is a bottleneck. If you only have one user, then fine, if a few charge cards at the same time, it will bottleneck. I have never done it the easy way (I'm a glutton for punishment! ;-), but AFAIK, the most common way for the easy way out is to let the provider provide the form and handle the user interaction inside a frame of one of your pages.

Usually your provider will give you instructions specific to sending a user to their credit card page where the user fills in the details and processes the payment.

For example if you go to this page on this site and right-click on the actual form and open in a new window, you will see that the form is really a page on the credit card provider's site shown inside a html frame on the originating site.
http://www.loacademy.com/OrderProduct.asp (not my site ... I don't do asp dev!)


Did your bank provider provide you with a development kit/manual?

On Jan 19, 2006, at 12:26 PM, Dev WO wrote:

Hi Kieran,
thanks for the link and your blog;)
If I'm not that expert in WO and java programming, would you say I should go for the HttpsURLConnection or I could stick with your example and go for the HttpClient library from Apache?
What would be the method to provide another page than the WO application, like sending the user to the bank website? I've never done something like that...


Thanks for your help

Xavier



This might help.....
http://homepage.mac.com/kelleherk/iblog/C149402102/E773353034/ index.html


And for multi-threading management, I like this free library........
http://www.forward.com.au/javaProgramming/threadReturnsPackage/ ToCatchAThread.html


Regards, Kieran

On Jan 18, 2006, at 3:35 PM, Dev WO wrote:

After digging a little more with the information provided by the bank, it appears I have the following:
-a method to create the form which uses htmlEncode() to convert the characters and provide me with a String of the form


So I only have one question (for now;)): how to make my WO action call the form created and "execute it" by returning the url specified as the "action" in this form?

Thanks:)

Xavier



Hi guys,
I need to send a form using a WO action, I also have to use "post" for it.
Of course I have to send a couple values with it;) The action of this from has to send my visitor to another website (url).
Yes it's online payment;)


I think it's not a big deal, but I don't really know where to start, and how to do it, especially using a "post" action...

Could someone point me to a tutorial or a sample so I could get started?

One more thing regarding this, the bank requires me to encode everything in the form like "://" would become "&#x3a;&#x2f;&#x2f;", is there something in WO that can do it or should I pass the strings to a custom method that would convert all the characters?

Thanks a lot

Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden





_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to programmatically send a form
      • From: Dev WO <email@hidden>
References: 
 >How to programmatically send a form (From: Dev WO <email@hidden>)
 >Re: How to programmatically send a form (From: Dev WO <email@hidden>)
 >Re: How to programmatically send a form (From: Kieran Kelleher <email@hidden>)
 >Re: How to programmatically send a form (From: Dev WO <email@hidden>)

  • Prev by Date: Re: WebServices Sample Code Location ?
  • Next by Date: Re: Rss feeds
  • Previous by thread: Re: How to programmatically send a form
  • Next by thread: Re: How to programmatically send a form
  • Index(es):
    • Date
    • Thread