NEWBIE question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HATS > NEWBIE question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    NEWBIE question  
dylan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-02-06 12:11 PM

hi,

i'm brand new to HATS, being thrown in the fire and under pressure to
troubleshoot a client issue, i thank you in advance for taking your time
to consider my question.

being brand new i'm struggling with the concepts still, however i've
come to a point where i need to know if a certain thing is available.

upon invoking a macro (from a servlet), and processing the stream
received back, as per the following:

url = new URL(myMacroURL);
conn = (HttpURLConnection) url.openConnection();
conn.setRequestProperty("Cookie", cookie);
myResponseClass responseInstance = new myResponseClass();
responseInstance.parse(conn.getInputStream());

and in the case of an error, the input stream i'm getting back contains
the following:

<?xml version="1.0" encoding="UTF-8"?>
<screen>

<SCRIPT>
appletInitialized = false;
function initApplet() { appletInitialized = true; if (typeof
updateStatusWindow != 'undefined') updateStatusWindow();}
</SCRIPT>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



my question, then, is: do i have programmatic access to the point in
HATS that processes the returned stream from the legacy application
(AS400 app), before HATS forms the stream that i listed just above, or
is the input stream returned from 'conn.getInputStream()' my most
'native' available point of processing ?

if the question isn't clear, let me rephrase it and be more specific:
i'm trying to get the same error message back that i am seeing in the
console when running in debug mode, so i'm looking to see if i can
access programatically the point where HATS receives it's message and
outputs it to the console (since what is coming back in the input stream
does not contain the actual error message).

i apologize if my question isn't clear enough or if i'm obviously still
too new to this to formulate a correct one, again though, any insight or
help will be very appreciated, thanks for your time,

dylan





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:28 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register