Skip to Content.
Sympa Menu

mace-opensaml-users - Re: FAILED: SAMLAction

Subject: OpenSAML user discussion

List archive

Re: FAILED: SAMLAction


Chronological Thread 
  • From: qingjin <>
  • To: ,
  • Subject: Re: FAILED: SAMLAction
  • Date: Mon, 14 Jun 2004 11:53:03 +0100

Hi, Andy

Thanks for your quick reply.

There is a new error: (the opensaml has been installed in /opt/shibboleth-target-1.2/)
cd /opt/shibboleth-target-1.2/data
tester -dump file -skipis
Five files generated: (no errors at all)
SAMLAction.xml
SAMLAttributeQuery.xml
SAMLAuthorizationDecisionQuery.xml
SAMLAuthorizationDecisionStatement.xml
SAMLEvidence.xml

Then
tester -edir /opt/shibboleth-target-1.2/data/ (or tester -edir /opt/shibboleth-target-1.2/data -sdir /opt/shibboleth-target-1.2/etc/opensaml)
////////////////////////////////////////////////////
Each class undergoes the following tests:
- basic construction
- serialize from DOM
- getter methods
- cloning
- deserialization
- serialize from input stream (optional)


Schema directory is "../schemas"
Node serialization will not be written anywhere
Deserializing from files in "/opt/shibboleth-target-1.2/data/"

1087208061 INFO SAML.SAMLInternalConfig init: library initialization complete

SAMLAction
Action with no namespace
Valid object...OK
Build from DOMElement...OK
Getter methods...OK
Clone...OK
Serialization...OK
Deserialize from an input stream...1087208061 WARN SAML.XML.ParserPool handleError: warning on line 0, column 0, message: An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=../schemas/soap-envelope.xsd
1087208061 WARN SAML.XML.ParserPool handleError: warning on line 0, column 0, message: An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=../schemas/xmldsig-core-schema.xsd
1087208061 WARN SAML.XML.ParserPool handleError: warning on line 0, column 0, message: An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=../schemas/xmldsig-filter2.xsd
1087208061 WARN SAML.XML.ParserPool handleError: warning on line 0, column 0, message: An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=../schemas/xml.xsd
1087208061 WARN SAML.XML.ParserPool handleError: warning on line 0, column 0, message: An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=../schemas/cs-sstc-schema-assertion-1.1.xsd
1087208061 WARN SAML.XML.ParserPool handleError: warning on line 0, column 0, message: An exception occurred! Type:RuntimeException, Message:Warning: The primary document entity could not be opened. Id=../schemas/cs-sstc-schema-protocol-1.1.xsd
1087208061 ERROR SAML.XML.ParserPool handleError: error on line 1, column 108, message: Unknown element 'Action'

FAILED: SAMLAction:
SAML exception caught: XML::Parser detected an error during parsing: Unknown element 'Action'
1087208061 INFO SAML.SAMLInternalConfig term: library shutdown complete

Completed the test run with errors.
/////////////////////////////
All 8 schemas (including soap-envelope.xsd) are in /opt/shibboleth-target-1.2/etc/opensaml

Any idea?

B.R.

Qing


??:

Hi,

Does the problem have anything to do with the deserialization files not
existing?

The "invalid document structure" parser error will occur if the XML files used for
deserialization cannot be found. These files can be created by a once-only run of the
"tester" program that skips deserialization, e.g.

[prompt] $ ./tester -dump file -skipis

This will create files with names like "SAMLAction.xml". Unfortunately, these files are
written to the current directory, and may need to be moved somewhere sensible. For example,
create a "../data/" directory, populate with the *.xml files and run

[prompt] $ ./tester -edir ../data/

Andy






Archive powered by MHonArc 2.6.16.

Top of Page