<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 6/18/15 7:59 AM,
<a class="moz-txt-link-abbreviated" href="mailto:Stephen.CTR.Chappell@faa.gov">Stephen.CTR.Chappell@faa.gov</a> wrote:<br>
</div>
<blockquote
cite="mid:2AF57F3BA98ED14499D518E94F44EA5D1D6FD907@006FCH1MPN2-023.006f.mgd2.msft.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.comment-copy
{mso-style-name:comment-copy;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">InitializationService.initialize()
is being called in the constructor of my service’s main
class; the marshalling code is called from a method in the
class. I don’t have any weird or non-standard classloading
anywhere, so I’m pretty sure it is not an
order-of-operations thing.</span></p>
</div>
</blockquote>
<br>
Ok, since you mention a main() class, I assume this isn't a webapp,
and so is a simple, flat classloader hierarchy.<br>
<br>
<br>
<blockquote
cite="mid:2AF57F3BA98ED14499D518E94F44EA5D1D6FD907@006FCH1MPN2-023.006f.mgd2.msft.net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">What I do
think it could be is that I’m missing dependencies. In v2, I
only needed a single opensaml dependency in my pom file. Is
the same true in v3? I had only opensaml-core listed, and
have just added opensaml-xmlsec-api, opensaml-profile-api,
opensaml-security-api, opensaml-storage-api, and
opensaml-saml-api, but I’m still having the same issue. Did
I miss a library? </span></p>
</div>
</blockquote>
<br>
<br>
Yes, you definitely need to add the corresponding -impl modules.
For SAML and the other schemas (XML Signature, Encryption, etc)
that's where all the object provider impls are located. You can't
do much SAML without those.<br>
<br>
That begs the question: It seems like you were trying to marshall an
Assertion, and I don't see how you could actually an actual instance
(as opposed to a null reference to the Assertion inteface) without
e.g. opensaml-saml-impl.<br>
<br>
<br>
<blockquote
cite="mid:2AF57F3BA98ED14499D518E94F44EA5D1D6FD907@006FCH1MPN2-023.006f.mgd2.msft.net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Or am I
going up the wrong tree here?<o:p></o:p></span></p>
<br>
</div>
</blockquote>
<br>
If you don't have any -impls, that would definitely be a problem.
However, I'm not immediately connecting that to the error you
reported. The global ParserPool is inited as a part of
opensaml-core, so that should be there with just opensaml-core as a
dependency. But maybe it's a non-obvious issue. Try adding the
-impl's as deps and see how far that gets you.<br>
</body>
</html>