beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolfgang12...@yahoo.co.jp
Subject checkin request
Date Thu, 23 Sep 2004 17:08:37 GMT
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

Here is the svn diff.

Index: src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java
===================================================================
--- src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java (revision
47104)
+++ src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java (working copy)
@@ -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;
@@ -550,6 +551,21 @@
     }

     /**
+     * @return Returns the wsEndpointInterface.
+     */
+    public String getWsEndpointInterface() {
+        return wsEndpointInterface;
+    }
+
+    /**
+     * @param wsEndpointInterface
+     *            The wsEndpointInterface to set.
+     */
+    public void setWsEndpointInterface(String wsEndpointInterface) {
+        this.wsEndpointInterface = wsEndpointInterface;
+    }
+
+    /**
      * @return Returns the wsWsdlLocation.
      */
     public String getWsWsdlLocation() {
Index: drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.java
===================================================================
--- drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.java  (revision 47104)
+++ drt/tests/org/apache/beehive/wsm/jsr181/model/Jsr181ModelTest.java  (working copy)
@@ -136,6 +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);

     }

@@ -700,4 +701,4 @@
         assertTrue(param.isWpHeader());

     }
-}
\ No newline at end of file
+}


Mime
View raw message