ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dasar...@apache.org
Subject svn commit: r358419 - in /webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor: ActivationRPCEndpoint.java RegistrationRPCEndpoint.java RegistrationRPCPort.java _CoordinationContext.java
Date Wed, 21 Dec 2005 23:14:02 GMT
Author: dasarath
Date: Wed Dec 21 15:13:58 2005
New Revision: 358419

URL: http://svn.apache.org/viewcvs?rev=358419&view=rev
Log: (empty)

Modified:
    webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/ActivationRPCEndpoint.java
    webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCEndpoint.java
    webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCPort.java
    webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/_CoordinationContext.java

Modified: webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/ActivationRPCEndpoint.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/ActivationRPCEndpoint.java?rev=358419&r1=358418&r2=358419&view=diff
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/ActivationRPCEndpoint.java
(original)
+++ webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/ActivationRPCEndpoint.java
Wed Dec 21 15:13:58 2005
@@ -24,7 +24,7 @@
 
 
 public class ActivationRPCEndpoint implements ActivationPortTypeRPC {
-	public static PortType PORT_TYPE= new PortType("http://schemas.xmlsoap.org/ws/2003/09/wscoor",
"ActivationPortTypeRPC");
+	public static PortType PORT_TYPE= new PortType("http://schemas.xmlsoap.org/ws/2004/10/wscoor",
"ActivationPortTypeRPC");
 	
 	public CreateCoordinationContextResponseType createCoordinationContextOperation(CreateCoordinationContextType
parameters)
 		throws RemoteException {

Modified: webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCEndpoint.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCEndpoint.java?rev=358419&r1=358418&r2=358419&view=diff
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCEndpoint.java
(original)
+++ webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCEndpoint.java
Wed Dec 21 15:13:58 2005
@@ -31,7 +31,7 @@
 
 
 public class RegistrationRPCEndpoint implements RegistrationPortTypeRPC {
-	public static PortType PORT_TYPE= new PortType("http://schemas.xmlsoap.org/ws/2003/09/wscoor",
"RegistrationPortTypeRPC"); 
+	public static PortType PORT_TYPE= new PortType("http://schemas.xmlsoap.org/ws/2004/10/wscoor",
"RegistrationPortTypeRPC"); 
 	
 	public RegisterResponseType registerOperation(RegisterType parameters) throws RemoteException
{
 		try {

Modified: webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCPort.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCPort.java?rev=358419&r1=358418&r2=358419&view=diff
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCPort.java
(original)
+++ webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/RegistrationRPCPort.java
Wed Dec 21 15:13:58 2005
@@ -38,6 +38,7 @@
 			// FIXME: 
 			// the following line was added for interop testing against IBM endpoint  
 			url= url.replaceAll("wsi\\.alphaworks\\.ibm\\.com:8080", "localhost:8082");
+			System.out.print(url);
 			stub= new RegistrationPortTypeRPCBindingStub(new URL(url), new Service(epr));
 		}
 		catch (Exception e) {

Modified: webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/_CoordinationContext.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/_CoordinationContext.java?rev=358419&r1=358418&r2=358419&view=diff
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/_CoordinationContext.java
(original)
+++ webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wscoor/_CoordinationContext.java
Wed Dec 21 15:13:58 2005
@@ -35,17 +35,17 @@
 
 public class _CoordinationContext {
 	static final Name NAME_COORDINATION_CONTEXT=
-		new PrefixedQName("http://schemas.xmlsoap.org/ws/2003/09/wscoor", "CoordinationContext",
"wscoor");
+		new PrefixedQName("http://schemas.xmlsoap.org/ws/2004/10/wscoor", "CoordinationContext",
"wscoor");
 	static final Name NAME_IDENTIFIER=
 		new PrefixedQName("http://schemas.xmlsoap.org/ws/2002/07/utility", "Identifier", "wsu");
 	static final Name NAME_COORDINATION_TYPE=
-		new PrefixedQName("http://schemas.xmlsoap.org/ws/2003/09/wscoor", "CoordinationType", "wscoor");
+		new PrefixedQName("http://schemas.xmlsoap.org/ws/2004/10/wscoor", "CoordinationType", "wscoor");
 	static final Name NAME_REGISTRATION_SERVICE=
-		new PrefixedQName("http://schemas.xmlsoap.org/ws/2003/09/wscoor", "RegistrationService",
"wscoor");
+		new PrefixedQName("http://schemas.xmlsoap.org/ws/2004/10/wscoor", "RegistrationService",
"wscoor");
 	static final Name NAME_ADDRESS=
-		new PrefixedQName("http://schemas.xmlsoap.org/ws/2004/03/addressing", "Address", "wsa");
+		new PrefixedQName("http://schemas.xmlsoap.org/ws/2004/08/addressing", "Address", "wsa");
 	static final Name NAME_REFERENCE_PROPERTIES=
-		new PrefixedQName("http://schemas.xmlsoap.org/ws/2004/03/addressing", "ReferenceProperties",
"wsa");
+		new PrefixedQName("http://schemas.xmlsoap.org/ws/2004/08/addressing", "ReferenceProperties",
"wsa");
 
 	CoordinationContext ctx;
 
@@ -72,12 +72,20 @@
 		if (!is(el))
 			throw new IllegalArgumentException();
 		ctx= new CoordinationContext();
+		System.out.println("[_CoordinationContext] 1");
 		try {			
 			NodeList list=
 				el.getElementsByTagNameNS(NAME_IDENTIFIER.getURI(), NAME_IDENTIFIER.getLocalName());
+			System.out.println("[_CoordinationContext] 1.1");
 			Element node= (Element)list.item(0);
-			ctx.setIdentifier(new CoordinationContextTypeIdentifier(TextExtractor.getText(node)));
+			System.out.println("[_CoordinationContext] 1.2");
+			String s = TextExtractor.getText(node);
+			System.out.println("[_CoordinationContext] 1.3");
+			if (s == null || s.trim().equals(""))
+				s = "urn:unknown";
+			ctx.setIdentifier(new CoordinationContextTypeIdentifier(s));
 
+			System.out.println("[_CoordinationContext] 2");
 			list=
 				el.getElementsByTagNameNS(
 					NAME_COORDINATION_TYPE.getURI(),
@@ -85,13 +93,16 @@
 			node= (Element)list.item(0);
 			ctx.setCoordinationType(new URI(TextExtractor.getText(node)));
 
+			System.out.println("[_CoordinationContext] 3");
 			list=
 				el.getElementsByTagNameNS(
 					NAME_REGISTRATION_SERVICE.getURI(),
 					NAME_REGISTRATION_SERVICE.getLocalName());
 			node= (Element)list.item(0);
 
+			System.out.println("[_CoordinationContext] 4");
 			EndpointReference epr= new EndpointReference(node);
+			System.out.println("[_CoordinationContext] 5");
 			ctx.setRegistrationService(epr);
 		}
 		catch (Exception e) {



---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org


Mime
View raw message