ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wer...@apache.org
Subject svn commit: r355098 - in /webservices/commons/trunk/policy/src/examples: SimplePolicyExample.java policy2.xml
Date Thu, 08 Dec 2005 14:31:58 GMT
Author: werner
Date: Thu Dec  8 06:31:53 2005
New Revision: 355098

URL: http://svn.apache.org/viewcvs?rev=355098&view=rev
Log:
update examples to include some more options in the
policy2.xml (xml:base="...")

Modified:
    webservices/commons/trunk/policy/src/examples/SimplePolicyExample.java
    webservices/commons/trunk/policy/src/examples/policy2.xml

Modified: webservices/commons/trunk/policy/src/examples/SimplePolicyExample.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/policy/src/examples/SimplePolicyExample.java?rev=355098&r1=355097&r2=355098&view=diff
==============================================================================
--- webservices/commons/trunk/policy/src/examples/SimplePolicyExample.java (original)
+++ webservices/commons/trunk/policy/src/examples/SimplePolicyExample.java Thu Dec  8 06:31:53
2005
@@ -51,7 +51,8 @@
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         pwrt.writePolicy(norm, baos);
 
-		System.out.println(baos.toString());
+        System.out.println(baos.toString());
+        System.out.println("-----\n");
 
 		fis.close();
         /*

Modified: webservices/commons/trunk/policy/src/examples/policy2.xml
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/policy/src/examples/policy2.xml?rev=355098&r1=355097&r2=355098&view=diff
==============================================================================
--- webservices/commons/trunk/policy/src/examples/policy2.xml (original)
+++ webservices/commons/trunk/policy/src/examples/policy2.xml Thu Dec  8 06:31:53 2005
@@ -1,4 +1,4 @@
-<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+<wsp:Policy xml:base="uri:thisBase" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
             xmlns:sec="http://schemas.xmlsoap.org/ws/2002/12/secext" >
   <!-- 2 -->
   <sec:SecurityToken>



Mime
View raw message