Skip to Content.
Sympa Menu

mace-opensaml-users - RE: SAMLSoapBinding.response with exception

Subject: OpenSAML user discussion

List archive

RE: SAMLSoapBinding.response with exception


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Mike Ferraro'" <>, <>
  • Subject: RE: SAMLSoapBinding.response with exception
  • Date: Fri, 17 Sep 2004 13:30:52 -0400
  • Organization: The Ohio State University

> // respond with SAMLSoapBinding.respond()
> binding.respond(resp, samlResp, se);

Note that the third parameter is for triggering a SOAP fault, not for
passing back an error Status in a Response. Basically, you do one or the
other. Why there aren't just separate methods, I haven't a clue at the
moment. I don't know what I was thinking at the time.

> [ERROR] [17 Sep 2004 12:33:05,609] send() received an invalid
> content type
> in the response (text/html), with the following content:

Well, that means something must be failing and not catching the error, and
it's probably sending back an HTML page with the error, if I had to guess. I
caught various errors as a failsafe, and triggered a servlet error response
in those cases.

I'd suggest capturing the input and using a command line tool like curl to
simulate the POST if you're not sure.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page