You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by mm...@apache.org on 2004/09/24 02:11:21 UTC

svn commit: rev 47133 - in incubator/beehive/trunk/wsm: drt/tests/org/apache/beehive/wsm/jsr181/model src/runtime/org/apache/beehive/wsm/jsr181/model

Author: mmerz
Date: Thu Sep 23 17:11:21 2004
New Revision: 47133

Modified:
   incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.java
   incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java
Log:
Contributor: Wolfgang

****
Hi there,

I have a checkin request for WSM.
I've added a wsEndpointInterface variable and getter/setter methods for it in WebServiceTYPEMetadata which holds the value of the endpointInterface of the WebService annotation.
And modified Jsr181ModelTest test case for the endpointinterface.

Thanks.

wolfgang



Modified: incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.java
==============================================================================
--- incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.java	(original)
+++ incubator/beehive/trunk/wsm/drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.java	Thu Sep 23 17:11:21 2004
@@ -136,7 +136,7 @@
         assertTrue(type.getWsServiceName().compareTo("testserviceName") == 0);
         assertTrue(type.getWsWsdlLocation().compareTo("testwsdllocation") == 0);
         assertTrue(type.getWsTargetNamespace().compareTo("testtargetnamespace") == 0);
-
+        assertTrue(type.getWsEndpointInterface().compareTo("testendpointinterface") == 0);
     }
 
     public void testTYPESOAPBindingAnnotationDefaults() throws Exception {

Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java	(original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java	Thu Sep 23 17:11:21 2004
@@ -60,6 +60,7 @@
     private String wsServiceName;
     private String wsWsdlLocation;
     private String wsTargetNamespace;
+    private String wsEndpointInterface;
     private Collection<WebServiceMETHODMetadata> methods = new ArrayList<WebServiceMETHODMetadata>();
     private SOAPBindingInfo soapBinding;
     private String hcFileName;
@@ -157,6 +158,7 @@
             setWsServiceName(annotation.serviceName());
             setWsTargetNamespace(annotation.targetNamespace());
             setWsWsdlLocation(annotation.wsdlLocation());
+            setWsEndpointInterface(annotation.endpointInterface());
         }
 
         // name
@@ -547,6 +549,21 @@
      */
     public void setWsTargetNamespace(String wsTargetNamespace) {
         this.wsTargetNamespace = wsTargetNamespace;
+    }
+
+    /**
+     * @return Returns the wsEndpointInterface.
+     */
+    public String getWsEndpointInterface() {
+        return wsEndpointInterface;
+    }
+
+    /**
+     * @param wsEndpointInterface
+     *            The wsEndpointInterface to set.
+     */
+    public void setWsEndpointInterface(String wsEndpointInterface) {
+        this.wsEndpointInterface = wsEndpointInterface;
     }
 
     /**