c# - Problem making XML RPC call -


I am trying to isolate a problem, I am calling an XML RPC:

< Pre> XDocument document = new XDocument (); New excelement ("expression", "new", "new", new excelement ("expression", "new", new excelement ("param", new excelement ("value", new excelement ("string" New excelement ("param", new excelement ("value", new excelement ("value", new excelement ("value", new expression ("string", recipient) );)); HttpWebRequest req = (HttpWebRequest) WebRequest.Create ("http: // urlremoved"); Req.ContentType = "text / xml"; Req.method = "POST" ; XmlTextWriter Writer = New XmlTextWriter (req.GetRequestStream (), Encoding. UTF8); doc.Save (Author); HttpWebResponse Feedback = (HttpWebResponse) req.GetResponse (); Streamminder Reader = New Streamerdder (ReactionGeterpoonsStream ()); Return reader. Read-to-end ();

This is not just stalls and never out at all (even if I set a timeout on Ricoco and Ric. Reditight timeout). I remove the URL Given, mainly to keep the focus on the code.

Is this There is a mess in the code which will prevent it from retaining this call?

I'm not sure It is not that time, but maybe this is not the time because there is no request being made due to this fact that writing has been buffer?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -