We are using Trading Networks for exchanging docs with our partners.
One of our partner is trying to post the data using JAVA HttpURLConnection.
However they are getting HTTP response code 401 error. The same URL when posted thru a Internet Explorer goes thru.
The java code creating the URL is as follows:
String url = “http://SBI324:123epay@172.18.100.3:8888/invoke/wm.tn/receive?%24$xmldata=”;
String value = " “<?xml><txn-status>SUCCESS</txn-status>”
String finalurl = url + URLEncoder.encode(value);
We are completely foxed with this behavior.
Looking forward to your comments