Skip to Content.
Sympa Menu

mace-opensaml-users - Exception upon parsing SAML request

Subject: OpenSAML user discussion

List archive

Exception upon parsing SAML request


Chronological Thread 
  • From: "Alexander Mueller" <>
  • To: <>
  • Subject: Exception upon parsing SAML request
  • Date: Thu, 25 Aug 2005 15:27:44 +0200


Hello,

upon trying to parse the following SAML request

<?xml version="1.0" encoding="utf-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/";>
<soap-env:Header />
<soap-env:Body>
<samlp:Request
xmlns:samlp="urn:oasis:names:tc:SAML:1.1:protocol"
MajorVersion="1"
MinorVersion="1"
RequestID="_192.168.16.51.1024506224022"
IssueInstant="2002-06-19T17:03:44.022Z">

<samlp:AssertionArtifact>AAFCUlogU0FNTCBlU2hvcCBJRCAgIJ3uB+qPG9IbmTZKf16/aogXOdTW</samlp:AssertionArtifact>
</samlp:Request>
</soap-env:Body>
</soap-env:Envelope>


and passing the input stream to SAMLRequest, I am getting this exception


java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
java.lang.Integer.parseInt(Integer.java:489)
java.lang.Integer.parseInt(Integer.java:518)
org.opensaml.SAMLRequest.fromDOM(Unknown Source)
org.opensaml.SAMLRequest.<init>(Unknown Source)


As far as I can see there are only two locations where fromDOM() calls
parseInt() and this is at parsing the SAML version number .....

Thanks for help,
Alexander



Archive powered by MHonArc 2.6.16.

Top of Page