What is being returned from the server? The error looks like the client encounters the character while reading the server'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 encoded data in the TunnelGui > program. > > Thanks. Jian > > > -----Original Message----- > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 04, 2002 11:34 AM > To: [EMAIL PROTECTED] > Subject: Re: An invalid XML character (Unicode: 0x1) > > > If 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 > Subject: RE: An invalid XML character (Unicode: 0x1) > > > > > > The image that I sent is actually using base64. > > > > How do I wrap the data with cdata? The XML is generated by the soap > > implementation > > automatically, right? > > > > Thanks, > > > > > > > > > > -----Original Message----- > > From: James Black [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 02, 2002 3:47 PM > > To: [EMAIL 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 bytes that make up the > image > > be > > within a cdata tag, or use base64 encoding. > > Most likely there is a character that is inside the image that has a > > different meaning to XML. > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>