I'm currently building a WPF 4.5 application and I'm trying to upload documents to our TCP environment using the TcpService object's CreateRecord_NET and UploadContent_NET methods.
The CreateRecord_NET appears to execute successfully, but when I immediately invoke the UploadContent_NET method, I get the following error:
Tcp.Common.IllegalArgcom.opentext.ecm.tcp.ws.TcpException: Tcp.Common.IllegalArg: Illegal argument supplied!
Params: {MESSAGE=Value must not be NULL!, ARGUMENT_NAME=accCtxt_objectValues[1]_stringValues[0]}Illegal argument supplied!MESSAGEValue must not be NULL!ARGUMENT_NAMEaccCtxt_objectValues[1]_stringValues[0]
Based on the documentation in TCP_Web_Service_API_Reference, I've also added the following to the app.config file:
<configuration>
.....
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding allowCookies="true" messageEncoding="Mtom" transferMode="Streamed"/>
</basicHttpBinding>
</bindings>
</system.serviceModel>
</configuration>
Is there something else that I'm missing in order to invoke the UploadContent_NET method? Does the binding in my app.config need to be named to something specific? Any help would be appreciated.
Thanks,
Zach