From 6b7df32316881105833eaff57cb9353de8761703 Mon Sep 17 00:00:00 2001 From: "peter.danner" Date: Thu, 19 Jul 2007 14:12:23 +0000 Subject: =?UTF-8?q?Fix=20f=C3=BCr=20Parserproblem:=20der=20XML=20Parser=20?= =?UTF-8?q?erwartet,=20wenn=20ein=20String=20uebergeben=20wird,=20einen=20?= =?UTF-8?q?URN.=20Im=20Beispiel=20wird=20aber=20das=20XML=20Dokument=20ans?= =?UTF-8?q?tatt=20der=20URN=20uebergeben.=20Das=20fuehrt=20zu=20einer=20ja?= =?UTF-8?q?va.net.MalformedURLException:=20no=20protocol:=20Exception.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@851 d688527b-c9ab-4aba-bd8d-4036d912da1d --- id.server/doc/moa_id/examples/LoginServletExample.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'id.server/doc/moa_id/examples') diff --git a/id.server/doc/moa_id/examples/LoginServletExample.txt b/id.server/doc/moa_id/examples/LoginServletExample.txt index e085e4126..587ef5e97 100644 --- a/id.server/doc/moa_id/examples/LoginServletExample.txt +++ b/id.server/doc/moa_id/examples/LoginServletExample.txt @@ -73,7 +73,7 @@ public class LoginServletExample extends HttpServlet { "" + samlArtifact + ""; - Document root_request = builder.parse(samlRequest); + Document root_request = builder.parse(new ByteArrayInputStream(samlRequest.getBytes())); // Neues SOAPBodyElement anlegen und mit dem DOM-Baum füllen SOAPBodyElement body = new SOAPBodyElement(root_request.getDocumentElement()); -- cgit v1.2.3