juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r789888 - in /webservices/juddi/branches/v3_trunk: juddi-core/src/main/java/org/apache/juddi/subscription/ juddi-cxf/src/main/webapp/WEB-INF/ uddi-client/src/main/java/org/uddi/api_v3/client/transport/
Date Tue, 30 Jun 2009 19:23:48 GMT
Author: kstam
Date: Tue Jun 30 19:23:48 2009
New Revision: 789888

URL: http://svn.apache.org/viewvc?rev=789888&view=rev
Log:
JUDDI-188 - changes to make it deployable to cxf in jboss.

Added:
    webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/jbossws-web.xml
Modified:
    webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/subscription/SubscriptionNotifier.java
    webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/Transport.java

Modified: webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/subscription/SubscriptionNotifier.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/subscription/SubscriptionNotifier.java?rev=789888&r1=789887&r2=789888&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/subscription/SubscriptionNotifier.java
(original)
+++ webservices/juddi/branches/v3_trunk/juddi-core/src/main/java/org/apache/juddi/subscription/SubscriptionNotifier.java
Tue Jun 30 19:23:48 2009
@@ -63,7 +63,7 @@
 	private UDDISubscriptionImpl subscriptionImpl = new UDDISubscriptionImpl();
 	private static long ACCEPTABLE_LAG_TIME = 20l; //20 milliseconds
 	private static String SUBR_V3_NAMESPACE = "urn:uddi-org:subr_v3_portType";
