Click here to Skip to main content
15,882,163 members
Home / Discussions / C#
   

C#

 
AnswerRe: using VB6 ActiveX dll with C# 2010 Pin
Dave Kreskowiak12-Jun-12 10:39
mveDave Kreskowiak12-Jun-12 10:39 
GeneralRe: using VB6 ActiveX dll with C# 2010 Pin
Member 160800712-Jun-12 17:30
Member 160800712-Jun-12 17:30 
GeneralRe: using VB6 ActiveX dll with C# 2010 Pin
Dave Kreskowiak12-Jun-12 17:34
mveDave Kreskowiak12-Jun-12 17:34 
QuestionSetValue and BitConverter question Pin
bonosa12-Jun-12 8:48
bonosa12-Jun-12 8:48 
QuestionReading XML from a web service Pin
JD8612-Jun-12 7:01
JD8612-Jun-12 7:01 
AnswerRe: Reading XML from a web service Pin
PIEBALDconsult12-Jun-12 7:45
mvePIEBALDconsult12-Jun-12 7:45 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 8:30
JD8612-Jun-12 8:30 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 8:35
JD8612-Jun-12 8:35 
I see. I did this:

C#
object[] blah = soap.domainExists("domain.com", param);

                foreach (object o in blah)
                {
                    Type t = o.GetType();
                    Console.WriteLine(t);

                    if (t == typeof(XmlElement))
                        Console.WriteLine(((XmlElement)o).InnerXml);
                    else if (t == typeof(XmlAttribute))
                        Console.WriteLine(((XmlAttribute)o).InnerXml);
                }


Which returns:
HTML
<key xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>status_code</key><value xsi:type="xsd:int" xmlns:xsi="http://www.w3.org/2001/XM
LSchema-instance">200</value>
System.Xml.XmlElement
<key xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>status_name</key><value xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001
/XMLSchema-instance">success</value>
System.Xml.XmlElement
<key xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>status_message</key><value xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2
001/XMLSchema-instance">Domain domain.com exists</value>


I jsut need to figure out how to parse it

modified 12-Jun-12 14:49pm.

AnswerRe: Reading XML from a web service Pin
jschell12-Jun-12 9:03
jschell12-Jun-12 9:03 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 9:33
JD8612-Jun-12 9:33 
AnswerRe: Reading XML from a web service Pin
JD8612-Jun-12 10:32
JD8612-Jun-12 10:32 
QuestionURL Rewriting does not work after Publishing Code in ASP.NET,C# VS 2005 Pin
masterprogrammertech12-Jun-12 5:00
masterprogrammertech12-Jun-12 5:00 
QuestionPossible Bug in VS 2010 IDE Pin
Steve Harp12-Jun-12 4:27
Steve Harp12-Jun-12 4:27 
AnswerRe: Possible Bug in VS 2010 IDE Pin
PIEBALDconsult12-Jun-12 4:45
mvePIEBALDconsult12-Jun-12 4:45 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Steve Harp12-Jun-12 5:26
Steve Harp12-Jun-12 5:26 
AnswerRe: Possible Bug in VS 2010 IDE Pin
Eddy Vluggen12-Jun-12 8:48
professionalEddy Vluggen12-Jun-12 8:48 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Steve Harp13-Jun-12 3:47
Steve Harp13-Jun-12 3:47 
AnswerRe: Possible Bug in VS 2010 IDE Pin
Eddy Vluggen13-Jun-12 3:57
professionalEddy Vluggen13-Jun-12 3:57 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Steve Harp13-Jun-12 4:07
Steve Harp13-Jun-12 4:07 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Eddy Vluggen13-Jun-12 4:51
professionalEddy Vluggen13-Jun-12 4:51 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Steve Harp13-Jun-12 7:41
Steve Harp13-Jun-12 7:41 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Eddy Vluggen13-Jun-12 8:01
professionalEddy Vluggen13-Jun-12 8:01 
GeneralRe: Possible Bug in VS 2010 IDE Pin
Steve Harp13-Jun-12 8:20
Steve Harp13-Jun-12 8:20 
QuestionIssue with Click-once Deployment Pin
McCombi12-Jun-12 0:23
McCombi12-Jun-12 0:23 
Questionc# Pin
fadi1321112-Jun-12 0:09
fadi1321112-Jun-12 0:09 

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.