NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - frosty

Pages: [1]
1
The Rest - Ask For Help / Re: Getting started with a web API
« on: February 20, 2009, 11:18:29 AM »
Thanks Bruce.  I'll be working on this over the next few days.

[L]

2
The Rest - Ask For Help / Getting started with a web API
« on: February 19, 2009, 04:48:38 PM »
I need to begin using a web app's API (see http://www.magentocommerce.com/wiki/doc/webservices-api/api#magento_core_api_per_module) to synchronize data between it and a Clarion app.

Other than referring to NetTalk's SOAP examples, I'm admittedly clueless about how to get underway.  How would I go about implementing, say, something like this http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_attribute_tier_price using NetTalk?

Any nudges would be appreciated.

[L]

3
Web Server - Ask For Help / Re: NetTalk web app within an Iframe
« on: September 11, 2008, 11:39:54 AM »
Thanks for the ideas.  I'm thinking things over.

[L]

4
Web Server - Ask For Help / Re: NetTalk web app within an Iframe
« on: September 10, 2008, 09:40:06 AM »
Thanks for the replies.  Since that website's header and footer info will be changing on a frequent basis, I'd rather not have to bring that into the NetTalk app.

It's not an option at the moment to have both sites on one server.  The website is at the web host's server, while the NetTalk app is running on my client's inhouse server.  The NetTalk app has to run inhouse so that inventory availabilty is live.  Moving the app the web host's server isn't an option.

I suppose it would be an option to host the rest of the website inhouse, but that's not an option that I'm eager to look at (because of maintainance, security issues, load on the server, etc.)  However, it may be possible to host just the single catalogue page inhouse to work around IE's security concerns.

Also, in talking to Charles Edmonds yesterday, he suggested two possible solutions:

Quote
Your main domain ( www.hiflightrc.com ) is at IP address 216.234.163.202

Your pulling content in from http://142.179.197.168:90

Welcome to Microsoft Cross-Domain Scripting Restrictions.

;-)

It is no problem (usually) to pull read-only content into context, but when you start interacting with the other domain, the security model kicks in.

http://msdn.microsoft.com/en-us/library/ms533028(VS.85).aspx

Your probably going to have to switch from an Iframe to using PHP cURL.

An alternative that might work would be to put the search button and its layup in the parent page.  Then use some Javascript on the parent page to call the URL of the NetTalk Server in the Iframe.

Haven't tried that with your layout but I think it might work.

Are we having fun yet<g>?

and later...

Quote
It is a catch22<g>.

If the server supports PHP cURL then it may be the easiest (since you haven't worked with Javascript).

What happens is that the page on the main server will become a .php page (has to have a .php extension, but I'm sure you know that).

Then a small PHP cURL script will fetch the remote NetTalk server page.

The key is that the NetTalk server page gets delivered out in the main page as part of the source - not as IFrame content.

OR

In the other method, you put the drop list and search box as part of the parent page.

The data for the search criteria gets gathered from the control with Javascript.

Then you build a complete URL (including search criteria as parameters) and you use Javascript to switch that for the hard coded URL in the IFrame.

Then it gets fetched as part of the page (just normal IFrame stuff).

[L]

5
Web Server - Ask For Help / NetTalk web app within an Iframe
« on: September 09, 2008, 12:58:04 PM »
I've embedded a NetTalk web app inside an Iframe to maintain the overall look and feel of the client's website.  That works just fine with both Firefox and Opera.  But I've just noticed that IE 6 and 7 kick up a fuss about the app appearing inside the Iframe.  With IE, the app appears, but the search button doesn’t do anything.  After experimenting, I noticed that dropping IE’s “privacy options” down to “Low” or “Accept all cookies” solves the issue.  Running the app outside of an iframe also works.  This is showstopper.  I’ve Googled for a solution but I haven’t found one.

The app inside an Iframe (works with FF and Opera/doesn't work with IE 6 or 7):  http://www.hiflightrc.com/html/catalogue.html
The app outside of an Iframe (works with all browsers):  http://142.179.197.168:90

Anyone have any ideas here?

[L]

6
Web Server - Ask For Help / Re: Pocket Pc and Nettalk
« on: September 09, 2008, 12:49:36 PM »
Hi Jorgemir,

I have an HTC S720 running Windows Mobile.  Internet Explorer on it is a real dog with little compatibilty, and I have to jump through hoops to get Opera Mini to run.

Have a look at http://www.skyfire.com.  I haven't tried it on a NetTalk web app, but it has worked well for me on other sites that were tripping up both IE and Opera Mini.

[L]

7
Web Server - Share Knowledge / Re: My Projects
« on: February 01, 2008, 12:44:59 PM »
An evangelist without tangible results?  :-)

[L]

8
Web Server - Ask For Help / Re: SOAP Server questions
« on: February 01, 2008, 12:36:36 PM »
Excellent.  Thanks Bruce.

[L]

9
Web Server - Share Knowledge / Re: My Projects
« on: January 29, 2008, 02:22:50 PM »
Are any examples of using Nettalk + ExtJS available for us to see?

[L]

10
Web Server - Ask For Help / SOAP Server questions
« on: January 29, 2008, 02:15:53 PM »
I'm working on an app that will be distributed to a client's customers.  Part of the functionality is based on NetTalk 4.30's example #42 (SOAPServer).

Part of what this app needs to do is check for stock availability.  Based on example #42, that part is working nicely.  I pass a SKU to the SOAPServer app, and the client app receives a reply containing the necessary information.

Two questions:

1)  I need to implement a "synchronization" where on request, the SOAPServer should send certain fields (SKU, product description, a status code, pricing, etc.) back to the client app for any records that belong to that customer's order.  Normally, that would only be 10-30 records, but the potential is there for up to 1000 records being passed back.  What sort of approach should I be looking at to send this data back?  I'm assuming each matching record would be a separate child branch in the XML file?

2)  Is it possible to send back an image and HTML-formatted code as part of the SOAP request, so that checking for stock availability also (optionally) sends back information about about the product?

Thanks.

[L]

Pages: [1]