Name : ghc-soap
| |
Version : 0.2.3.6
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : 1.8
| Date : 2019-02-13 04:01:42
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-soap-0.2.3.6-1.8.src.rpm
|
Size : 0.19 MB
| |
Packager : (none)
| |
Summary : SOAP client tools
|
Description :
Tools to build SOAP clients using xml-conduit.
A mildly-complicated example:
> import Network.SOAP > import Network.SOAP.Transport.HTTP > > import Text.XML.Writer > import Text.XML.Stream.Parse as Parse > import Data.Text (Text) > import qualified Data.Text as T > > main :: IO () > main = do > -- Initial one-time preparations. > transport < - initTransport \"http://example.com/soap/endpoint\" id (iconv \"cp-1251\") > > -- Making queries > activeStaff < - listStaff transport True > print activeStaff > > data Person = Person Text Int deriving Show > > listStaff :: Transport -> Bool -> IO [Person] > listStaff t active = invokeWS t \"urn:dummy:listStaff\" () body parser > where > body = element \"request\" $ element \"listStaff\" $ do > element \"active\" active > element \"order\" $ T.pack \"age\" > element \"limit\" (10 :: Int) > > parser = StreamParser $ force \"no people\" $ tagNoAttr \"people\" $ Parse.many parsePerson > > parsePerson = tagName \"person\" (requireAttr \"age\") $ age -> do > name < - Parse.content > return $ Person name (read . T.unpack $ age)
Notice: to invoke HTTPS services you need to initialize a transport from soap-tls or soap-openssl.
Full examples available at source repo: < https://bitbucket.org/dpwiz/haskell-soap/src/HEAD/soap/examples/>.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/13/openSUSE_Tumbleweed/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-soap
ghc-soap(x86-64)
libHSsoap-0.2.3.6-ICVj81GIJ5R8qq514Uq2DY-ghc8.6.3.so()(64bit)
Requires :