FWIW, I was getting this error trying to send a DIME attachment from a .NET
client to my Axis WS.  I had forgotten to include activation.jar and
mail.jar to my axis webapp and so the binary data in the XML wasn't being
interpreted properly by Axis.
Not exactly the same thing, but if you're not running Axis on Tomcat (i was
using SunONE webserver) it might be useful.

> -----Original Message-----
> From: Gerolamo [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2003 5:09 PM
> To: [EMAIL PROTECTED]
> Subject: Returning a XSD_BASE64
>
>
> Hi Everybody,
>
> I'm trying to do an axis-SOAP function returning a file.
>
> I've done something like this:
>
> public byte[] getFile() { /* ... */ }
>
> with inside a function call:
>
> java.lang.Object _resp = _call.invoke(new java.lang.Object[]
> {"parameter"} );
>
> Return type of SOAP call is a XSD_BASE64
>
> When I try to use it, I have a:
>
> [java]  faultString: org.xml.sax.SAXParseException: Content is not allowed
> in prolog.
>
> It seems to me that axis can't understand data returned from
> remote machine.
> But it is something strange to me. I can't understand.
>
> Can you help me?
>
> --
> Gerolamo Valcamonica
>

Reply via email to