#1 Re: Topics related with App Builder » Calling REST service returning JSON » 2017-04-18 14:28:23

Hi David,

I have another question regarding your product: Is it possible to call web service SOAP?

Best Regards
Soeren Baek

#2 Re: Topics related with App Builder » Calling REST service returning JSON » 2017-04-14 20:04:52

Hallo David,
It is quite strange.
I have managed to activate CORS in the ISS including changing the Handle module to ISAPI.
But, I still have problems:

:9999/#!/NotesView:1 XMLHttpRequest cannot load http://localhost/result.json. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '[url]http://127.0.0.1:9999[/url]' is therefore not allowed access. The response had HTTP status code 503.

I have added the following HTTP Headers:

Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
Access-Control-Allow-Origin: *

Do you have any idear what could be the issue?

Many Thanks
Soeren Baek

#3 Re: Topics related with App Builder » Calling REST service returning JSON » 2017-04-14 17:27:16

Hi David,
I am not sure if i understood this correctly.
I am not using PHP on the web server, but a simple JSON file, is this my problem?
Do I need to wrap something around the content?

Thank you for your support.
Soeren Baek

#4 Topics related with App Builder » Calling REST service returning JSON » 2017-04-14 16:55:15

soeren.baek
Replies: 8

Hi,

I am currently evaluating your software and have some problems connecting to our services.
By using the Sample Database project with the link: https://www.davidesperalta.com/Humm/Sit … wNotes.php
the service returns without any problems, but using any other service, the following message comes:
Error while retrieving notes. Can't connect to the server.

The server has no authentication activated and the target file: (http://localhost/result.json) contains the same information as from within the ShowNotes.php

What am i doing wrong?

Kind Regards
Soeren Baek

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.