[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Fri Mar 30 19:48:12 UTC 2007


gordonp
Fri Mar 30 15:48:12 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared
In directory dev.open-bio.org:/tmp/cvs-serv17403/src/main/org/biomoby/shared

Modified Files:
	MobyPrefixResolver.java 
Log Message:
Added WSRF/P and WS-Addressing support
moby-live/Java/src/main/org/biomoby/shared MobyPrefixResolver.java,1.8,1.9
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java	2007/03/12 16:58:48	1.8
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/MobyPrefixResolver.java	2007/03/30 19:48:12	1.9
@@ -36,6 +36,10 @@
     public static final String XSI2001_PREFIX = "xsi2001";
     public static final String SOAP_ENC_NAMESPACE ="http://schemas.xmlsoap.org/soap/encoding/";
     public static final String SOAP_ENC_PREFIX ="soap-enc";
+    public static final String WS_ADDRESSING_PREFIX = "wsa";
+    public static final String WS_ADDRESSING_NAMESPACE = "http://schemas.xmlsoap.org/ws/2004/03/addressing";
+    public static final String WSRP_PREFIX = "wsrp";
+    public static final String WSRP_NAMESPACE = "http://docs.oasis-open.org/wsrf/rp-2";
 
     /**
      * We don't really implement this as it can be extremely complicated.
@@ -145,6 +149,12 @@
 	else if(SOAP_ENC_PREFIX.equals(prefix)){
 	    return SOAP_ENC_NAMESPACE;
 	}
+	else if(WS_ADDRESSING_PREFIX.equals(prefix)){  //used by async services
+	    return WS_ADDRESSING_NAMESPACE;
+	}
+	else if(WSRP_PREFIX.equals(prefix)){ //used by async services
+	    return WSRP_NAMESPACE;
+	}
 	else{
 	    return "";  // Indicates that we don't have a mapping for this prefix
 	}




More information about the MOBY-guts mailing list