Will Appian process take a binary content as the process parameter which is requ

Will Appian process take a binary content as the process parameter which is required to start Appian business process. My requirement will be to trigger a Appian business process when I receive a Zip file from external system.

I created a process with one input parameter ( TEXT fileContents ) and exposed the process as webservice .
So my webservice operation "start" will have three parameters
String userName
String password
String fileContents
and will return process id after successful invocation of the process instance.

I read the contents of the file and set it fileContents variable and invoke the start method. The code works fine when I send text (.txt) file contents.
But when I read binary file (zip file) and set its contents into fileContents string variable and invoke the start method, the code fails with the Exception:

Caused by: org.apache.cxf.binding.soap.SoapFault: Error fulfilling request
          at org.apache.cxf.binding.soap.interceptor.Soa...

OriginalPostID-148606

OriginalPostID-148606

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data