From: cvs@openprivacy.orgCVS update: sierra/src/java/org/openprivacy/sierra/client
Date: Tuesday January 16, 19101 @ 9:14
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client
-----------------------------------
Update of /usr/local/cvsroot/sierra/src/java/org/openprivacy/sierra/client
In directory openprivacy.org:/tmp/cvs-serv18881/src/java/org/openprivacy/sierra/client
Modified Files:
GetReputation.java
Log Message:
reputation:// URI is added... but currently broken I think...
*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/client/GetReputation.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client/GetReputation.java?annotate=1.4
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client/GetReputation.java?rev=1.4&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client/GetReputation.java.diff?r1=1.4&r2=1.3
-----------------------------------
Index: sierra/src/java/org/openprivacy/sierra/client/GetReputation.java
diff -u sierra/src/java/org/openprivacy/sierra/client/GetReputation.java:1.3 sierra/src/java/org/openprivacy/sierra/client/GetReputation.java:1.4
--- sierra/src/java/org/openprivacy/sierra/client/GetReputation.java:1.3 Sun Jan 14 22:40:51 2001
+++ sierra/src/java/org/openprivacy/sierra/client/GetReputation.java Tue Jan 16 09:14:48 2001
@@ -57,7 +57,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: GetReputation.java,v 1.3 2001/01/15 06:40:51 burton Exp $
+ * @version $Id: GetReputation.java,v 1.4 2001/01/16 17:14:48 burton Exp $
*/
public GetReputation( String rpcRouter,
String reference ) throws Exception {
@@ -69,10 +69,15 @@
smr.mapTypes(Constants.NS_URI_SOAP_ENC,
new QName("http://schemas.openprivacy.org/core/reputation/12/2000/", "reputation"),
Reputation.class, beanSer, beanSer);
+
smr.mapTypes(Constants.NS_URI_SOAP_ENC,
new QName("http://schemas.openprivacy.org/core/reputation/12/2000/value/", "value"),
Value.class, beanSer, beanSer);
+ smr.mapTypes(Constants.NS_URI_SOAP_ENC,
+ new QName("http://schemas.openprivacy.org/core/reputation/12/2000/principal/", "principal"),
+ URIReference.class, beanSer, beanSer);
+
// Build the call.
Call call = new Call();
@@ -84,8 +89,8 @@
//add the Reputation as the param...
Vector params = new Vector();
- params.addElement(new Parameter("reference", String.class,
- reference, null));
+ params.addElement( new Parameter( "reference", String.class,
+ reference, null ));
call.setParams(params);
Response resp = call.invoke( new URL( rpcRouter ), "" );
@@ -110,7 +115,7 @@
* Get the reputation returned from the GetReputation object.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: GetReputation.java,v 1.3 2001/01/15 06:40:51 burton Exp $
+ * @version $Id: GetReputation.java,v 1.4 2001/01/16 17:14:48 burton Exp $
*/
public Reputation getReputation() {
return this.reputation;
@@ -120,7 +125,7 @@
* main()
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: GetReputation.java,v 1.3 2001/01/15 06:40:51 burton Exp $
+ * @version $Id: GetReputation.java,v 1.4 2001/01/16 17:14:48 burton Exp $
*/
public static void main( String[] args ) {
@@ -186,7 +191,7 @@
* Show the user how to work the system.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: GetReputation.java,v 1.3 2001/01/15 06:40:51 burton Exp $
+ * @version $Id: GetReputation.java,v 1.4 2001/01/16 17:14:48 burton Exp $
*/
public static void showSyntax() {
This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:15 PST