Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with Webservices
Message
De
13/04/2006 10:53:26
 
 
À
28/03/2006 10:41:45
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01108381
Message ID:
01113430
Vues:
19
>I've a webservices but when i Try consumer that webservices the next line code not execute. mi code is this:
>
>EnvioSMS.CellMessage mensaje = new logs.EnvioSMS.CellMessage();
>Resultado=mensaje.EnviaMensaje("B","3162324246",Mensaje);
>MessageBox.Show("error"); // This code not execute.
>
>if (Resultado==null)
> {
> MessageBox.Show("Fallo el Envio de mensajes");
> }

In a Web Service, MessageBox is not available. You would have to use:
Throw New System.Exception("Message")
You might want to adjust for C# syntax.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform