aspose file tools*
The moose likes Java in General and the fly likes URL Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "URL Authentication" Watch "URL Authentication" New topic
Author

URL Authentication

Avinash venna
Greenhorn

Joined: Jun 10, 2010
Posts: 17
Hi Guys,

I have a problem.

I am using xmlrpc client for accessing the API of a particular product and for using the url "http://abc.com/xmlrpc.cgi" its asking for authentication. If i use "http://<username>:<password>@abc.com/xmlrpc.cgi" its throwing an error "Unauthorized".

One more thing is before using this URL i need to cross the proxy and for that i am using httpclient and i am successful.

Please someone help me how to solve this issue.

Regards,
Avinash Venna.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: URL Authentication