Daniel de la Cuesta | 26 Nov 12:46
Picon
Picon
Favicon

Portal remote controller and CPS Image Field

Hi,

I am using portal_remote_controler to create documents from a java xmlrpc client.

Here is my schema:

CPS Int Field
CPS Image Field
CPS Int Field
CPS Int Field
CPS Int Field



As you can see, my document has a CPS Image Field in its schema, I can asign values to all the fields except the CPS Image Field.

I am using the Apache WS-XMLRPC for the client, I read the image file, I encode it to base64 but when I execute the "createDocument" method with that field I get the following exception:

org.apache.xmlrpc.XmlRpcException: Unexpected Zope exception: exceptions.IndexError - list index out of range
    at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:197)

Any idea?

Thank you



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Gmane