Is this the correct place to ask this question?<br><br>I am using openSAML to build a simple SP.<br><br>I know in a standard way, we use this to get the Response object:<br>        BasicSAMLMessageContext messageContext = new BasicSAMLMessageContext();<br>

        messageContext.setInboundMessageTransport( new HttpServletRequestAdapter(request) );<br>                <br>        HTTPPostDecoder decoder = new HTTPPostDecoder();<br>        decoder.decode( messageContext );<br>

        Response rsp = (Response) context.getInboundMessage();  <br><br>Suppose now I don&#39;t have the HttpServletRequest. What I have is plain XML string like:<br><br><span class="e">&lt;samlp:Response </span><span class="am">Destination</span>=&quot;<span class="ad"></span><span class="e">...&quot;&gt;</span><br>

  <span class="e">&lt;saml:Issuer </span><span class="am">xmlns:saml</span>=&quot;<span class="ad">urn:oasis:names:tc:SAML:2.0:assertion</span>&quot;<span class="e">&gt;</span><br>  <span class="e">&lt;/saml:Issuer</span><span class="e">&gt;</span><br>

  ...<br>  ...<br>&lt;/smalp:Response&gt;<br><br>What method should I call the parse this XML string into Response object?<br><br><br>Best,<br clear="all">Yaowen<br>