Web Service Call Returns Error Message "unsupported scheme: c". **Building Proof-of-Concept for Biz
i have setup try-it version of aes , trying web service call createpdf work. have set on iis 5.1 .net framework v1.1. create vir dir c:\program files\adobe\acrobat elements server\apache\htdocs\aaes.wsdl , create web reference in vs.net c# project. , code call:
if (( myfile.postedfile != null ) && ( myfile.postedfile.contentlength > 0 ))
{
filename.innerhtml = myfile.postedfile.filename;
filecontent.innerhtml = myfile.postedfile.contenttype;
filesize.innerhtml = myfile.postedfile.contenttype;
uploaddetails.visible = true;
string strfilename = myfile.postedfile.filename;
string c = system.io.path.getfilename(strfilename);
string savelocation = server.mappath("files");
try
{
myfile.postedfile.saveas(savelocation + "\\" + c);
span1.innerhtml = "your file uploaded on server " + c;
}
catch ( exception ex )
{
span1.innerhtml = "error uploading file: " + ex.message;
}
localhost.aaes aaesws = new localhost.aaes();
string sourceurl;
string joboptions = "";
string mimetype = "";
string errormessage;
string jobid;
sourceurl = savelocation + "\\" + c;
aaesws.createpdf(sourceurl,joboptions,mimetype,out errormessage,out jobid);
span1.innerhtml = span1.innerhtml + "
sourceurl: " + sourceurl + "
error: " + errormessage + "
job id: " + jobid;
}
else
{
span1.innerhtml = "please browse file upload.";
}
any ideas on error?
thank in advance.
if (( myfile.postedfile != null ) && ( myfile.postedfile.contentlength > 0 ))
{
filename.innerhtml = myfile.postedfile.filename;
filecontent.innerhtml = myfile.postedfile.contenttype;
filesize.innerhtml = myfile.postedfile.contenttype;
uploaddetails.visible = true;
string strfilename = myfile.postedfile.filename;
string c = system.io.path.getfilename(strfilename);
string savelocation = server.mappath("files");
try
{
myfile.postedfile.saveas(savelocation + "\\" + c);
span1.innerhtml = "your file uploaded on server " + c;
}
catch ( exception ex )
{
span1.innerhtml = "error uploading file: " + ex.message;
}
localhost.aaes aaesws = new localhost.aaes();
string sourceurl;
string joboptions = "";
string mimetype = "";
string errormessage;
string jobid;
sourceurl = savelocation + "\\" + c;
aaesws.createpdf(sourceurl,joboptions,mimetype,out errormessage,out jobid);
span1.innerhtml = span1.innerhtml + "
sourceurl: " + sourceurl + "
error: " + errormessage + "
job id: " + jobid;
}
else
{
span1.innerhtml = "please browse file upload.";
}
any ideas on error?
thank in advance.
i getting same error. know solution?
More discussions in Archived Spaces
adobe
Comments
Post a Comment