Click here to Skip to main content
15,905,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to access public varialbes in C# class Pin
Joe Rozario3-Sep-10 1:39
Joe Rozario3-Sep-10 1:39 
AnswerRe: How to access public varialbes in C# class Pin
AspDotNetDev3-Sep-10 11:50
protectorAspDotNetDev3-Sep-10 11:50 
GeneralRe: How to access public varialbes in C# class Pin
Ravi Bhavnani5-Sep-10 19:02
professionalRavi Bhavnani5-Sep-10 19:02 
AnswerRe: How to access public varialbes in C# class Pin
Pete O'Hanlon3-Sep-10 1:42
mvePete O'Hanlon3-Sep-10 1:42 
GeneralRe: How to access public varialbes in C# class Pin
Joe Rozario3-Sep-10 18:38
Joe Rozario3-Sep-10 18:38 
GeneralRe: How to access public varialbes in C# class Pin
Pete O'Hanlon3-Sep-10 21:43
mvePete O'Hanlon3-Sep-10 21:43 
QuestionAvoiding exceptions in socket programming Pin
Rob Philpott3-Sep-10 0:49
Rob Philpott3-Sep-10 0:49 
AnswerRe: Avoiding exceptions in socket programming Pin
Not Active3-Sep-10 1:06
mentorNot Active3-Sep-10 1:06 
GeneralRe: Avoiding exceptions in socket programming Pin
Rob Philpott3-Sep-10 1:10
Rob Philpott3-Sep-10 1:10 
GeneralRe: Avoiding exceptions in socket programming Pin
#realJSOP3-Sep-10 1:36
professional#realJSOP3-Sep-10 1:36 
AnswerRe: Avoiding exceptions in socket programming Pin
DaveyM693-Sep-10 1:35
professionalDaveyM693-Sep-10 1:35 
QuestionToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew2-Sep-10 17:53
AussieLew2-Sep-10 17:53 
AnswerRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
Matt U.2-Sep-10 17:59
Matt U.2-Sep-10 17:59 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew2-Sep-10 18:45
AussieLew2-Sep-10 18:45 
AnswerRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
DaveyM695-Sep-10 7:20
professionalDaveyM695-Sep-10 7:20 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew6-Sep-10 1:49
AussieLew6-Sep-10 1:49 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
DaveyM696-Sep-10 2:34
professionalDaveyM696-Sep-10 2:34 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew6-Sep-10 23:38
AussieLew6-Sep-10 23:38 
QuestionPDF based project Pin
AussieLew2-Sep-10 17:41
AussieLew2-Sep-10 17:41 
Questionwhat's in DragEventArgs in a dragdrop event Pin
Louis-Etienne Chicoine2-Sep-10 8:53
Louis-Etienne Chicoine2-Sep-10 8:53 
AnswerRe: what's in DragEventArgs in a dragdrop event Pin
Luc Pattyn2-Sep-10 9:02
sitebuilderLuc Pattyn2-Sep-10 9:02 
QuestionHow do I convert an XML response of type GetLiveCompactWeatherByUSZipCodeResponse into usable strings? Pin
SCADirector2-Sep-10 6:18
SCADirector2-Sep-10 6:18 
I'm using the WeatherBug API to retrieve weather data. Unfortunately there are no good examples or documentation for C# to help me with this. What I do know is that I'm making a SOAP call, receiving a SOAP response, which contains XML in an object of type GetLiveCompactWeatherByUSZipCodeResponse.

My question is: How can I get that soap response and get the XML? I know how to manipulate the XML but how do I get to it when it comes back as a type called GetLiveCompactWeatherByUSZipCodeResponse?

I'm calling this URL: http://api.wxbug.net/webservice-v1.asmx?op=GetLiveCompactWeatherByUSZipCode[^]

My code is:

WeatherBugWebServicesSoapClient proxy = new WeatherBugWebServicesSoapClient("WeatherBugWebServicesSoap");
result = proxy.GetLiveCompactWeatherByUSZipCode("52722", api.wxbug.net.UnitType.English, "xxxxxxxxxx");


result is a string (just to get the raw xml for now). When I do this the red line says: Cannot implicitly convert type api.wxbug.net.LiveCompactWeatherData to string.

Any help is much appreciated.
QuestionIs there a good example of using multiple forms..... Pin
glennPattonWork32-Sep-10 5:11
professionalglennPattonWork32-Sep-10 5:11 
AnswerRe: Is there a good example of using multiple forms..... Pin
phil.o2-Sep-10 5:31
professionalphil.o2-Sep-10 5:31 
GeneralRe: Is there a good example of using multiple forms..... Pin
glennPattonWork32-Sep-10 6:17
professionalglennPattonWork32-Sep-10 6:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.