Thanks a lot for pointing me in the right direction. I was getting confused by the AuthenticationRequestMarshaller class.<br><br>Kaustubh<br><br><div class="gmail_quote">On Fri, Sep 30, 2011 at 3:44 PM, Chad La Joie <span dir="ltr">&lt;<a href="mailto:lajoie@itumi.biz">lajoie@itumi.biz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Please start with the opensaml documentation[1] that describes it&#39;s<br>
basic usage.  It discusses how to initialize the library (which is the<br>
error you&#39;re seeing right now) and how to properly do the marshalling<br>
(which you&#39;re not doing right now).<br>
<br>
[1] <a href="https://wiki.shibboleth.net/confluence/display/OpenSAML/OSTwoUserManual" target="_blank">https://wiki.shibboleth.net/confluence/display/OpenSAML/OSTwoUserManual</a><br>
<div><div></div><div class="h5"><br>
On Fri, Sep 30, 2011 at 15:23, Kaustubh Nagraj &lt;<a href="mailto:kaustubh@easydita.com">kaustubh@easydita.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I am unsure if this si the right place for this question. I am relatively new at trying my hand on Open SAML2 but I am gonna go for it anyways.<br>
&gt;<br>
&gt; I am trying to setup my Service provider using OpenSAML2 libraries. I am trying to set up a servlet which would accept HttpRequest from user&#39;s browser and based on the request parameters I want to create a SAML Authentication request packet.<br>

&gt;<br>
&gt; I am able to create the SAML packet, however I want to Base64 encode the SAML so that I can redirect the user browser to the Identity provider server. In order to do that I am trying to marshall the SAML Authentication Request using &#39;org.opensaml.saml2.core.impl.AuthnRequestMarshaller#marshall(AuthnRequest)&#39;.<br>

&gt;<br>
&gt; This works fine when I try it outside of the web server environment (standalone JAVA application). However when I run it as a servlet component I get an error saying &quot;No marshaller available for {urn:oasis:names:tc:SAML:2.0:assertion}Issuer, child of {urn:oasis:names:tc:SAML:2.0:protocol}AuthnRequest&quot;, where Issuer is a component of the AuthnRequest object.<br>

&gt;<br>
&gt; I am using Tomcat 5.5.34 webserver. It would be nice if someone can help me figure out whats happening here. It would help others trying to write their own Service Providers as well.<br>
&gt;<br>
&gt; Thanks, Kaustubh<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br>
<br>
<br>
<br>
--<br>
Chad La Joie<br>
<a href="http://www.itumi.biz" target="_blank">www.itumi.biz</a><br>
trusted identities, delivered<br>
<font color="#888888">--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br>
</font></blockquote></div><br>