<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-2022-JP"
 http-equiv="Content-Type">
  <title></title>
</head>
<body style="" bgcolor="#ffffff" text="#000000">
Hi Henry,<br>
<br>
&nbsp;I have informed you about SOAP issue.<br>
&nbsp;I have also attached the test programs. They were very simple test
programs.<br>
&nbsp;You could located the jws file at $TOMCAT_HOME/webapps/axis and the
soaptest3.lzx at <br>
your $LPS_HOME. I tested it with SWF and also they were tested on the
same tomcat( 5.0.30 ). <br>
&nbsp;When i checked it with lps-3.3.3, it worked fine, but using the latest
nighty( rev 7378 ) did not worked.<br>
&nbsp;The mean of&nbsp; the 'did not worked' was it did not shown the return
strings in the result text field.<br>
&nbsp;The return strings did not returned from the server side to the
client. You can find it at as following the<br>
messages.<br>
&nbsp;Also i am going to chase this issue in nighty source, but i know you
can find it out faster than me. :^)<br>
&nbsp;Those are the message in the debug window.<br>
<br>
&nbsp;<i><b> </b></i><b>Case: lps-3.3.3</b><br>
&lt;whatString
xmlns=<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/axis/SoapStringSimpleReturn.jws">"http://localhost:8080/axis/SoapStringSimpleReturn.jws"</a>&gt;&lt;s&gt;&lt;/s&gt;&lt;/whatString&gt;
<br>
&lt;whatString
xmlns=<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/axis/SoapStringSimpleReturn.jws">"http://localhost:8080/axis/SoapStringSimpleReturn.jws"</a>&gt;&lt;s&gt;aa&lt;/s&gt;&lt;/whatString&gt;
<br>
<br>
&nbsp; <b>Case: Nighty ( rev 7378 )</b><br>
&lt;whatString
xmlns=<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/axis/SoapStringSimpleReturn.jws">"http://localhost:8080/axis/SoapStringSimpleReturn.jws"</a>&gt;&lt;s&gt;&lt;/s&gt;&lt;/whatString&gt;
<br>
__LZloaderReturnData data= {..., stubinfo: [object Object], stub:
[object Object]} <br>
... loadmc= &laquo;LoadObj#1| <a class="moz-txt-link-freetext" href="soap://soap">soap://soap</a> (loading)&raquo; <br>
...responseheaders= undefined <br>
{..., stubinfo: [object Object], stub: [object Object]} <br>
__LZloaderReturnData data= &lt;whatString
xmlns=<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/axis/SoapStringSimpleReturn.jws">"http://localhost:8080/axis/SoapStringSimpleReturn.jws"</a>&gt;&lt;s&gt;&lt;/s&gt;&lt;/whatString&gt;
<br>
... loadmc= &laquo;LoadObj#1| <a class="moz-txt-link-freetext" href="soap://soap">soap://soap</a> (loading)&raquo; <br>
...responseheaders= null <br>
rpc.lzx _handler {status: ok, message: ok, data: &lt;whatString
xmlns=<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/axis/SoapStringSimpleReturn.jws">"http://localhost:8080/axis/SoapStringSimpleReturn.jws"</a>&gt;&lt;s&gt;&lt;/s&gt;&lt;/whatString&gt;,
opinfo: [object Object], seqnum: 1} <br>
&lt;whatString
xmlns=<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/axis/SoapStringSimpleReturn.jws">"http://localhost:8080/axis/SoapStringSimpleReturn.jws"</a>&gt;&lt;s&gt;&lt;/s&gt;&lt;/whatString&gt;<br>
<br>
<br>
&nbsp;Regards,<br>
&nbsp;Keiji Ono<br>
<br>
<br>
keiji Ono wrote:<br>
<blockquote cite="mid47403E89.4000402@net8.co.jp" type="cite">Hi Henry,
  <br>
  <br>
I am preparing a small piece of this issue.
  <br>
Because the original test case was a bit special.
  <br>
So i build it on Axis environment. I am going to make it in this week.
  <br>
Please wait for a few days.
  <br>
  <br>
Thanks
  <br>
