Answer the question
In order to leave comments, you need to log in
HTTP request and XML parser in JAVA?
Hello. I just started learning the Java language, but have already encountered a real problem at work, which I would not want to give up.
You need a program in the window of which you will need to enter several data with a submit button. It will send a request like this to the server:
Content-Type: text/plain;charset=utf-8
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<request>
<auth dealer="9999" login="1234" password="5678"/>
<request/>
<?xml version="1.0" encoding="utf-8"?>
<response result="103" result-description="Bad credentials" >
</response>
<?xml version="1.0" encoding="utf-8"?>
<response result="0" result-description="" >
<accounts>
<account id="1678" name="randomname" update-date="2013-04-08T18:53:03" external-balance="1.1200"/>
<account id="1234" name="randomname" update-date="2013-04-08T18:53:05" external-balance="1000.0000"/>
</accounts>
</response>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question