Online Chapter on using Web-based Services

Dear All,
I just added a new chapter to my ["Killer Game Programming in Java"|http://fivedots.coe.psu.ac.th/~ad/jg/] website. It's about programming techniques for writing standalone programs that employ Web-based service APIs for searching Google, Amazon, eBay, and Yahoo.
As a test-bed, I've implemented an application which sends a book title to a service, and gets back a PNG image of the book's cover. I've written five versions: one each for Google, Amazon, and eBay, and two aimed at Yahoo.
It's chapter 33 "Using Web Service APIs", located in the "Networking" section, about 2/3 of the way down the page.
Your comments are appreciated.
- Andrew
Edited by: AndrewDavison on Jun 30, 2009 2:39 AM

rukbat wrote:
kajbj wrote:
Your comments are appreciated.Please don't post unsolicited announcements in these forums.
Kaj
Yes, I've seen that, but they are old, and I don't want to resurrect them.

Similar Messages

  • Firefox 4 will not accept a web based service "Silverlight" that I downloaded after updating to Firefox 4. I need this on-line access to pay taxes to the State of AR

    The AR Dept. of Finance requires that a taxpayer download a web-based service that allows taxpayers online access to their tax accounts. I cannot get "Silverlight" to work with Firefox 4
    ''locking as a dupe - https://support.mozilla.com/en-US/questions/776855 ''

    ''I have it downloaded''
    ....You also have to run the downloaded Silverlight.exe file to install Silverlight. Open the Firefox [[Downloads window]] (via Tools -> Downloads") , right-click on the Silverlight.exe download entry and select "Open containing folder" to find the downloaded file, then close Firefox and double-click the exe file to start the installation.
    See also [[Using the Silverlight plugin with Firefox]] and http://www.microsoft.com/getsilverlight/get-started/install/default.aspx for help downloading and installing Silverlight.

  • How can I video chat with someone who uses web based yahoo?

    Not long ago I purchased my first Mac (New MacBook Pro 2.53GHZ); last Summer I also purchased a MacBook Pro for my daughter. Everything works great (like driving a formula one Porsche after grappling with a battered pick-up truck (meaning Windows) for many decades; cannot imagine ever going back. But, there is one issue that I have not been able to solve and for which I would greatly appreciate any suggestions or advice. I am familiar with ichat and with AIM (my daughter uses it all the time). However, the vast majority of people with whom I communicate via IM live in parts of the world where very few people have even a computer at home much less residential internet access. As a result, near all of the folks I would be chatting with have to use public computers (internet cafes, libraries, etc) and obviously they cannot install AIM or anything else on those public computers. About 90% of them use the web based yahoo messenger which can be accessed from any computer with an internet connection (most of the rest use MSN). My question is this: I know how to do video chat in ichat but ichat does not support yahoo. How can I do video chat with someone who is using web based yahoo on a public computer that has a USB web cam? I was able to do this on my old PC which had a plug in web cam but do not know how it might work on a Mac. Should I install yahoo messenger on my MacBook Pro and will that work for me?. I know about some other Mac compatible chat clients such as Admiun but as far as I can tell none of them support video chat or in some cases yahoo. Perhaps I am overlooking something. I would be very grateful for any suggestions or advice in this matter. Thanks to anyone who reads this post and has any helpful info.

    Zurich,
    I don't think the web-based Yahoo Messenger supports video, so nothing you can do with that.
    http://messenger.yahoo.com/features/
    I think there are Mac compatible MSN clients that will do video, (i.e. aMSN) Also, Microsoft plans on releasing an updated version of Messenger for Mac soon.
    http://www.officeformac.com/blog/An-Update-on-Messenger-for-Mac
    GoogleTalk does have a browser based video chat, but your friends would need to install a browser plug-in. (which I would assume that can't do either)
    The best option is Skype, but also requires an install on their end (I would think that the internet cafes would/should have this available)
    Good Luck,
    Double_A

  • I am unable to use Web based Note Editor in my Ipad

    I am unable to use web based note editor in my ipad whereas it is working in my Mac Book and Iphone. Can u plz help?

    So are you saying that when you go to the same web page as them, your browser shows something different to what their browser shows them ?  Can you literally email one URL back and forth and get different results, or is the URL different for different users ?
    Do you have to log in to anything on the web server to get to that point ?  Might it be that your account doesn't have the same access their account has ?
    Can you try letting them use your iPad temporarily and see whether it continues to work for them ?

  • Submit form using web based email service

    I regularly get sent forms by my printers which I fill in to approve print jobs. There's a submit button the forms which has always nicely opened up Mail (Mac OS X) in order to send a data file that the sender can read. However, I've just recently started using a different email client (Postbox) and I get this error from Adobe Acrobat...
    The SendMail doesn't know how to talk to your default mail client.  Please select a different mail application to use.
    I can't find a way to change the settings though. I used to be given the option between sending via a desktop or web based email service but a while ago I ticked the box to 'not show this message again'.
    Anyone got any ideas how I can maybe use Gmail or similar to send these forms?
    Cheers,
    Jon

    Dear Frances,
    The "Submit by Email" button enables to submit your form data in two modes.
    1) Default Email Application (MS Outlook)
    2) Use Webmail
    You can use option 2 to submit form data through Webmail.
    Thanks,
    VJ

  • Automating a process through VBA using web-based tool PMD

    I'm currently trying to automate a process of extracting information from PMD into an excel (or access if necessary) spreadsheet by using VBA in Microsoft Excel. So far i haven't found a way of communicating through VBA code with PMD. In our company's SAP there is a recorder that creates a code to simply copy into VBA but with PMD being a purely web-based tool there are not any options "clearly" available.
    Does anyone know of a script-recorder, or just any method, to include PMD processes within VBA? I'm stumped..

    I'm new to the community and I just realized I may have posted this in the wrong place. Still, any help would be great.

  • IPhone 5 unable to connect to internet or use web-based apps like Facebook or Tumblr

    About two days ago, shortly after using my iPhone 5 to upload a picture of my son eating a donut to Facebook, I seem to have lost all ability to connect to the internet or update content on web-based apps like Facebook or Tumblr.  I tried to restore my iPhone in iTunes on my computer but could not do that without first turning of "Find My iPhone," in the iCloud section of my settings.  When asked to enter my password to turn off this feature the phone is "unable to connect to iCloud."  It doesn't seem to matter if I'm connected to WiFi or using my cell data - I'm getting a strong signal in either case, but the phone is unable to connect to anything.  I CAN make phone calls and send texts but that's just about it.
    I recently updated to IOS 8.1.1 but it worked fine for several days before this problem started.  Any ideas?

    I reset my network settings (Settings > General > Reset > Reset Network Settings) and rejoined my network, and that seemed to fix it. Apps are working on wifi and on data, and I can once again send imessages. Since I couldn't find a similar post very easily, I wanted to post this for whoever needs help with this problem ;D

  • Example of using Message Based Services - Cross group link status

    Please, somebody can give me an example of how to Obtain notification of cross-group
    Links Established and Lost.
    My problem is: I have one BMQ host connected to 5 others BMQ hosts and many messages
    exchanged between this hosts and one of my application must know when link is Ok
    and when link is not Ok. Based on this information the application will decide what
    to do.
    Thanks for your help.
    Best Regards,
    Luis Roberto.

    Hey YYY,
    I took a look at your code that uses NI-RFSG with your NI-5672 (5610+5442).  The original USRP transmit code had to be architected using queues to stream the new samples to the USRP to write each time because there is no onboard memory on the USRP.  Since you are using an arb with onboard memory, you don't necessarily have to do this.  If you want to keep the queues in the code, you should set up the RFSG portion to look like a streaming application.  There is an RFSG example called RFSG Arbitrary Waveform Streaming.vi that is a good place to start to see how the driver is set up.  It is a more complex driver than the USRP and has a few extra steps.  For example, you need to have a call to niRFSG Initialize.vi, regardless of whether you are doing streaming or not.  If you choose to write all of the data to your arb before sending it out, RFSG Arbitrary Waveform Generation.vi is a good place to start.
    I'm not entirely sure why your USRP isn't working with the 5672.  Can you provide more details?  Are you getting an error from the USRP?  How do you have the USRP connected to the VSG?  Make sure you have an attenuator in the path if you aren't using 2 antennas, it is easy to damage the USRP by putting in too much power.  You are using the RFSG soft front panel 1.9, correct?  I have used a USRP with RFSG on numerous occasions and not had an issue, so the more details you can provide the easier it will be to troubleshoot.
    I don't have the equipment to set up your code and test it out unfortunately.  I was going to recommend you post to the RF measurement devices forum, but it looks like you have already done that.  Hopefully this information will at least be a starting point to get your system running.
    Sarah Y
    SDR Product Manager
    National Instruments | Ettus Research

  • Web based services

    i am trying to set up webservices and it says i need to enter a proxy address, where can i find this?

    Hi mmac45,
    Locating your proxy would depend on the computer operating system you have. Do you have a proxy that you would have needed to setup your internet? Do you have a Windows PC?
    This could also be a false network error, that is fairly simple to resolve.  I can be more specific if you not only answer the two questions above, but also post what printer you are working with.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Is it possible to disable all web based features when no wifi is available?

    I'm interested in buying a Firefox phone but I only what to use web based services when a wifi connection is given because my cell phone contract does not cover internet usage properly. Is this possible?

    No, not really.  I can't take you up on your advice and use delegates.  The use case excludes PC all together - there is no computer nearby to be used.  In my case they need to make and receive phone calls, be able to transfer calls, and have
    a voice mail feature.  Lync Edition device does not accommodate this use case well.  Here are the issues so far.
    1. You can't transfer calls unless phone is unlocked.  There is a way to change that trough policy, but the phone lock policy works on per site basis.  On a small deployment like ours with a single site this means phone lock for everyone or no
    one. 
    2. Phone shows error about "Exchange integration" as we discussed above.  Due to interface design choices this means that "menu" button is obscured form view.  That makes it impossible for uninformed user to transfer a call.
    Here is the bottom line the way I see it: the Lync Edition Phone is great for an office (cubical farm) environment, but when time comes to deal with special use cases the assumptions Lync/Exchange team made backfire.  I'd have to go to Lync Server compatible
    phone like Polycom VVX to get around phone lock issue.  In Polycom world that is configurable on per phone basis, as, one would argue, it should be.  Polycom have bugs of their own though - you can't make "blind transfer" a default method of transfer. 
    So, no good solution so far.

  • SSRS web based report viewer control rendering issues - text getting clipped chopped off

    Hi,
    I am using web based SSRS report viewer control to display SSRS reports in browsers like Chrome, FF, IE, Safari etc. My issue is some text is getting chopped off (clipped) in all cells of some reports. I investigated on my end by analyzing generated HTML
    and I could see a problem in the HTML that report viewer control is generating. But I am afraid to apply any HTML or Javascript hacks at the moment considering we have hundreds of reports.
    You can see in above image how text got chopped off. The problem in HTML (given below) is the text has been wrapped in a div tag with a fixed height. If I remove the height and also padding on parent TD, the text appears properly.
    <td class="A23dfe7c5f99245f2a0db522a22a6035597c" style="HEIGHT:5.00mm;background-color:#d3d3d3;"><div style="HEIGHT:3.24mm;overflow:hidden;"><table lang="en-US" cellspacing="0"
    cellpadding="0" border="0" class="Pd9776e5f7eaf4df696265b8b49d1da39_1_r17"><tbody><tr><td class="A23dfe7c5f99245f2a0db522a22a6035597" style="word-wrap:break-word;white-space:pre-wrap;">MyType11</td></tr></tbody></table></div></td>
    Please let me know if you have faced a similar scenario before.
    Here is link to stackoverflow thread -
    Stackoverflow thread
    Regards
    Murtaza

    Hi Murtaza,
    According to your description, when you display the report with Report Viewer control, the data within the text is cutoff.
    Based on my research, the issue could cause by that Arial Unicode MS font hasn’t been installed on the server where Reporting Services run. Besides, when we use ReportViewer control to render report, we’d  better set
    AsyncRendering="true" in the Report Viewer control. Also please run the IE with compatibility mode. For more information, please refer to similar threads below:
    Data in column getting cut-off in report viewer control
    SSRS Rendering Issues
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • IBNS web-based authentication HTTPS intercept

    Hi everybody,
    Hopefully this is an easy question.
    I have configured an IBNS setup with Wired Web-Authentication. To sum this up: connect a computer to the switch, go to a web page, the switch intercepts the http request, sends you a log-in page, you log in and get directed to the original web page.
    For this, I have used the following guide http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6586/ps6638/app_note_c27-577494.html
    Before I implemented this, I had the HTTP and HTTPS server on the switch disabled. But if I disable the HTTP serer (and leave the HTTPS server enabled), the switch doesn't intercept the web pages anymore. Is there a way to use web-based authentication without using the HTTP server and using only the HTTPS server on the switch?
    Hope someone can help me with this.
    Thanks
    Ian

    Well I haven't had any luck getting an iPhone to present an SSL certificate to an IIS7 ASP.Net webserver.
    The same .p12 certificate works on IE7, PocketIE (WM6), Firefox and Safari (PC version). The website is set to Require an SSL certificate. From the Windows Mobile or PC browsers, you get a prompt for the client certificate. I have tried Nick's website and the iPhone will prompt to choose between his and my certificates, however with IIS7 you just get a 403.7 client SSL certificate required error.
    I have turned on SSL tracing in HTTP.Sys and get the following (edited for length) :
    <Opcode>SslInititateSslRcvClientCert</Opcode>
    - <Keywords>
    <Keyword>Flagged on all HTTP events handling ssl interactions</Keyword>
    </Keywords>
    <Task>HTTP SSL Trace Task</Task>
    <Message>Server application is attempting to receive the SSL client certificate, which will be provided if available. If the client certificate is not available, a renegotiation will be initiated.</Message>
    <Channel>HTTP Service Channel</Channel>
    <Provider>Microsoft-Windows-HttpService</Provider>
    ... then after various SSL negotiations and receive raw data traces I see...
    <Opcode>SslRcvClientCertFailed</Opcode>
    - <Keywords>
    <Keyword>Flagged on all HTTP events handling ssl interactions</Keyword>
    </Keywords>
    <Task>HTTP SSL Trace Task</Task>
    <Message>Attempt by server application to receive client certificate failed with status: 0xC0000225.</Message>
    <Channel>HTTP Service Channel</Channel>
    <Provider>Microsoft-Windows-HttpService</Provider>
    Which basically seems to mean a "not found" error.
    Anyone had any luck with iPhone to IIS 7 (which we have to use as it is an ASP.Net website)?

  • Web-based utility will not load on new wet54g ethernet bridge

    I just got a WET54g ethernet bridge to connect my bluray player to my existing network (wrt54gs router).  I cannot get the setup cd to recognize the bridge connected to the laptop or the router.  I thought that it would be no problem, just use web-based set-up.  When attempting to access 192.168.1.226 I have to enter the password three times and then a blank page is loaded.  Chat support ended up getting disconnected, so no luck there.  Supposedly some of the steps chat wallked me through updated the firmware through ftp download, but I feel like nothing was done since you can't access the set-up page. Any suggestions are welcome.  I'm running vista if that helps.

    Start it from Scratch...Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your WET54G(ethernet bridge), wait for 30 seconds and re-connect the power cable...Now re-configure your WET54G(ethernet bridge)...Follow the link here to re-configure the WET54G(ethernet bridge)...Also under the configuration type select Static IP Address : For IP Address enter : 192.168.1.226, Subnet Mask : 255.255.255.0, Default Gateway : 192.168.1.1 and save the settings...
    After doing these you can unplug the Ethernet Bridge from the router and power cycle your router and the ethernet bridge both...Connect your ethernet bridge to your bluray player and test for active connection...

  • Non web-based to-do list

    I don't have wireless access to the internet all of the time yet would still like to be able to manage a to-do list on my ipod touch. Any suggestions? All of the apps online seem to be web-based.

    Create a dummy contact and put your to do list in the notes section. Or wait until after February (when the Software Development Kit will be released) and see if anyone comes out with a non-web based To Do app.
    Personally, I go with the small paper notebook....

  • Email Based Reviews Chnage Web Based Mail Cleint

    Our organization is considering the purchase of Acrobat Pro 9.0 for Windows OS.
    The default behavior of the Acrobat is that it directly sends Files for Review from Outbox using Outlook(Default Mail Client).
    Our Requirement is to Use Email Based Review using web based email systems like Gmail etc. This may hold true even when we may have a default mail client configured.
    Is It Possible to do so in Acrobat 9.
    If not how can we ensure that even if it is sent using outlook it opens in a compose window before it automatically sends it from outbox.
    Thank You

    To help you figure out the issue, Acrobat (and Reader) interface with e-mail by the MAPI interface. If your web client can be accessed by MAPI, then the answer is setting that up. If it can not be accessed by MAPI, then you are out of luck.

Maybe you are looking for

  • Can I boot from a SATA drive? What if it's RAID?

    I'm planning on getting the MSI 875P Neo FIS2R 800FSB motherboard. I'm also planning on getting ONE SATA hard drive. Can I boot from the SATA drive? Do I HAVE to set up it as a RAID drive? Can you boot from RAID drives? RAID and SATA confuse me a lit

  • B size) to mail or thumb drive the file is exported to about 560 KB not the original 5.6 MB, what am I doing wrong? thanks

    Currently using Aperture ver 3.1.1, when exporting files (5.6 MB size) to email or to thumb drive the file received by email recipent is about 560KB and worthless in size to them.  What am I doing wrong?  thanks Hutch

  • Adobe Reader Installation Issues in Windows 8

    Hi, I am trying to download the latest Adobe Reader release. The problem is that it keeps getting disrupted during install. I can't figure out why this is happening. Has anyone else experienced this issue while running the Windows 8 OS? I've been exp

  • Pdfing

    I need to generate a PDF file on the server side. I do not want to save the PDF file on the server file system. Instead, I would like to stream it back directly to the client browser. I have thought of using the "web resource" approach available in t

  • Limited number of connections?

    Running OS X Server (3.1.2) and am getting an error on the client, "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept." Can't find a place to change this limi