Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ISAPI ITS_RAW receiving corrupt data

Status
Not open for further replies.

pumpkinapo

Programmer
Dec 10, 2002
16
US
Looking for a little insight into an issue I can't seem to solve. We have an in-house written ISAPI extension to handle the submission of XML into our data system. What we are seeing is that when several small consecutive posts of data are being passed into the ISAPI extension some will come through incomplete or with what appears to be corrupt data. Since most sumbissions work, I don't believe we have an issue with our ON_PARSE_COMMAND:

ON_PARSE_COMMAND(XMLPost,XMLAPIExtension,ITS_RAW)

Then we have our function:

void XMLAPIExtension:: XMLPost(CHttpServerContext* pCtxt, void* pVoid, DWORD dwBytes)

First thing I would do is write out pVoid to a local file and get an output of:

dwBytes = 577
pVoid = <?xml version="1.0"?>
<RECORDS>
<RETREC>
<task>1</task>
<enûr_V

Anyone run into this before?

Peter Leing
Web Programmer
Cenlar FSB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top