You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by da...@apache.org on 2005/12/24 03:08:09 UTC
svn commit: r358909 -
/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/CompletionInitiatorPort.java
Author: dasarath
Date: Fri Dec 23 18:08:08 2005
New Revision: 358909
URL: http://svn.apache.org/viewcvs?rev=358909&view=rev
Log: (empty)
Added:
webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/CompletionInitiatorPort.java
Added: webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/CompletionInitiatorPort.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/CompletionInitiatorPort.java?rev=358909&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/CompletionInitiatorPort.java (added)
+++ webservices/kandula/branches/Kandula_1/src/java/org/apache/ws/transaction/wsat/CompletionInitiatorPort.java Fri Dec 23 18:08:08 2005
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.ws.transaction.wsat;
+
+import java.net.URL;
+import java.rmi.RemoteException;
+
+import org.apache.ws.transaction.utility.Service;
+
+
+/**
+ * @author Dasarath Weeratunge
+ *
+ * Created on Jun 14, 2004
+ */
+public class CompletionInitiatorPort {
+ CompletionInitiatorPortType stub;
+
+ public CompletionInitiatorPort(org.apache.axis.message.addressing.EndpointReference epr) {
+ try {
+ String url = epr.getAddress().toString();
+ // 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 CompletionInitiatorStub(new URL(url), new Service(epr));
+ }
+ catch (Exception e) {
+ throw new IllegalArgumentException(e.toString());
+ }
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.ws.transaction.wsat.CompletionInitiatorPortType#committedOperation(org.apache.ws.transaction.wsat.Notification)
+ */
+ public void committedOperation() throws RemoteException {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.ws.transaction.wsat.CompletionInitiatorPortType#abortedOperation(org.apache.ws.transaction.wsat.Notification)
+ */
+ public void abortedOperation() throws RemoteException {
+ // TODO Auto-generated method stub
+
+ }
+
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org