dopo diversi tentativi ancora non riusciamo a stabilire una connessione sicura con il vostro webservice all'indirizzo https://www.business.tim.it/smashae2/SmashAe2; anche scaricando il wsdl all'indirizzo https://www.business.tim.it/smashae2/SmashAe2?wsdl ci risulta impossibile la suddetta connessione.
Stiamo sviluppando un applicazione in c# .net 4.0 e durante il processo di inclusione della "Web Reference" riceviamo in output il seguente messaggio di errore:
There was an error downloading 'https://www.business.tim.it/smashae2/SmashAe2?wsdl'.
The request was aborted: Could not create SSL/TLS secure channel.
There was an error downloading 'https://www.business.tim.it/smashae2/SmashAe2?wsdl/$metadata'.
The request was aborted: Could not create SSL/TLS s
Avviando invece la procedura di aggiunta "Service Reference" otteniamo il seguente messaggio d'errore:
There was an error downloading 'https://www.business.tim.it/smashae2/SmashAe2?wsdl'.
The request was aborted: Could not create SSL/TLS secure channel.
Metadata contains a reference that cannot be resolved: 'https://www.business.tim.it/smashae2/SmashAe2?wsdl'.
An error occurred while making the HTTP request to https://www.business.tim.it/smashae2/SmashAe2?wsdl. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.
The underlying connection was closed: An unexpected error occurred on a send.
Unable to read data from the transport connection: Connessione interrotta dal software del computer host.
Connessione interrotta dal software del computer host
If the service is defined in the current solution, try building the solution and adding the service reference again.
Per meglio comprendere la situazione può visionare l'immagine allegata debug2.jpg
Abbiamo inoltre scaricato localmente il file WSDL per poi aggiungerlo al progetto ma, nonostante venga correttamente referenziato, i metodi risultano comunque inaccessibili (vedi allegato debug3.jpg).
Di seguito il segmento di codice utilizzato per la chiamata ai metodi:
SmashAe2.SmashAe2 service = new SmashAe2.SmashAe2();
var req = new SmashAe2.aeGetCreditoResiduoRequest();
req.codiceContratto = "xxxxx";
req.username = "xxxxx";
req.password = "xxxxxx";
var a = service.getCreditoResiduo(req);
ERRORE CHE VIENE DATO: http://s8.postimage.org/3thk3g7zp/errore_Smash.jpg

Rispondi quotando