Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread General Info
Thu, Dec 13 2012 8:33 AMPermanent Link

Dave Reynolds

Hi,

Just evaluating this, extremely impressed Smile

Just a few questions:

1)  To do database connections etc... do you need to be running the Web Server, of if not could someone point me to some documentation to explain how you don't.

2) if yes to number 1 can you use an SSL connection.


Dave.
Thu, Dec 13 2012 9:11 AMPermanent Link

Raul

Team Elevate Team Elevate

On 12/13/2012 8:33 AM, Dave Reynolds wrote:
> 1)  To do database connections etc... do you need to be running the Web Server, of if not could someone point me to some documentation to explain how you don't.

Short answer is yes - you need some kind of web service to serve up
data. See this answer is FAQ:
http://www.elevatesoft.com/supportfaq?action=view&category=ewb&question=database_connectivity

The included Web server is one easy option to use but you can really
create the back end web service using any other method (Visual Studio,
PHP, etc) as it just needs to serve JSON back.

> 2) if yes to number 1 can you use an SSL connection.
I don't believe Elevate Web Server that's bundled supports SSL at this
time.  So no there.
However, generically answer is yes if you're hosting your web service on
some other major web server (IIS/Apache/etc).

Raul
Thu, Dec 13 2012 9:26 AMPermanent Link

Dave Reynolds

Thanks for taking the time to reply it's appreciated.


I have experimented using IIS 7.5,

But get the attached error, I am probably doing something silly,

If you could advise.

Dave.



Attachments: IISERR.jpg
Thu, Dec 13 2012 9:38 AMPermanent Link

Raul

Team Elevate Team Elevate

Dave,

Error is simply 404 - not found.  meaning IIS has no idea what
"/datasets/lns" is so it can't serve anything ?

What/how did you set up/create the web service?

Easiest way to just see it in action is simply to return static JSON
response for now (Example JSON in reference even:
http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=JSON_Reference)
and use REST so you just have to deal with URLs (not not SOAP or such
where you need proper payload as well).

Note that you can even return a static JSON file - then you don't even
have to write anything for web service.

Raul


On 12/13/2012 9:26 AM, Dave Reynolds wrote:
> Thanks for taking the time to reply it's appreciated.
>
>
> I have experimented using IIS 7.5,
>
> But get the attached error, I am probably doing something silly,
>
> If you could advise.
>
> Dave.
>
Thu, Dec 13 2012 10:01 AMPermanent Link

Dave Reynolds

Hi,

Again thanks for your time.

I have IIS 7.5 with ASP installed, I have setup the relivant mappings etc..

Created a website, and placed the deployment files from the masterdetail example in the home directory.

I then visit:   http://localhost/masterdetail.html

And retrieve the error as before, I'm sure i'm just doing something dumb, i've been using intraweb for years, so the change is all new.


Thanks  for any help.

Dave.
Thu, Dec 13 2012 10:45 AMPermanent Link

Raul

Team Elevate Team Elevate


That won't work - you can't use any of the examples with IIS as they are
designed for Elevate Web Server (which knows how to deal with DBISAM
files - IIS does not).

If you want to use IIS you need to write your own back-end web service
from scratch (and all this needs to do is return appropriate JSON) and
then front-end app is written in EWB and access it using server requests.

the manual describes the architecture well:
http://www.elevatesoft.com/manual?action=topics&id=ewb1&section=using_server_requests

Raul



On 12/13/2012 10:01 AM, Dave Reynolds wrote:
> Hi,
>
> Again thanks for your time.
>
> I have IIS 7.5 with ASP installed, I have setup the relivant mappings etc..
>
> Created a website, and placed the deployment files from the masterdetail example in the home directory.
>
> I then visit:   http://localhost/masterdetail.html
>
> And retrieve the error as before, I'm sure i'm just doing something dumb, i've been using intraweb for years, so the change is all new.
>
>
> Thanks  for any help.
>
> Dave.
>
Thu, Dec 13 2012 11:04 AMPermanent Link

Dave Reynolds

Hi Raul,

I see now, doh! that resolves my confusion!!!

Thanks for your help.

Dave.
Image