Click here to Skip to main content
15,896,344 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Is there a good example of using multiple forms..... Pin
#realJSOP2-Sep-10 7:10
professional#realJSOP2-Sep-10 7:10 
GeneralRe: Is there a good example of using multiple forms..... Pin
The Man from U.N.C.L.E.2-Sep-10 7:11
The Man from U.N.C.L.E.2-Sep-10 7:11 
AnswerRe: Is there a good example of using multiple forms..... Pin
Henry Minute2-Sep-10 6:22
Henry Minute2-Sep-10 6:22 
AnswerRe: Is there a good example of using multiple forms..... Pin
DaveyM692-Sep-10 6:24
professionalDaveyM692-Sep-10 6:24 
GeneralRe: Is there a good example of using multiple forms..... Pin
AussieLew2-Sep-10 18:53
AussieLew2-Sep-10 18:53 
GeneralRe: Is there a good example of using multiple forms..... Pin
DaveyM692-Sep-10 21:18
professionalDaveyM692-Sep-10 21:18 
GeneralRe: Is there a good example of using multiple forms..... Pin
glennPattonWork32-Sep-10 23:40
professionalglennPattonWork32-Sep-10 23:40 
GeneralRe: Is there a good example of using multiple forms..... Pin
AussieLew3-Sep-10 0:00
AussieLew3-Sep-10 0:00 
GeneralRe: Is there a good example of using multiple forms..... Pin
glennPattonWork33-Sep-10 0:03
professionalglennPattonWork33-Sep-10 0:03 
GeneralRe: Is there a good example of using multiple forms..... Pin
DaveyM693-Sep-10 1:07
professionalDaveyM693-Sep-10 1:07 
GeneralRe: Is there a good example of using multiple forms..... Pin
glennPattonWork33-Sep-10 1:12
professionalglennPattonWork33-Sep-10 1:12 
GeneralRe: Is there a good example of using multiple forms..... Pin
DaveyM693-Sep-10 3:01
professionalDaveyM693-Sep-10 3:01 
GeneralRe: Is there a good example of using multiple forms..... Pin
glennPattonWork33-Sep-10 5:04
professionalglennPattonWork33-Sep-10 5:04 
GeneralRe: Is there a good example of using multiple forms..... Pin
DaveyM693-Sep-10 7:26
professionalDaveyM693-Sep-10 7:26 

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.