Keiji Ono
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:Keiji_ono@net8.co.jp">Keiji_ono@net8.co.jp</a>
  <br>
  <br>
Henry Minsky wrote:
  <br>
  <br>
  <blockquote type="cite">I'll try and see if there was any change to
the code paths between
    <br>
4.0.3 and 4.0.5.
    <br>
    <br>
Do have a small piece of test code that I can run to confirm that I am
    <br>
reproducing the issue? If so, can you attach that to a bug report and
file
    <br>
it in JIRA? Send me an email when you do that, and I will take a look.
    <br>
    <br>
    <br>
On 11/5/07, keiji Ono <a class="moz-txt-link-rfc2396E" href="mailto:keiji_ono@net8.co.jp">&lt;keiji_ono@net8.co.jp&gt;</a> wrote:
    <br>
&nbsp;
    <br>
    <br>
    <blockquote type="cite">Hi,
      <br>
      <br>
I found a problem of&nbsp; SOAP action between&nbsp; 3.3.3 and latest nighty
build
      <br>
(4.1.x).
      <br>
With a same LZX application and using SOAP data I/F.
      <br>
3.3.3 could send data to LPS, but the nighty could not.
      <br>
&nbsp;ex.
      <br>
&nbsp;&nbsp;&nbsp;&nbsp; send data 'burabura'
      <br>
&nbsp;&nbsp;&nbsp;&nbsp; debugging 'lzpostbody' in SOAPDataSource.java
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on 3.3.3:&nbsp; &lt;some tag&gt;[![CDATA[burabura]]&lt;/some
tag&gt;
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on 4.1.x:&nbsp; &lt;some tag/&gt;
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * in effect, those data were encoded.
      <br>
      <br>
SOAPDataSource.java had not any changes between them.
      <br>
Are there some changing data interface specifications?
      <br>
I confirmed it was OK till 4.0.3, but 4.0.5 and later were NG.
      <br>
      <br>
Regards,
      <br>
Keiji Ono
      <br>
      <br>
      <br>
Henry Minsky wrote:
      <br>
      <br>
      <br>
      <br>
On 10/30/07, keiji Ono <a class="moz-txt-link-rfc2396E" href="mailto:keiji_ono@net8.co.jp">&lt;keiji_ono@net8.co.jp&gt;</a> wrote:
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">I have checked Apache-Axis library. And i
knew where it was implemented
        <br>
but at the same time
        <br>
i did not understand about my issue whether it was a spec or bug. Then
i
        <br>
will ask it for Axis forum.
        <br>
Thank you for everything.
        <br>
        <br>
BTW, i have been seeing OpenLaszlo source code by now, i would like to
        <br>
confirm and gather up my *understanding* on processing SOAP data. If
        <br>
this is incorrect, please correct me.
        <br>
        <br>
Issue: procedure SOAP message data to provide to client
        <br>
Example data: &lt;data tag&gt;burabura data&lt;/data tag&gt;
        <br>
Process:
        <br>
1. read SOAP data ( like the example data )
        <br>
2. disintegrate in tag and data
        <br>
3. the data will be converted to Flash data format
        <br>
4. reassemble the tag and the data
        <br>
5. put it out it to client by HttpServletResponse
        <br>
        <br>
But i did not find the point of *reassemble* clearly.
        <br>
&nbsp;&nbsp;&nbsp;&nbsp; <br>
      </blockquote>
Hello Keiji,
      <br>
      <br>
I was probably the last person to touch the SOAP code, when I
      <br>
added support for the DHTML runtime.
      <br>
      <br>
In SWF, the SOAP data is converted to flash, using the old data
compiler
      <br>
which used to be used for XML data, but is no longer used for that.
      <br>
      <br>
In the DHTML&nbsp; version of the SOAP code, the data is converted to
      <br>
JSON format. This might be easier to understand than the swf code
paths, if
      <br>
you look at the
      <br>
output that is sent to the client. It is&nbsp; a JSON string which is just a
      <br>
combination of string, number, and&nbsp; arrays and objects.
      <br>
      <br>
      <br>
It had been my intention to rewrite the SOAP server code for the SWF
      <br>
runtime, so that
      <br>
instead of using the old data compiler, it would instead just use the
JSON
      <br>
format that we now use for DHTML, and compile the JSON string to swf
with
      <br>
the regular "script compiler" that all the other Laszlo code goes
through.
      <br>
This would simplify
      <br>
the code substantially on the server, as it would eliminate the two
      <br>
duplicate
      <br>
code paths that exist now for SWF and DHTML. Unfortunately I have not
had
      <br>
time to do that.
      <br>
      <br>
Henry
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">Best,
        <br>
Keiji Ono
        <br>
        <br>
&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533; wrote:
        <br>
        <br>
&nbsp;&nbsp;&nbsp;&nbsp; <br>
        <blockquote type="cite">We use "apache-axis" for this
server-side job, see i.e. at
          <br>
          <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
        </blockquote>
      </blockquote>
org.openlaszlo.remote.swf.soap.encoding.SOAPDataEncoder#buildHeaders(org.apache.axis.message.SOAPHeader
      <br>
).
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">
        <blockquote type="cite">So I guess you need to check the
