Hi, I am using SAS ECM on Linux. Trying to update a case by adding an attachment. I am making the web service call to the ECM web service from the workspcae server, so the file is on the machine. I get the web service error below, basically stating the file is not found. I have check the file exists in the location, change the perms fo te folders to 775. The user running soap request is the owner of the file. Pleade asist. Thank you in advance.
CODE to BUILD SOAP REQUEST:
Request
CODE:
%LET ecmwsdir = %sysfunc(pathname(work));
%LET soapXMLFile = %sysfunc(pathname(work))/ECMXML_request.xml;
filename request "%sysfunc(pathname(work))/ECMXML_request.xml";
filename response "%sysfunc(pathname(work))/ECMXML_response.xml";
%let caseid=2020-674899;
data _null_;
file "&soapXMLFile";
put '';
put '
';
aa='';
put aa;
put ' ';
put '' ;
put ' Test attachment for subpoena case' ;
put ' ';
put ' ' ;
put '';
put '';
run;
proc soap
in=request
out=response
srsurl="&websvrprot.://&websvrnm.:&websvrport./SASWIPSoapServices/services/ServiceRegistry"
url="&websvrprot.://&websvrnm.:&websvrport./SASEntCaseManagement/service"
soapaction="
http://sas.com/solutions/casemgmt/webservice/CaseManagementServiceInterface/create"
WSSUSERNAME="aaa"
WSSPASSWORD="fffff"
;
run;
data _null_ ;infile response ;input ;put _infile_ ;run ;
the REQUEST XML
Test attachment for subpoena case
the RESPOSE XML
File not found: "/grid/fnbfraud/FNB_Fraud/SASEnterpriseCaseManagement/sasdav/subpoenas/ecmdocs/test.zip"