Το έκανα και αυτό αλλα τίποτα. Αρχίζω να απογοητεύομαι
.
Δοκίμασα να κάνω add Service Reference στο project μου, με url του hosting server.
Το μήνυμα που μου επιστρέφει είναι:
The document at the url http://www.site.gr/Services/NewsFeedWCF.svc was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'XML Schema' is 'Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.'.
- Report from 'DISCO Document' is 'Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.'.
- Report from 'WSDL Document' is 'There is an error in XML document (1, 2).'.
- Name cannot begin with the '%' character, hexadecimal value 0x25. Line 1, position 2.
Metadata contains a reference that cannot be resolved: 'http://www.site.gr/Services/NewsFeedWCF.svc'.
The remote server returned an unexpected response: (405) Method Not Allowed.
The remote server returned an error: (405) Method Not Allowed.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Στο project έχω crossdomain policy αρχείο
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
clientaccesspolicy<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
Ευχαριστώ για το ενδιαφέρον και το χρόνο σας
αν δεν το θες,
www.antallakseto.gr