we are calling thid party url which will process our request and send us the xml response. When this third party URL is directly called from browser it is sending proper xml response but when called from our application it is not sending any response. The thrird part URL is related to SAP server and our application is running IBM websphere. Since we are calling URL on server side do we need below jvm settings
You need to say how you are 'calling' this URL from java, and why you say you are not getting any response. There is not enough information in your question for anyone to help you.
Joined: Sep 01, 2009
java.net.URL url = new java.net.URL(xmlUrl);
java.net.HttpURLConnection con = (java.net.HttpURLConnection) url.openConnection();
// POST a message
//con.setAllowUserInteraction(false); // you may not ask the user
con.setDoOutput(true); // we want to send things
earlier client was complaining about 500 internal server error, once they changed settings to allow to acces url from other application, the 500 error is gone but they are not getting any response.