i use this wsdl service http://ws.adpdigital.com/services/MessagingService?wsdl in c#
when i run it in windows application it's ok but when i run it as a windows service that give me an error
exception.message :
There is an error in XML document (1, 504).
exception.trace :
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at SendSmsToMagfa.com.adpdigital.ws.JaxRpcMessagingServiceService.report(String userName, String password, String shortNumber, String fromClientId, String clientId, String fromId, String id, Int32 maxSize) at SendSmsToMagfa.SendSms.Send(String[] message, String[] mobile, String[] id, String[] port) at SendSmsService.SendSmsService.ServiceSmsMethod(Object sender, ElapsedEventArgs e)
i checked it in .net 2 and 3 and 3.5 and 4 but all of them have error
what's the problem ?