socket response and xml

c0ry

New Member
I am currently trying to create a framework for a future application. I currently am generating an xml document in progress, opening a socket connection to a .p, sending the xml document over the socket and waiting for a response. I am generating an xml response in the .p and setting the type to text/xml. The first application recieves the response and stores it in a memptr. Now the problem I am running into is that when I try to load the recieved data in the memptr to a x-document handle I get an error because of the http header information in the memptr. (or at least I think that is why since in the .p I check to make sure the incoming is xml and then I just write it back out).

The question is, how do I remove that header information from the memptr so that I can load the response into a x-document handle?

Thanks,
Cory
 
Back
Top