xapix-io / paos

Clojure SOAP client
Eclipse Public License 1.0
93 stars 12 forks source link

add protocol or interface for SOAPClient #2

Closed DeLaGuardo closed 6 years ago

DeLaGuardo commented 6 years ago

Something like that

(defprotocol PSOAPClient
    (soap-action [this])
    (send [this context])
    (parse [this])
    (-request-body [this context])
    (-response-body [this context]))

Object initializer how will implement that protocol should get as an arguments result of WSDL parsing for specific soap-action.