B
Bogus Exception
It would seem simple, but it is proving difficult to find an example
that takes XML from a web service and creates java objects from it.
Given the output of the web service:
<Commands xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>The Name</Name>
<Command>The Command</Command>
</Commands>
I just need to make objects of type:
public class Commands {
static final long serialVersionUID = 1;
public String Name;
public String Command;
}
TIA!
that takes XML from a web service and creates java objects from it.
Given the output of the web service:
<Commands xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>The Name</Name>
<Command>The Command</Command>
</Commands>
I just need to make objects of type:
public class Commands {
static final long serialVersionUID = 1;
public String Name;
public String Command;
}
TIA!