Could there be a session tracking problem when an HTTP client that runs in a servlet tries
to read an HTTP response from a remote webservice? I wrote a servlet that calls a remote
webservice via an HTTP client. The HTTP client is posting the correct XML to the
webservice but in the HTTP resonse I am getting an html response liek the one at the end
of this message.
Runtime Error
body {font-family:"Verdana";font-weight:normal;font-size:
.7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top:
-5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top:
-5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red
}
H2 {
font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy;
cursor:hand; }
<H1>Server Error in '/PBSITest' Application.<hr width=100%
size=1 color=silver></H1>
<h2> Runtime Error </h2>
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application error from
being viewed remotely (for security reasons). It could, however, be viewed by browsers
running on the local server machine.
Details: To enable the details of this specific error message to be viewable
on remote machines, please create a tag within a "web.config" configuration
file located in the root directory of the current web application. This tag should then
have its "mode" attribute set to "Off".
<table width=100% bgcolor="#ffffcc">
<!-- Web.Config Configuration File -->
<system.web>
</system.web>
Notes: The current error page you are seeing can be replaced by a custom error
page by modifying the "defaultRedirect" attribute of the application's
configuration tag to point to a custom error page URL.
<table width=100% bgcolor="#ffffcc">
<!-- Web.Config Configuration File -->
<system.web>
</system.web>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188105#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...