mace-opensaml-users - RE: SAMLSoapBinding.response with exception
Subject: OpenSAML user discussion
List archive
- 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
- OpenSAML on Websphere/Solaris, Sanga Viswanathan, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Sanga Viswanathan, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
- SAMLSoapBinding.response with exception, Mike Ferraro, 09/17/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/17/2004
- Re: SAMLSoapBinding.response with exception, Mike Ferraro, 09/20/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/20/2004
- Re: SAMLSoapBinding.response with exception, Mike Ferraro, 09/20/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/20/2004
- Re: SAMLSoapBinding.response with exception, Mike Ferraro, 09/20/2004
- RE: SAMLSoapBinding.response with exception, Scott Cantor, 09/17/2004
- SAMLSoapBinding.response with exception, Mike Ferraro, 09/17/2004
- org.xml.sax.SAXParseException: Content is not allowed in prolog, Jason Pedone, 09/20/2004
- Re: org.xml.sax.SAXParseException: Content is not allowed in prolog, Paul Devine, 09/20/2004
- RE: org.xml.sax.SAXParseException: Content is not allowed in prolog, Scott Cantor, 09/20/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Sanga Viswanathan, 09/13/2004
- RE: OpenSAML on Websphere/Solaris, Scott Cantor, 09/13/2004
Archive powered by MHonArc 2.6.16.