Git Product home page Git Product logo

Comments (13)

amrnt avatar amrnt commented on May 21, 2024

Same here, with error:

🍀  71:55: expected type, found ',' (and 10 more errors)

for this wsdl file: https://gist.github.com/amrnt/81cd16d1b74593acce34

from gowsdl.

c4milo avatar c4milo commented on May 21, 2024

I will look into this soon. Thanks for your reports.

from gowsdl.

dnldd avatar dnldd commented on May 21, 2024

Having the same problem.

from gowsdl.

c4milo avatar c4milo commented on May 21, 2024

@dnldd is it possible to provide the wsdl file you are using?

from gowsdl.

dnldd avatar dnldd commented on May 21, 2024

Unfortunately not.

from gowsdl.

c4milo avatar c4milo commented on May 21, 2024

@amrnt make sure gowsdl is able to download the schema imported by that WSDL. I personally wasn't able to access it.

from gowsdl.

c4milo avatar c4milo commented on May 21, 2024

@daveilers the problem gowsdl is having with your WSDL is that there are operations that are defining output messages but those messages do not have a correspondent type in the schema. I'm trying to figure out what does the Basic Profile say about that and how I should address it in the code.

from gowsdl.

vlad-lukyanov avatar vlad-lukyanov commented on May 21, 2024

same problem
link to file https://tracking.russianpost.ru/tracking-web-static/rtm34_wsdl.xml

from gowsdl.

bassu avatar bassu commented on May 21, 2024

Same here.
./gowsdl esUsers.xml
🍀 480:3: expected '}', found 'struct' (and 10 more errors)

Link to the source file
https://gist.github.com/anonymous/965a53a6ebc9fc3cec1f

from gowsdl.

uccmen avatar uccmen commented on May 21, 2024

any update? I seem to be getting the same error.
72:43: expected type, found ',' (and 7 more errors)

link to wsdl file - http://uat.cmctos.com.my:8080/ctos/Proxy?wsdl

from gowsdl.

c4milo avatar c4milo commented on May 21, 2024

@uccmen can you try using this branch instead https://github.com/hooklift/gowsdl/tree/support-for-imports?

from gowsdl.

uccmen avatar uccmen commented on May 21, 2024

@c4milo no luck :( same error message. did it work for you?

from gowsdl.

xor-gate avatar xor-gate commented on May 21, 2024

WSDL: https://api.transip.nl/wsdl/?service=DomainService
I have the same error expected type, found ',' (and 10 more errors)

2017/01/28 21:10:39 [WARN] GetDomainNamesRequest message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] RegisterResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] CancelResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] TransferWithOwnerChangeResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] TransferWithoutOwnerChangeResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] SetNameserversResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] SetLockResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] UnsetLockResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] SetDnsEntriesResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] SetOwnerResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] SetContactsResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] GetAllTldInfosRequest message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] RetryCurrentDomainActionWithNewDataResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] RetryTransferWithDifferentAuthCodeResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 [WARN] CancelDomainActionResponse message doesn't have any parts, ignoring message...
2017/01/28 21:10:39 873:70: expected type, found ',' (and 10 more errors)

It seems to generate broken function output variable pointer without a type:

 873                 func (service *DomainServicePortType) Register (request *Domain) (*, error) {

It seems an empty response message is killing the generator:

504   <message name="RegisterResponse"/>

I have changed it by hand to see wat happens:

504   <message name="RegisterResponse">
505     <part name="return" type="xsd:boolean"/>
506   </message>

Then it generates non broken code:

 873                 func (service *DomainServicePortType) Register (request *Domain) (*Boolean, error) {

from gowsdl.

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.