You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Tony Sciacca <ts...@xaware.com> on 2002/07/05 19:47:47 UTC
RE: byte array over SOAP
Hello Boris,
I saw the posting on the soap.xml.apache user group and wanted to drop
you a note and introduce you to our technology, which could be
beneficial within some of your projects. We provide a XML data
integration tool that could increase the productivity of your developers
three-fold. If you are interested in learning more please go to our web
site at www.xaware.com . Thanks in advance for your time and
consideration.
Regards,
Tony Sciacca
Director of Sales
XAware Inc.
http://www.xaware.com
719-262-3746
-----Original Message-----
From: Boris_Paskalev@putnam.com [mailto:Boris_Paskalev@putnam.com]
Sent: Thursday, June 27, 2002 12:50 PM
To: soap-user@xml.apache.org
Cc: soap-user@xml.apache.org
Subject: Re: byte array over SOAP
Thanks,
I do knot know what was the problem with byte arrays but I translated
the
byte array into string, which worked just fine.
Funny that I'm using the reverse of the idea that you are using.
Thanks,
Boris Paskalev
From: "WJCarpenter" <bi...@carpenter.ORG>
06/26/02 05:19 PM
Please respond to soap-user
To: <so...@xml.apache.org>
cc:
Subject: Re: byte array over SOAP
> I have a client that is trying to make a SOAP call having a byte array
> as a parameter, but I receive no serializers/deserializers error.
I don't know why you get this error. Apache SOAP serializes byte arrays
just fine. (In fact, we use byte arrays to carry strings in some of our
tricky circumstances.)
> Then I tried to convert the byte array to string, for the purpose of
> using SOAP but I get the following exception:
>
> Fault Code = SOAP-ENV:Client
> Fault String = parsing error: org.xml.sax.SAXParseException: An
invalid
> XML character (Unicode: 0x2) was found in the element content of the
> document.
That error is legit. If you wander around the XML specs and stare at
Unicode tables long enough, you'll eventually conclude that you can't
have
most control characters in Unicode (you have a Control-B), and therefore
you can't have them in your XML. The good news is that when you figure
out how to send the byte array as a parameter, Apache SOAP will
automatically base64 encode it for you for transport.
--
bill@carpenter.ORG (WJCarpenter) PGP 0x91865119
38 95 1B 69 C9 C6 3D 25 73 46 32 04 69 D6 ED F3
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>