Reverse Engineering Commerceone Adapter

I’m currently involved in migrating from wM to SeeBeyond and we have to provide same functionality provided by the wM C1 adapter. I’ve been able to capture the ack (for asynch. transactions like PO’s) and the synch. response for OrderStatusRequests (which is an OrderStatusResult) which also includes all of the http headers. However, when I try to post the data back to the xpc server that initiated the transaction using the same connection, it fails to be read by the xpc server. I’ve confirmed that the response is getting back to the server that sent it, but it fails there. Any template that you might have for these responses would be apprecaited.