Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSDL parsing for semi-broken files #137

Open
plaes opened this issue Jan 7, 2022 · 0 comments
Open

WSDL parsing for semi-broken files #137

plaes opened this issue Jan 7, 2022 · 0 comments

Comments

@plaes
Copy link

plaes commented Jan 7, 2022

I have a semi-broken file that seems to work somewhat okayish (although it skips one service and some of its required definitions) with Python's zeep library (https://docs.python-zeep.org/), but fails with traceback with wsdl-parser (current head: 7f3d433):

thread 'main' panicked at 'Must have content if no 'type' or 'ref' attribute: Element { tag_name: {http://www.w3.org/2001/XMLSchema}element, attributes: [Attribute { name: name, value: "kood" }], namespaces: [Namespace { name: None, uri: "http://www.w3.org/2001/XMLSchema" }, Namespace { name: Some("xrd"), uri: "http://x-road.eu/xsd/xroad.xsd" }, Namespace { name: Some("tns"), uri: "http://rr.x-road.eu/producer" }, Namespace { name: Some("xsd"), uri: "http://www.w3.org/2001/XMLSchema" }, Namespace { name: Some("SOAP-ENC"), uri: "http://schemas.xmlsoap.org/soap/encoding/" }, Namespace { name: Some("soap"), uri: "http://schemas.xmlsoap.org/wsdl/soap/" }, Namespace { name: Some("wsdl"), uri: "http://schemas.xmlsoap.org/wsdl/" }, Namespace { name: Some("id"), uri: "http://x-road.eu/xsd/identifiers" }] }', xsd-parser/src/parser/element.rs:97:13

rr.wsdl.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant