Buen día,
Estoy tratando de borrar un documento vía web service con el método delete. El usuario ya esta logueado y el documento existe, pero el sistema falla en esta instrucción " documentService.delete(token, docPath);", dando el siguiente error :
Quedo a la espera de cualquier ayuda que me puedan brindar.
Estoy tratando de borrar un documento vía web service con el método delete. El usuario ya esta logueado y el documento existe, pero el sistema falla en esta instrucción " documentService.delete(token, docPath);", dando el siguiente error :
Code: Select all
Este es el método en references que falla:System.Web.Services.Protocols.SoapException: okm:trash/crmtestuser1
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at CRMAvanticaPlugin.OKMDocument.OKMDocumentService.delete(String token, String docPath) in D:\Avantica CRM\CRMAvanticaPlugin\Web References\OKMDocument\Reference.cs:line 360
at CRMAvanticaPlugin.PreDeleteProposalComponent.delete(String docPath, String username, String password) in D:\Avantica CRM\CRMAvanticaPlugin\PreDeleteProposalComponent.cs:line 69
Code: Select all
Estoy trabajando C# .net, openKM5/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://endpoint.ws.openkm.com/", ResponseNamespace="http://endpoint.ws.openkm.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
public void delete(string token, string docPath) {
this.Invoke("delete", new object[] {
token,
docPath});
}
Quedo a la espera de cualquier ayuda que me puedan brindar.