"axis.jar" (JavaDoc:
          <br>
          <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
        </blockquote>
      </blockquote>
"<a class="moz-txt-link-freetext" href="http://ws.apache.org/axis/java/apiDocs/org/apache/axis/message/package-summary.html">http://ws.apache.org/axis/java/apiDocs/org/apache/axis/message/package-summary.html</a>
      <br>
")
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">
        <blockquote type="cite">to get any further.
          <br>
          <br>
- Andr&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;
          <br>
          <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
          <blockquote type="cite">Hi Ben,
            <br>
            <br>
Thank you for your reply.
            <br>
Yes, i also found your point and i was searching the implementation.
            <br>
If it did not implement in OpenLaszlo source, it must came from
            <br>
saaj.jar or other jars.
            <br>
As far as i know, this class declared as Interface class in SAAJ, so
            <br>
i wondered
            <br>
where did it implement.
            <br>
In your opinion, OpenLaszlo depend on the standard of JARs, right?
            <br>
If so, i would appreciate it if you gave me the information about
            <br>
JARs version and so on.
            <br>
            <br>
Best,
            <br>
Keiji Ono
            <br>
            <br>
Benjamin Shine wrote:
            <br>
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
            <blockquote type="cite">/
              <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
            </blockquote>
/&gt;/ It looks to me like SOAPElement is imported from /&gt;/
            <br>
javax.xml.soap.SOAPElement:
            <br>
/&gt;/
            <br>
/&gt;/ $ grep SOAPElement `find . -name "SOAP*.java"`
            <br>
/&gt;/ ...
            <br>
/&gt;/
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
          </blockquote>
        </blockquote>
      </blockquote>
./WEB-INF/lps/server/src/org/openlaszlo/remote/swf/soap/encoding/
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">/&gt;/ SOAPDataEncoder.java :
            <br>
/&gt;/ import javax.xml.soap.SOAPElement;
            <br>
/&gt;/ ...
            <br>
/&gt;/
            <br>
/&gt;/ So that implementation must come from one of the jars we ship
            <br>
with, /&gt;/ but I don't know which one.
            <br>
/&gt;/
            <br>
/&gt;/ Is this the information you were looking for?
            <br>
/&gt;/ -ben
            <br>
/&gt;/
            <br>
/&gt;/
            <br>
/&gt;/ On Oct 25, 2007, at 6:13 PM, keiji Ono wrote:
            <br>
/&gt;/
            <br>
/&gt;&gt;/ Hi
            <br>
/&gt;&gt;/
            <br>
/&gt;&gt;/ I could make in focus on this issue.
            <br>
/&gt;&gt;/ I found the method of .getChildElements() was rejecting all
blanks
            <br>
/&gt;&gt;/ at the head and tail of SOAPElement class.
            <br>
/&gt;&gt;/ But as you know, SOAPElement class was declared by Interface
            <br>
class in /&gt;&gt;/ SAAJ.
            <br>
/&gt;&gt;/ As the next step, i checked how SOAPElement class had
            <br>
implemented in /&gt;&gt;/ OpenLaszlo.
            <br>
/&gt;&gt;/ but i could not find the point in OpenLaszlo source.
            <br>
/&gt;&gt;/ If i could find it, i could know it whether it was bug or
spec.
            <br>
/&gt;&gt;/ Hey Server Side Men, could you give some hints for me?
            <br>
/&gt;&gt;/
            <br>
/&gt;&gt;/ Best,
            <br>
/&gt;&gt;/ Keiji Ono
            <br>
/&gt;&gt;/
            <br>
/&gt;&gt;/ keiji Ono wrote:
            <br>
/&gt;&gt;/
            <br>
/&gt;&gt;&gt;/ I have been continuing to solve this issue.
            <br>
/&gt;&gt;&gt;/ And i look at the point of the suspicious, but i could
not know
            <br>
it /&gt;&gt;&gt;/ clearly.
            <br>
/&gt;&gt;&gt;/ At the point is in SOAPDataEncoder.java.
            <br>
/&gt;&gt;&gt;/ The 'issue' code is in the method of _traverseDOM().
            <br>
/&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;/ SOAPDataEncoder.java _traverseDOM()
            <br>
/&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;/ iter = el.getChildElements();
            <br>
/&gt;&gt;&gt;/ while(iter.hasNext()){
            <br>
/&gt;&gt;&gt;/ Object o = iter.next(); &lt;---- 1
            <br>
/&gt;&gt;&gt;/ if( Text.class.isInstance(o) ){
            <br>
/&gt;&gt;&gt;/ characters(((Text)o).getValue() ); &lt;---- 2
            <br>
/&gt;&gt;&gt;/ }else{
            <br>
/&gt;&gt;&gt;/ .
            <br>
/&gt;&gt;&gt;/ .
            <br>
/&gt;&gt;&gt;/ }
            <br>
/&gt;&gt;&gt;/ }
            <br>
/&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;/ At the point of 1, when the Object o contained a string
            <br>
/&gt;&gt;&gt;/ "&lt;sometag&gt;&lt;![CDATA[ Text
Strings]]&gt;&lt;/sometag&gt;",
            <br>
