From: JT J. <jt-...@si...> - 2006-04-26 16:56:58
|
Hi, everyone. I posted an updated patch the other day on the 'users' list to make mod_perl2 work with SOAP::Lite 0.6.7. I would have posted here, but I had never noticed that this list exists. I've now found another issue. I have had for a while a working CGI server. I wanted to make it work in mod_perl. I made the changes, and when testing it with my SOAP::Lite client, the change seemed to be seamless. Unfortunately, when I pointed the production client - Intuit's QBWebConnector, which is in .NET - I got parsing errors (specifically, 'The data at the root level is invalid. Line 1, position 1.'). After quite a lot of digging, I finally captured the decrypted HTTP session to each server (patched SOAP::Transport::HTTP::Apache / unpatched SOAP::Transport::HTTP::CGI) using Ethereal and ssldump. You can see the session at: http://pastebin.com/683272 The important part is that the 'HTTP/1.1 100 Continue' line is being printed before the xml, and .NET stubbornly insists on parsing it as the start of the xml. I don't know who's wrong. I don't see why a 'Continue' is needed at that point. I do know that if I comment out those lines, the client seems to function. If this is incorrect, it could be due to a mod_perl2 change that I didn't accommodate in my patch. So can someone clarify what should be happening? JT -- |Waiting to fix the world since 1995| "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something." - Robert Heinlein |