{"id":15038587,"url":"https://github.com/bouke/lark","last_synced_at":"2025-10-04T03:32:00.370Z","repository":{"id":63906041,"uuid":"75496859","full_name":"Bouke/Lark","owner":"Bouke","description":"Swift SOAP Client","archived":true,"fork":false,"pushed_at":"2018-11-02T14:24:36.000Z","size":979,"stargazers_count":53,"open_issues_count":18,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-13T18:24:04.991Z","etag":null,"topics":["lark","soap","swift","swift-package-manager","swift-soap-client"],"latest_commit_sha":null,"homepage":"http://boukehaarsma.nl/Lark/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bouke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-03T19:55:02.000Z","updated_at":"2025-08-19T06:53:21.000Z","dependencies_parsed_at":"2022-11-28T19:42:25.786Z","dependency_job_id":null,"html_url":"https://github.com/Bouke/Lark","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/Bouke/Lark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bouke%2FLark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bouke%2FLark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bouke%2FLark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bouke%2FLark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bouke","download_url":"https://codeload.github.com/Bouke/Lark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bouke%2FLark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278259829,"owners_count":25957547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lark","soap","swift","swift-package-manager","swift-soap-client"],"created_at":"2024-09-24T20:39:04.668Z","updated_at":"2025-10-04T03:32:00.101Z","avatar_url":"https://github.com/Bouke.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"Lark: Swift SOAP Client\n=======================\n\nLark is a SOAP library written in Swift.\n\n[![Build Status](https://travis-ci.org/Bouke/Lark.svg?branch=master)](https://travis-ci.org/Bouke/Lark)\n\n## Features\n\n* [x] Swift 4\n* [x] Swift Package Manager \n* [x] API Client code generation\n* [x] Strictly typed\n* [x] SOAP 1.1\n* [x] SOAP document/literal (wrapped) encoding\n* [x] Both synchronous and asynchronous\n\n## Communication\n\n- If you **need help**, open an issue.\n- If you'd like to **ask a general question**, open an issue.\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Usage\n\nFirst, install the package by including the following in `Package.swift`:\n\n```swift\n.Package(url: \"https://github.com/Bouke/Lark.git\", majorVersion: 0)\n```\n\nThen, build your package. This will result in an executable named `lark-generate-client` which can generate the client code:\n\n```sh\nswift build\n.build/debug/lark-generate-client \"http://localhost:8000/?wsdl\" \u003e Sources/Client.swift\n```\n\nIn your code you can now use the generated `Client` like this:\n\n```swift\nlet client = HelloWorldServiceClient()\n```\n\nTo call a remote method, inspect the generated functions on the Client. For example the `sayHello` method that takes a `SayHello` parameter and returns a `SayHelloResponse`:\n\n```swift\nlet result = try client.sayHello(SayHello(name: \"World\", times: 2))\nprint(result.sayHelloResult)\n```\n\nOr if you're building a GUI that requires non-blocking networking, use the async version:\n\n```swift\nclient.sayHelloAsync(SayHello(name: \"World\", times: 2)) { result in\n    print(result?.value.sayHelloResult)\n}\n```\n\nMore information can be found in the [documentation](http://boukehaarsma.nl/Lark).\n\n## Example\n\nSee the [Lark-Example](https://github.com/Bouke/Lark-Example) repository for an\nexample of how to use Lark.\n\n## Swift Compatibility\n\nSwift 4 is required with version 1 of this package. Use version 0 if you need \nSwift 3 compatibility.\n\n## FAQ\n\n### Is Linux supported?\n\nNot yet. This library builds on various XMLDocument APIs that are either not available in Swift-Foundation (the Swift port of some Foundation APIs) or behave differently. Also a major dependency, AlamoFire, is not yet supported on iOS. To track the progress on this, subscribe to ticket [22](https://github.com/Bouke/Lark/issues/32).\n\n### Is iOS supported?\n\nNo. This library builds on various XMLDocument APIs that are not available on iOS. Switching to another XML library might help here, but I don't have the need for this. Feel free to reach out to me if you're interested in working on a pull request to change this.\n\n### Can it act as a SOAP server?\n\nNo. Feel free to reach out to me if you're interested in working on a pull request to change this.\n\n### Is CocoaPods / Carthage supported?\n\nNo.\n\n### Why is it called Lark?\n\nSOAP is sometimes referred to as a fat messaging protocol. Swift is an elegant bird. A Lark sometimes looks like a fat bird.\n\n## Credits\n\nThis library was written by [Bouke Haarsma](https://twitter.com/BoukeHaarsma).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouke%2Flark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbouke%2Flark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbouke%2Flark/lists"}