W
west
Guest
Peter, I'm having the same issues as jsandrea had, size = 0 (Part num must be positive), but adding the FixBoundaryWriter class did not seem to fix it. I'm still learning how to work with web services so maybe I'm doing something wrong on my end. I saved the FixBoundaryWriter.cls to a file and added a propath directory to it so the program can access it. One thing I noticed is that the Write method that is passed in an memptr as a parameter throws an error. I believe this is because the MultipartEntityWriter class does not have a Write method that takes in a memptr parameter so it can't override it. If I take out the override keyword however, it compiles fine. I am registering the writer at the top of the program I run, is that correct? DISPLAY "{&LINE-NUMBER} oResponse:ContentLength=" STRING(oResponse:ContentLength). oResponseMultipartEntity = cast(oResponse:Entity,OpenEdge.Net.MultipartEntity). DISPLAY "{&LINE-NUMBER} oResponseMultipartEntity:Size=" STRING(oResponseMultipartEntity:Size). <-- Returns error I'm using version 11.7.3. Thanks in advance, West
Continue reading...
Continue reading...