[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Get data from Multipart/related response

  • Thread starter Thread starter west
  • Start date Start date
Status
Not open for further replies.
W

west

Guest
The error is "Part num must be positive" It's returning a 0. This occurs after the Execute() method. oResponse = ClientBuilder:Build() :Client:Execute(oRequest). DISPLAY "{&LINE-NUMBER} oResponse:ContentLength=" STRING(oResponse:ContentLength). oResponseMultipartEntity = cast(oResponse:Entity,OpenEdge.Net.MultipartEntity). DISPLAY "{&LINE-NUMBER} oResponseMultipartEntity:Size=" STRING(oResponseMultipartEntity:Size). /***Error "Part num must be positive" is thrown on this line and the program fails***/ oResponseMultipartEntity:Size returns 0 for some reason and causes the program to fail. Do I have to reference the write method anywhere? I just want to make sure I'm not missing a line that's causing this issue.

Continue reading...
 
Status
Not open for further replies.
Back
Top