/&gt;&gt;&gt;/ .getValue() at the point of 2 got the string "Text
Strings" and
            <br>
/&gt;&gt;&gt;/ set it to the method of characters(). The characters()
            <br>
/&gt;&gt;&gt;/ push it to client through FlashBuffer class.
            <br>
/&gt;&gt;&gt;/ The issue of it is the blank of the start strings has
been
            <br>
rejected /&gt;&gt;&gt;/ by getValue().
            <br>
/&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;/ I do not know whether this is the specification of
getValue()
            <br>
of /&gt;&gt;&gt;/ org.apache.xml.message.Text class.
            <br>
/&gt;&gt;&gt;/ Is not there the person knowing a lot about this?
            <br>
/&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;/ Keiji Ono
            <br>
/&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;/ Hummm, it did not effect to the log file.
            <br>
/&gt;&gt;&gt;&gt;/ Basically, i did not use multibyte data, so
whichever use
            <br>
UTF-8 /&gt;&gt;&gt;&gt;/ parameter in the properties file,
            <br>
/&gt;&gt;&gt;&gt;/ it did not effect to it, i think.
            <br>
/&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;/ BTW, the reason why i am taking this issue, because
i have a
            <br>
/&gt;&gt;&gt;&gt;/ trouble on SOAP data handling on LPS.
            <br>
/&gt;&gt;&gt;&gt;/ The trouble is like this.
            <br>
/&gt;&gt;&gt;&gt;/ When i sent data from a OpenLaszlo application, like
' ABC' to
            <br>
SOAP /&gt;&gt;&gt;&gt;/ server, but the return was
            <br>
/&gt;&gt;&gt;&gt;/ 'ABC'. Pay attention this, LPS cut out those spaces
of the data.
            <br>
/&gt;&gt;&gt;&gt;/ I traced how to treat the data in LPS, so i reached
            <br>
FileUtil.java. /&gt;&gt;&gt;&gt;/ I know the data from SOAP server
            <br>
/&gt;&gt;&gt;&gt;/ to LPS are correct, that mean the data has the
spaces.
            <br>
/&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;/ Any advances. Thank you.
            <br>
/&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;/ Keiji Ono
            <br>
/&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;/ P T Withington wrote:
            <br>
/&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/ I wonder if the problem is that log4j is not
configured for
            <br>
UTF8? /&gt;&gt;&gt;&gt;&gt;/ I found this with Google:
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ Debugging can be fun with high byte
characters as generally
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ logging to a console isn't going to show you
the characters
            <br>
you /&gt;&gt;&gt;&gt;&gt;&gt;/ are expecting. If you did this:
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ System.out.println(new String(new byte[] {
-28, -72,
            <br>
-83},"UTF-8")
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ Then you'd probably just see a ? rather than
the Chinese
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ character that it really should be. However,
you can make
            <br>
log4j /&gt;&gt;&gt;&gt;&gt;&gt;/ log UTF-8 messages. Just add
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ &lt;param name="Encoding" value="UTF-8"/&gt;
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ To the appender in your log4j.xml config. Or
this:
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ log4j.appender.myappender.Encoding=UTF-8
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ To your log4j.properties file. You might
still only see the
            <br>
UTF-8 /&gt;&gt;&gt;&gt;&gt;&gt;/ data properly if you view the log file
in an editor/
            <br>
viewer that /&gt;&gt;&gt;&gt;&gt;&gt;/ can view UTF-8 data (Windows
notepad is ok for
            <br>
instance).
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/ [Java UTF???????????????????????????8
international character
            <br>
/&gt;&gt;&gt;&gt;&gt;/ support with Tomcat and Oracle, 26/03/07,
Kieran's
            <br>
blog](<a class="moz-txt-link-freetext" href="http://">http://</a> /&gt;&gt;&gt;&gt;&gt;/
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
          </blockquote>
        </blockquote>
      </blockquote>
blogs.warwick.ac.uk/kieranshaw/entry/ /&gt;&gt;&gt;&gt;&gt;/
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">utf-8_internationalisation_with/)
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/ Also, I wonder if using the Firebug extension to
Firefox
            <br>
might /&gt;&gt;&gt;&gt;&gt;/ help. Using the Net pane, you should be
able to see the
            <br>
content of /&gt;&gt;&gt;&gt;&gt;/ the http get.
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;/ On 2007-09-27, at 20:20 EDT, keiji Ono wrote:
            <br>
/&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ Who dose maintenance this Java file ?
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ If you give me a little tip, i can progress
on it.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/ keiji Ono wrote:
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Ben,
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Thank you for your suggestion, but i
tried already it on
            <br>
4.0.5 /&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ as a trial ,
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ but it did not work on it.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ I know it worked till on 4.0.3. :@
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ It will be good if i can give you a
sample code of it , but
            <br>
as /&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ you know
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ it is not
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ easy to give SOAP sample.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ And our application is now working on
3.3.3, so i would
            <br>
like to /&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ try on
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ 3.3.3.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ I am thinking as following steps now.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ 1. Check it on 3.3.3
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ 2. If i find looks like bug in it, i
will change it.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ 3. Then i am going to look at 4.0.5
source.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ So could you give some advance?
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Thank you.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Keiji ono
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Benjamin Shine wrote:
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Keiji, I suggest you work with
lps-4.0.5. It is the most
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ current, and
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ we are more likely to be familiar
with the code that
            <br>
you're /&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ working
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ with. See
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ <a class="moz-txt-link-freetext" href="http://www.openlaszlo.org/node/383">http://www.openlaszlo.org/node/383</a>
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ for the announcment.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ -ben
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ On Sep 26, 2007, at 5:03 AM, keiji
Ono wrote:
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Adding, it was the source of
lps-3.3.3, and the data was
            <br>
not /&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ multibyte
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ character.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Keiji Ono
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Hi all,
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ I am checking about
Input/Output data on LPS now.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Because when i take SOAP
interface on my application,
            <br>
the /&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ getting data
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ is wrong.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Then i would like to check
data where output from LPS.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ At the point of
FileUtils.java, i add some code like
            <br>
following
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ (BlockName-A).
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ But it got unreadable data
to write lps.log as following.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ How can i get 'readable' log
on lps.log ?
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ &lt;checking code on
FileUtils.java&gt;
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ public static int
sendToStream(InputStream input,
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ OutputStream output, int
size)
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ throws IOException {
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ int c = 0;
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ byte[] buffer = new
byte[size];
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ int b = 0;
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ while(true) {
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ try {
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ // Until end of stream
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ if ((b = input.read(buffer))
&lt;= 0) {
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ return c;
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ }
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ } catch (IOException e) {
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ throw new
StreamReadingException( e.getMessage());
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ }
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ c += b;
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ try {
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ output.write(buffer, 0, b);
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ //=== adding from here
BlockName-A
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ {
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ String aString = new
String(buffer, "UTF-8");
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ mLogger.debug( "OUTPUT: " +
aString );
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ }
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ //=== to here
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ &lt;lps.log&gt;
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ OUTPUT: FWS 4&nbsp; x&nbsp; F&nbsp; ?&nbsp;&nbsp;&nbsp; `
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx? ?&nbsp; ?0
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
          </blockquote>
        </blockquote>
      </blockquote>
_m _t CSPCHD id
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
AddLongResponse AddLongResult ?&nbsp; _m _root /?&nbsp; _m N
            <br>
?&nbsp; _t &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ _root /?
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <blockquote type="cite">
                    <blockquote type="cite">
                      <blockquote type="cite">
                        <blockquote type="cite">
                          <blockquote type="cite">
                            <blockquote type="cite">
                              <blockquote type="cite">/ _t N
                                <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
/?&nbsp;&nbsp;&nbsp; ?&nbsp; _root ?
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <blockquote type="cite">
                    <blockquote type="cite">
                      <blockquote type="cite">
                        <blockquote type="cite">
                          <blockquote type="cite">
                            <blockquote type="cite">
                              <blockquote type="cite">/ _rootndi
RL?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =L?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =L?;
                                <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
0000000100001gUD5zy4000000XKonfBejSj6FIgaG0jaWHQ--
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
          </blockquote>
        </blockquote>
      </blockquote>
&nbsp;=&nbsp;&nbsp; ?
      <br>
&nbsp;&nbsp; <br>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/&nbsp;&nbsp;&nbsp;
?
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ _root /?&nbsp; _finishndi R?&nbsp;&nbsp;&nbsp;&nbsp;
B?&nbsp;&nbsp;&nbsp; ?&nbsp; _root ?
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <blockquote type="cite">
                    <blockquote type="cite">
                      <blockquote type="cite">
                        <blockquote type="cite">
                          <blockquote type="cite">
                            <blockquote type="cite">
                              <blockquote type="cite">/ _rootndi
RL?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =L?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =L?
                                <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ GHGHGH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp; ?&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;
_root /?&nbsp; _finishndi R?&nbsp;&nbsp;&nbsp;&nbsp; B?
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <blockquote type="cite">
                    <blockquote type="cite">
                      <blockquote type="cite">
                        <blockquote type="cite">
                          <blockquote type="cite">
                            <blockquote type="cite">
                              <blockquote type="cite">/ _parent /?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
?
                                <br>
/ _parent /?&nbsp; loader N?&nbsp; returnData R&nbsp; @
                                <br>
/
                                <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
                              </blockquote>
                            </blockquote>
                          </blockquote>
                        </blockquote>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Thanks any advance.
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;/ Keiji Ono
            <br>
/&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
            <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
          </blockquote>
        </blockquote>
&nbsp;&nbsp;&nbsp;&nbsp; <br>
      </blockquote>
      <br>
--
      <br>
Henry Minsky
      <br>
Software Architect
      <br>
<a class="moz-txt-link-abbreviated" href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a>
      <br>
&nbsp;&nbsp; <br>
    </blockquote>
  </blockquote>
</blockquote>
</body>
</html>