[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: OpenEdge.http.net.pl server SOAP+XML response into a Longchar?

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
The HTTP client has a series of pluggable writers to convert message response bodies (entities) into better objects. You should be able to add/overwrite the values there by default. These are in the OpenEdge.Net.HTTP.Filter.Writer.EntityWriterRegistry class. Somewhere before you call SOAP endpoint, add this line. This should result in you getting the XML in a LONGCHAR OpenEdge.Net.HTTP.Filter.Writer.EntityWriterRegistry:Registry : Put ( 'application/soap+xml' :u, get-class (StringEntityWriter)) Note that these are static registries (in the sense that they persist for the lifetime of the session, or until you remove the entry.

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