3686Problem with binary file
- Jun 20, 2004Hello all,
We are using EJB to provide a webservice which allows the Perl
client to upload and "download data, which is actually stored in a
temporary file on the server.
The web service provides two methods: testUpload for uploading file
and testDownload for downloading previously uploaded file.
== Method Prototype in WSDL ==
The testDownload method is just fine, but there are problems with
testUpload. No errors are reported in the process, but the server just
don't write the content into the file.
Really confused with this problem ... Any suggestions are welcome.
Thanks in advance!
Here's the testUpload code:
print("Please enter the filename:");
open(APPFILE,$filename) || die("Can not open the file");
# print(@content); it can print the content of the file.
$session->testUpload(@content) || die("Can not Upload");
print("\nApp is created ");
- Next post in topic >>