Hi all,
 
I am facing a little problem,
I have a pgm that receive some XML (act as a server) and i want ti use S.klement xml parser that act as a client.
To do that i send the xml received to the iserie (with a post) to a cgi that just send back the data.
My problem is that the data sended back is in ascii (it seems).
Is there a way to make my post in a "binary" mode like with FTP ?
 
----- Original Message -----
From: ncsuman89
Sent: Wednesday, March 22, 2006 1:20 PM
Subject: [Easy400Group] Re: AJAX and iSeries CALLSERVER function

For what it's worth, I got a small sample working.

The screen prompts for a store number.  Each time a key is released it
calls the ajax program to go get the pharmacists at the store.  It
passes back an html document that I load in a <div>.  The names are in
a table, and when you click on the name, it puts it in the name prompt.

Here's the body of my html prompt screen:
/$xmltop
<form>
<strong>Store:</strong>
<input type="text" name="storeid" size="5" >
<strong>Name:</strong>
<input type="text" name="fullname" size="50">
</form>

<div id="result_div" style="display:none;"></div>

Here's the html document that I load into the <div> in the above html:
/$top
Content-type: text/html

<html>
<body>
<table border="2" rules="none" bgcolor="white" bordercolor="black">
/$detail
<tr>
<td /%bgcolor%/
>
/%fullname%/
</td>
</tr>
/$end
</table>
</body>
</html>

Not sure if any of that will help or not, I'm still playing with it
all.  Also haven't tested it in anything but IE.
Glenn.






SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to