Topic
  • 1 reply
  • Latest Post - ‏2013-08-04T20:19:54Z by JCanipe
JCanipe
JCanipe
31 Posts

Pinned topic How to get all the data from ContentElementResponse using getContinueFrom()

‏2013-08-03T20:15:37Z |

Greetings. I am using FileNet P8 5.1 on zLinux. I am communicating with CEWS http://...wsi/FNCEWS40MTOM/ . I am retrieving a piece of content that is 2.5 MB. My retrieval is returning approximately 1.0 MB and providing a value in the getContinueFrom off the ContentElementResponse object. The value in the getContinueFrom() method is: offset=1048576;id={B4D14CC9-2AF0-42F5-98AD-66977A777F09};

Can you provide me with information on how to use the above information to perform another retrieval to get the remaining data that was not returned?

 

  • JCanipe
    JCanipe
    31 Posts
    ACCEPTED ANSWER

    Re: How to get all the data from ContentElementResponse using getContinueFrom()

    ‏2013-08-04T20:19:54Z  

    My mistake for the post. The answer is in the ContentRequestType. Below is a snapshot of the javadocs:

     

    <attribute name="continueFrom" type="{http://www.w3.org/2001/XMLSchema}string" />
    <attribute name="startOffset" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
    
    Question has been answered.
    
    
  • JCanipe
    JCanipe
    31 Posts

    Re: How to get all the data from ContentElementResponse using getContinueFrom()

    ‏2013-08-04T20:19:54Z  

    My mistake for the post. The answer is in the ContentRequestType. Below is a snapshot of the javadocs:

     

    <attribute name="continueFrom" type="{http://www.w3.org/2001/XMLSchema}string" />
    <attribute name="startOffset" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
    
    Question has been answered.