gowsdl icon indicating copy to clipboard operation
gowsdl copied to clipboard

1511:11: expected type, found '-' (and 3 more errors)

Open prologic opened this issue 3 years ago • 2 comments

Trying to parse and generate Go code for a WSDL found here:

  • https://information.qld.gov.au/service/Addressing/ValidationService/PLSplusPublic/soap?wsdl

Results in the following error(s) (which I don't actually understand...):

$ gowsdl 'https://information.qld.gov.au/service/Addressing/ValidationService/PLSplusPublic/soap?wsdl'
🍀  Downloading file https://information.qld.gov.au/service/Addressing/ValidationService/PLSplusPublic/soap?wsdl
🍀  1511:11: expected type, found '-' (and 3 more errors)
  • Is 1511 the line number? There aren't this many lines in the XML.
  • What is :11?

Is this a bug?

prologic avatar Oct 03 '22 01:10 prologic

I think my problem is #152 hmmm 🤔

prologic avatar Oct 03 '22 01:10 prologic

FWW I achieved much better results by using the wsdlgen cli utility found in this package:

  • https://github.com/droyo/go-xml

prologic avatar Oct 03 '22 02:10 prologic