-	private static String SUBSCRIPTION_LISTENER = "SubscriptionListenerService";
+	private static String SUBSCRIPTION_LISTENER = "UDDISubscriptionListenerService";
 	
 	public SubscriptionNotifier() throws ConfigurationException {
 		super();

Added: webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/jbossws-web.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/jbossws-web.xml?rev=789888&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/jbossws-web.xml
(added)
+++ webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/WEB-INF/jbossws-web.xml
Tue Jun 30 19:23:48 2009
@@ -0,0 +1,106 @@
+<?xml version="2.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<!--
+        Licensed to the Apache Software Foundation (ASF) under one
+        or more contributor license agreements. See the NOTICE file
+        distributed with this work for additional information
+        regarding copyright ownership. The ASF licenses this file
+        to you 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.
+-->
+<web-app>
+  <context-param>
+    <param-name>log4jConfigLocation</param-name>
+    <param-value>/WEB-INF/classes/log4j.properties</param-value>
+  </context-param>
+  <servlet>
+    <servlet-name>RegistryServlet</servlet-name>
+    <display-name>Registry Servlet</display-name>
+    <servlet-class>org.apache.juddi.RegistryServlet</servlet-class>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+  <servlet>
+    <servlet-name>UDDISecurityWS</servlet-name>
+    <servlet-class>org.jboss.wsf.stack.cxf.CXFServletExt</servlet-class>
+    <init-param>
+      <param-name>jboss.ws.endpoint</param-name>
+      <param-value>org.apache.juddi.api.impl.UDDISecurityImpl</param-value>
+    </init-param>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>UDDISecurityWS</servlet-name>
+    <url-pattern>/services/security/*</url-pattern>
+  </servlet-mapping>
+  <servlet>
+    <servlet-name>UDDIPublicationWS</servlet-name>
+    <servlet-class>org.jboss.wsf.stack.cxf.CXFServletExt</servlet-class>
+    <init-param>
+      <param-name>jboss.ws.endpoint</param-name>
+      <param-value>org.apache.juddi.api.impl.UDDIPublicationImpl</param-value>
+    </init-param>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>UDDIPublicationWS</servlet-name>
+    <url-pattern>/services/publish/*</url-pattern>
+  </servlet-mapping>
+  <servlet>
+    <servlet-name>UDDIInquiryWS</servlet-name>
+    <servlet-class>org.jboss.wsf.stack.cxf.CXFServletExt</servlet-class>
+    <init-param>
+      <param-name>jboss.ws.endpoint</param-name>
+      <param-value>org.apache.juddi.api.impl.UDDIInquiryImpl</param-value>
+    </init-param>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>UDDIInquiryWS</servlet-name>
+    <url-pattern>/services/inquiry/*</url-pattern>
+  </servlet-mapping>
+  <servlet>
+    <servlet-name>UDDISubscriptionWS</servlet-name>
+    <servlet-class>org.jboss.wsf.stack.cxf.CXFServletExt</servlet-class>
+    <init-param>
+      <param-name>jboss.ws.endpoint</param-name>
+      <param-value>org.apache.juddi.api.impl.UDDISubscriptionImpl</param-value>
+    </init-param>
+  </servlet>
+    <servlet-mapping>
+    <servlet-name>UDDISubscriptionWS</servlet-name>
+    <url-pattern>/services/subscription/*</url-pattern>
+  </servlet-mapping>
+  <servlet>
+    <servlet-name>UDDISubscriptionListenerWS</servlet-name>
+    <servlet-class>org.jboss.wsf.stack.cxf.CXFServletExt</servlet-class>
+    <init-param>
+      <param-name>jboss.ws.endpoint</param-name>
+      <param-value>org.apache.juddi.api.impl.UDDISubscriptionListenerImpl</param-value>
+    </init-param>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>UDDISubscriptionListenerWS</servlet-name>
+    <url-pattern>/services/subscription-listener/*</url-pattern>
+  </servlet-mapping>
+  <servlet>
+    <servlet-name>UDDICustodyTransferWS</servlet-name>
+    <servlet-class>org.jboss.wsf.stack.cxf.CXFServletExt</servlet-class>
+    <init-param>
+      <param-name>jboss.ws.endpoint</param-name>
+      <param-value>org.apache.juddi.api.impl.UDDICustodyTransferImpl</param-value>
+    </init-param>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>UDDICustodyTransferWS</servlet-name>
+    <url-pattern>/services/custody-transfer/*</url-pattern>
+  </servlet-mapping>
+</web-app>
+  

Modified: webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/Transport.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/Transport.java?rev=789888&r1=789887&r2=789888&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/Transport.java
(original)
+++ webservices/juddi/branches/v3_trunk/uddi-client/src/main/java/org/uddi/api_v3/client/transport/Transport.java
Tue Jun 30 19:23:48 2009
@@ -29,12 +29,12 @@
 	public final static String SUBR_V3_NAMESPACE	         = "urn:uddi-org:subr_v3_portType";
 	public final static String CUSTODY_V3_NAMESPACE          = "urn:uddi-org:custody_v3_portType";
 	
-	public final static String INQUIRY_SERVICE               = "InquiryService";
-	public final static String SECURITY_SERVICE              = "SecurityService";
-	public final static String PUBLISH_SERVICE               = "PublishService";
-	public final static String SUBSCRIPTION_SERVICE          = "SubscriptionService";
-	public final static String SUBSCRIPTION_LISTENER_SERVICE = "SubscriptionListenerService";
-	public final static String CUSTODY_TRANSFER_SERVICE      = "CustodyTransferService";
+	public final static String INQUIRY_SERVICE               = "UDDIInquiryService";
+	public final static String SECURITY_SERVICE              = "UDDISecurityService";
+	public final static String PUBLISH_SERVICE               = "UDDIPublicationService";
+	public final static String SUBSCRIPTION_SERVICE          = "UDDISubscriptionService";
+	public final static String SUBSCRIPTION_LISTENER_SERVICE = "UDDISubscriptionListenerService";
+	public final static String CUSTODY_TRANSFER_SERVICE      = "UDDICustodyTransferService";
 	
 	UDDIInquiryPortType getInquiryService()           throws TransportException;
 	UDDISecurityPortType getSecurityService()         throws TransportException;



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


Mime
View raw message