Created
April 27, 2010 18:45
-
-
Save rnewman/381129 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns com.example.service | |
(:refer-clojure) | |
(:import javax.jws.WebMethod | |
javax.jws.WebParam | |
javax.jws.WebService)) | |
(definterface FooBarInterface | |
(#^String frobbleBaz [#^String name | |
#^String address | |
#^String email])) | |
(deftype #^{WebService {}} | |
FooBarService [] | |
FooBarInterface | |
(#^{:tag String | |
WebMethod {:operationName "frobbleBaz"}} | |
frobbleBaz [this | |
#^{WebParam {:name "customerName"} :tag String} name | |
#^{WebParam {:name "address"} :tag String} address | |
#^{WebParam {:name "email"} :tag String} email] | |
"foo")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment