RE: Passing a Class File Content

2002-12-09 Thread Jian Zhang
In this context: is that true that if we create a String object with a String literate like this: String strObj = "d89dnd^0d0d%%%"; which contains arbitrary characters (but all are typed into), then it is developer's responsibility to make sure that all the characters used are legal XML

RE: base 64 encoded xml string getting truncated

2002-10-24 Thread Jian Zhang
I also got problem with parssing data in byte[]. I have also seen emails on the mailing list saying that they solved the problem by passing the data in a String (new String((byte[])data)), see http://marc.theaimsgroup.com/?l=soap-user&m=102520383913046&w=2 I guess that char[] get all the data with

RE: An invalid XML character (Unicode: 0x1)

2002-10-04 Thread Jian Zhang
x27;s response. Scott Nichol - Original Message - From: "Jian Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 1:09 PM Subject: RE: An invalid XML character (Unicode: 0x1) > > I pass in my code byte[] and I got the base64 encode

RE: An invalid XML character (Unicode: 0x1)

2002-10-04 Thread Jian Zhang
you are sending image data, you should send it as a byte[] parameter. The serializer for that type will use Base64 encoding. Scott Nichol - Original Message - From: "Jian Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 2:53 PM Subje

RE: An invalid XML character (Unicode: 0x1)

2002-10-04 Thread Jian Zhang
PROTECTED] Subject: Re: An invalid XML character (Unicode: 0x1) Jian Zhang wrote: > Caught SOAPException (SOAP-ENV:Client): Parsing error, response was: > An invalid XML character (Unicode: 0x1) was found in the element content of > the This is a guess, but you may need to have the b

An invalid XML character (Unicode: 0x1)

2002-10-02 Thread Jian Zhang
I got an error which I could not understand: I found out that once I called a method to return me an image document, I began to get the following message in my log file, even I called other methods, which functioned properly before I called this get document. The thing is that it seems to me th

RE: Must use TcpTunnelGui on the same machine? how is Vector represented in Soap?

2002-09-18 Thread Jian Zhang
empty Vector. Are you sure you've added elements to the Vector you are using as the parameter? Scott Nichol - Original Message - From: "Jian Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 2:42 PM Subject: RE: Must use TcpTu

RE: Must use TcpTunnelGui on the same machine? how is Vector repr esented in Soap?

2002-09-18 Thread Jian Zhang
Sorry guys. It was caused by a bug. Although the search criterion list was constructed properly, an empty list was sent to the server. That is why I saw nothing in the request message. Thanks, -Original Message- From: Jian Zhang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September

RE: Must use TcpTunnelGui on the same machine? how is Vector represented in Soap?

2002-09-18 Thread Jian Zhang
The method signature that I use is: public HitList search (Vector criteria) { . } When I call this method, I pass a Vector which contains a Criterion object that contains String fields such as name, search values, etc. The SOAP message is as below: ---

RE: Must use TcpTunnelGui on the same machine? how is Vector represented in Soap?

2002-09-18 Thread Jian Zhang
represented in Soap? Attached are the files submitted as a patch. Compile these, put them in your CLASSPATH before soap.jar, and you will have a TcpTunnelGui that attempts to change your Host: header. If I recall, JDK 1.4 is required for this patch. Scott Nichol - Original Message - From: "

Must use TcpTunnelGui on the same machine? how is Vector represented in Soap?

2002-09-17 Thread Jian Zhang
Hi Guys, I am running server on another Unix box while running my soap client on my Windows machine. I used the syntax: java org.apache.soap.util.net.TcpTunnelGui dev 20400 Where my server listens to 20400. The server name is dev. Now my clients asking SOAP service with a URL of localhos