Skip to Content.
Sympa Menu

devel - Re: Re: [sympa-dev] Calling SOAP Methods from .NEt

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: address@concealed
  • To: address@concealed
  • Subject: Re: Re: [sympa-dev] Calling SOAP Methods from .NEt
  • Date: Thu, 26 Jan 2006 23:54:29 +0100

I am now able to log in again.

Here is the code I use to call the authenticate and run method.

sympa.SympaSOAP org = new sympa.SympaSOAP();
string s;
string[] sArray = { "topic","subTopic"};
sympa.listType lt = new sympa.listType();


s = org.login("address@concealed", "sympa");
org.authenticateAndRun("address@concealed", s,"lists",
sArray);

Here is the error that is returned. Thanks again for your help.

System.InvalidOperationException was unhandled
Message="There is an error in XML document (1, 498)."
Source="System.Xml"
StackTrace:
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(SoapClientMes
sage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at Message1.sympa.SympaSOAP.authenticateAndRun(String email, String
cookie, String service, String[] parameters) in C:\Documents and
Settings\cdowd\My Documents\Visual Studio 2005\Projects\Message1\Message1\Web
References\sympa\Reference.cs:line 415
at Message1.Form1..ctor() in C:\Documents and Settings\cdowd\My
Documents\Visual Studio 2005\Projects\Message1\Message1\Form1.cs:line 43
at Message1.Program.Main() in C:\Documents and Settings\cdowd\My
Documents\Visual Studio 2005\Projects\Message1\Message1\Program.cs:line 12
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()



Archive powered by MHonArc 2.6.19+.

Top of Page