dariofil
New member
- Joined
- May 10, 2010
- Messages
- 3
- Programming Experience
- Beginner
Interesting problem;
This is the XML output of my command in a web browser.
I need to get the MachineID value.
Then i load this XML to DataSet, and write it a file;
The Machine.TXT file contents missing the MACHINECODE Value :-(
How is this possible?
The only thing i can see is that the MACHINECODE Element, and MACHINECODE value are the same name.
This is the XML output of my command in a web browser.
I need to get the MachineID value.
VB.NET:
<?xml version="1.0" encoding="UTF-8" ?>
- <Response>
<Code>0</Code>
<Message>OK</Message>
- <Data>
- <MachineCode>
<MachineCode>4C92-DGF-9EBB974-A861E*77DB5E/95C1-MKEY-15BCA4</MachineCode>
</MachineCode>
</Data>
</Response>
Then i load this XML to DataSet, and write it a file;
VB.NET:
dim dsGetMachineCode AS DataSet
dsGetMachineCode.ReadXml("http://" + ServerAddress + ":8601/Interface/Server/GetMachineCode?responseformat=xml&authuser=" + Username + "&authpass=" + Password)
dsGetMachineCode.WriteXml("c:\machine.txt")
The Machine.TXT file contents missing the MACHINECODE Value :-(
How is this possible?
VB.NET:
<?xml version="1.0" standalone="yes"?>
<Response>
<Code>0</Code>
<Message>OK</Message>
<Data>
<MachineCode>
<MachineCode />
</MachineCode>
</Data>
</Response>
The only thing i can see is that the MACHINECODE Element, and MACHINECODE value are the same name.
Last edited: