error in the auth code?

2009-05-02 Thread Sam Carleton
Ok, my code is quickly getting out of hand. I have a C#.Net WCF app calling a Axis2/C module running on Apache that has custom authentication module. When I set a breakpoint on the my ap_hook_access_checker function to check the path, like a 2 second pause, than remove the breakpoint, the call

Re: error in the auth code? (I think I found the key piece of info)

2009-05-02 Thread Joe Lewis
Sam Carleton wrote: Ok, I think in my last email I covered up the actual problem by adding a CRLF. In the apache log file I am getting this: Invalid URI in request s:Envelope xmlns:s= http://schemas.xmlsoap.org/soap/envelope/;s:Body xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;

Re: error in the auth code? (I think I found the key piece of info)

2009-05-02 Thread Joe Lewis
Sam Carleton wrote: Ok, I think in my last email I covered up the actual problem by adding a CRLF. In the apache log file I am getting this: Invalid URI in request s:Envelope xmlns:s= http://schemas.xmlsoap.org/soap/envelope/;s:Body xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;

Re: error in the auth code? (I think I found the key piece of info)

2009-05-02 Thread Sam Carleton
On Sat, May 2, 2009 at 3:35 PM, Joe Lewis j...@joe-lewis.com wrote: I expect that the client is doing this. Since you are using C#, it will try and make every request under the same connection. With what you have described, it is more than likely a problem with the client trying to run

Re: error in the auth code? (I think I found the key piece of info)

2009-05-02 Thread Sam Carleton
On Sat, May 2, 2009 at 3:45 PM, Sam Carleton scarle...@gmail.com wrote: The question is... How do I do that? By calling ap_discard_request_body(r) in the correct location!

Re: error in the auth code?

2009-05-02 Thread Joe Lewis
Sam Carleton wrote: When I set a breakpoint on the my ap_hook_access_checker function to check the path, like a 2 second pause, than remove the breakpoint, the call to the Axis2/C code is just fine. When there is no pause I get an error 400. The only times I've ever seen a bad request is