ECP soap message in logs?

Scott Koranda skoranda at gmail.com
Wed Apr 29 15:07:09 EDT 2015


> I am actually using the latest ECP perl script provided by CILogon and
> following up on that thread, I'd assumed the content-type was set and fixed
> in that script by Scott K.

I just updated the bash ecp.sh script. It is available at

https://wiki.shibboleth.net/confluence/display/SHIB2/Contributions

It sets the content type for the POST to the IdP to be 'text/xml',
which is the correct value for the version of SOAP (1.1) on which the
ECP profile is currently based.

>  it seems like it's setting the headers correctly,
> if I am reading this right:
> https://cilogon.org/ecp.pl

Jim Basney and his team maintains that script. I will drop them a note.

Thanks,

Scott K

>
> -----Original Message-----
> From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
> Sent: Wednesday, April 29, 2015 11:40 AM
> To: Shib Users
> Subject: Re: ECP soap message in logs?
>
> On 4/29/15, 6:36 PM, "Misagh Moayyed" <mmoayyed at unicon.net> wrote:
>
>
>
>>Is there a way to view the content of the ECP soap message in the IDP
>>logs? I am troubleshooting an issue with ECP where the logs seem to
>>indicate that the SOAP message received is invalid.  This is a
>>SAXException with a “premature end of file” error.
>
> Long thread on the dev list and bug discussion in Jira literally 2 days ago.
> Your ECP client isn't setting content-type, and you can no longer get away
> without that because of the use of Spring Web Flow in v3. Set content type
> appropriately and it should work.
>
>>I have adjusted the relevant log levels to DEBUG, but looking at the
>>code, I can’t trace a statement that would log the received input stream.
>>It seems to want to parse it directly.
>
> It doesn't get logged until it's already been parsed.
>
> -- Scott
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list