This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I need to integrate to a system using XML API. I basically need to send XML request and receive the response. I can't seem to find useful resources on this, although I am sure I came across some before.
It is giving me FileNotFound errors though upon reading response. If you have any good references that would be helpful.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Ok - you have the simplest possible situation, just sending an XML formatted string in the body of a request and getting one back. Here is some code I used one time to do this where reqStr is the XML string already in memory and "response" is a String variable:
Joined: Mar 29, 2005
Thanks. Thats almost what I had, but now I am sure I am on the right track.