Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I am a newbie to webservices so any help i get will be appreciated. I have createD a Main function that calls two of my Classes 1.liverailLogin and 2. liverailData. I can connect to the API server and responses with an XML file which contains a token via liverailLogin using HTTPS. Then via liverailData i connect again to API server via HTTP. In my liverailData class when i call this con.setRequestProperty("Ticket", ticket); my code fail with an error.Exception in thread "main" java.lang.IllegalStateException: Already connected
I Have tried everything but cant seems to go any further! Can anyone help?