Package maintainers and Hackage trustees are allowed to edit certain bits
of package metadata after a release, without uploading a new tarball.
Note that the tarball itself is never changed, just the metadata that is
stored separately. For more information about metadata revisions, please
refer to the
Hackage Metadata Revisions FAQ.
| No. |
Time |
User |
SHA256 |
| -r5 (soap-0.2.3.6-r5) |
2025-10-27T19:31:26Z |
AlexanderBondarenko |
54b4a9cd9579846c8f01d4fac79ea648f430712158cc3cedefd0ccbd6e191586
|
|
Changed copyright
from (c) 2013-2017 Alexander Bondarenko
to (c) 2013-2025 IC Rainbow Changed author
from Alexander Bondarenko
to IC Rainbow Changed homepage
from https://bitbucket.org/dpwiz/haskell-soap
to https://gitlab.com/dpwiz/haskell-soap Changed description
from 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/>
to 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://gitlab.com/dpwiz/haskell-soap/-/tree/master/soap/examples> Changed the library component's library dependency on 'xml-conduit-writer'
from >=0.1.1.2 && <0.2
to >=0.1.1.6 && <0.2
|
| -r4 (soap-0.2.3.6-r4) |
2025-10-27T18:45:20Z |
AlexanderBondarenko |
66c231e9eef0f844af0064c365a026e638f628fb44eab4479fc305277dc378ae
|
|
|
| -r3 (soap-0.2.3.6-r3) |
2022-10-28T08:31:43Z |
AlexanderBondarenko |
5edc19db71d82b630ae69494baba977b9c8ac32d4741786a39d6144bbbf764dc
|
|
|
| -r2 (soap-0.2.3.6-r2) |
2022-03-20T10:36:44Z |
AlexanderBondarenko |
163a3ee9ecfc52e9d027d42d9856953d48d41df794c8f992eb80b5c9d92fc512
|
|
|
| -r1 (soap-0.2.3.6-r1) |
2022-03-19T16:10:51Z |
AlexanderBondarenko |
50fa6ce9aeaabe6e46106a708ef738e38f03db5beac5732f2abc77997249201c
|
|
|
| -r0 (soap-0.2.3.6-r0) |
2018-03-16T13:34:30Z |
AlexanderBondarenko |
fea54b0ae27bfa3695120d153b206d742d3ac2c95209cfbf24a410909645062d
|
|
|