Coder Social home page Coder Social logo

openldbsvws-example-python's People

Contributors

poggs avatar

Watchers

 avatar  avatar

openldbsvws-example-python's Issues

XML parsing error with 2021-11-01 WSDL

I'm recreating this issue because the previous one was made while the repo was private and seemingly has been sunk along with it. (issues: 0 (1 needs help), thanks github!)

In short, the issue when trying to use the latest WSDL is:

  File "/home/user/.local/lib/python3.8/site-packages/zeep/xsd/elements/element.py", line 177, in parse_xmlelements
    item = self.parse(xmlelement, schema, allow_none=True, context=context)
  File "/home/user/.local/lib/python3.8/site-packages/zeep/xsd/elements/element.py", line 126, in parse
    return xsd_type.parse_xmlelement(
  File "/home/user/.local/lib/python3.8/site-packages/zeep/xsd/types/complex.py", line 206, in parse_xmlelement
    result = element.parse_xmlelements(
  File "/home/user/.local/lib/python3.8/site-packages/zeep/xsd/elements/indicators.py", line 617, in parse_xmlelements
    item_subresult = element.parse_xmlelements(
  File "/home/user/.local/lib/python3.8/site-packages/zeep/xsd/elements/element.py", line 177, in parse_xmlelements
    item = self.parse(xmlelement, schema, allow_none=True, context=context)
  File "/home/user/.local/lib/python3.8/site-packages/zeep/xsd/elements/element.py", line 126, in parse
    return xsd_type.parse_xmlelement(
  File "/home/user/.local/lib/python3.8/site-packages/zeep/xsd/types/complex.py", line 212, in parse_xmlelement
    raise XMLParseError(exc.message)
zeep.exceptions.XMLParseError: Unexpected element '{http://thalesgroup.com/RTTI/2021-11-01/ldbsv/types}coaches', expected '{http://thalesgroup.com/RTTI/2021-11-01/ldbsv/types}serviceLoading'

I can't think of any way this is reasonably a configuration issue, it might be that the WSDL is technically incorrect, or there's a bug in zeep. I have tested with suds-jurko and found that works just fine, but I'm not sure that we should be recommending that people use a dead-end suds fork either

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.