Skip to content
This repository was archived by the owner on Feb 3, 2020. It is now read-only.
This repository was archived by the owner on Feb 3, 2020. It is now read-only.

WSDL file produces error #37

@ladvoc

Description

@ladvoc

Hello,

I am trying to use Lark to implement an ONVIF client in Swift. For those unfamiliar with the ONVIF specification, its goal is the "standardization of communication between IP-based physical security products."

ONVIF provides a number of documents which outline the networking specifications along with corresponding WSDL files.

I took the file titled device.wsdl from the networking specifications page and fed it into lark-generate-client:

.build/debug/lark-generate-client "https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl" > Sources/Client.swift

After running the command, the following error was produced:

error when parsing WSDL: schema element must have a name.

However, Client.swift was still created. But instead of containing Swift code, it instead contained a plain text list of names from the WSDL file:

GetServices
IncludeCapability
GetServicesResponse
Service
Namespace
XAddr
Capabilities
Version
GetServiceCapabilities
...

Any suggestions? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions