I am getting this strange error while calling a web service. My web service is hosted on the intranet. I call this service using a JAX-RPC client. When the service is invoked for the first time get an 401 Unauthorized error. From the second time onwards it works. What could be the reason. Any help on this is appreciated.
I've written a simple JSP that calls a servlet which in turn invokes the web service.
SCJP, SCWCD5, SCBCD5, SCDJWS
IBM Certified Websphere 6.1 Core Admin
IBM Certified SOA Solution Designer
SCEA Part 1