Giter Site home page Giter Site logo

Comments (2)

tefra avatar tefra commented on September 13, 2024 1

Hi @intgr the cli is can generate code from from xsd, dtd, wsdl, xml and json files and relies on the file extension to switch parsers.

Update the file extension to .wsdl

❯ wget https://raw.githubusercontent.com/linagora/poc-ejbca-ws-client.php/master/wsdl.xml
--2024-05-06 17:57:49--  https://raw.githubusercontent.com/linagora/poc-ejbca-ws-client.php/master/wsdl.xml
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 115721 (113K) [text/plain]
Saving to: ‘wsdl.xml’

wsdl.xml                                   100%[========================================================================================>] 113.01K  --.-KB/s    in 0.03s

2024-05-06 17:57:49 (3.33 MB/s) - ‘wsdl.xml’ saved [115721/115721]

❯ mv wsdl.xml wsdl.wsdl
❯ xsdata generate wsdl.wsdl
========= xsdata v24.4 / Python 3.11.8 / Platform linux =========

Compiling schema file:///home/chris/projects/xsdata/wsdl.wsdl
Builder: 222 main and 0 inner classes
Analyzer input: 342 main and 159 inner classes
Analyzer output: 238 main and 159 inner classes
Generating package: init
Generating package: generated.mod

from xsdata.

intgr avatar intgr commented on September 13, 2024

Thanks a lot for the quick reply. Yes, after renaming the file, it generates the code that I expected.

from xsdata.

Related Issues (20)

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.