File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes third party url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "third party url" Watch "third party url" New topic

third party url

Rajesh Gudikoti

Joined: Sep 01, 2009
Posts: 7
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
Dhttp.proxyHost=proxyip -Dhttp.proxyPort=8080

please guide me.

Thanks in advance

Ralph Cook
Ranch Hand

Joined: May 29, 2005
Posts: 479
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.
Rajesh Gudikoti

Joined: Sep 01, 2009
Posts: 7 url = new; con = ( 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.
I agree. Here's the link:
subject: third party url
It's not a secret anymore!