> -----Original Message----- > From: Gerolamo [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2003 9: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 >
if the axis can't understand means that didn't read the attachment.SOAP attachment readability is very dependent upon the app server.There are Some app servers (BEA) run the classes straight from the war file without expanding it at all.Can't be the this reason to not work your function? Kanchana
