beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Colwell" <jcolw...@bea.com>
Subject endpoint interface
Date Thu, 23 Sep 2004 21:44:07 GMT
Hallo Wolfgang,

Would you be interested in putting the Endpoint Interface implementation
in place?

Michael is updating the DropInDeploymentHandler to use APT rather than
javac and reflection to collect the annotations.  My thinking is that
you could update the WsmAnnotationProcessor to go load up the
annotations from the source file referred to by the endpoint interface
annotation and make them available as an object model as if they were in
the original .jws.  From what I understand from the spec, the
implementation file, in this case, the actual .jws would now only have
that single @WebService(endpointInterface = "WebServiceInterface.java")
annotation and the rest would be found in the target file.

cheers,

Jonathan

-----Original Message-----
From: wolfgang127us@yahoo.co.jp [mailto:wolfgang127us@yahoo.co.jp] 
Sent: Thursday, September 23, 2004 10:09 AM
To: beehive-dev@incubator.apache.org
Subject: checkin request

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.j
ava
===================================================================
---
src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.j
ava (revision 47104)
+++ src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetada
+++ ta.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("testendpointinterf
+ ace") == 0);

     }

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

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



Mime
View raw message