Comments (13)
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.
I will look into this soon. Thanks for your reports.
from gowsdl.
Having the same problem.
from gowsdl.
@dnldd is it possible to provide the wsdl file you are using?
from gowsdl.
Unfortunately not.
from gowsdl.
@amrnt make sure gowsdl is able to download the schema imported by that WSDL. I personally wasn't able to access it.
from gowsdl.
@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.
same problem
link to file https://tracking.russianpost.ru/tracking-web-static/rtm34_wsdl.xml
from gowsdl.
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.
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.
@uccmen can you try using this branch instead https://github.com/hooklift/gowsdl/tree/support-for-imports?
from gowsdl.
@c4milo no luck :( same error message. did it work for you?
from gowsdl.
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)
- Namespace support: naming collisions / redeclared types in different namespaces HOT 1
- XML name field tag conflicts with struct's XMLName field
- dump request
- Error when parsing response: Expected param start-info="application/soap+xml", got text/xml HOT 2
- Incorrect namespace handling HOT 5
- Empty strings in enums results in broken code HOT 1
- nodes with multiple namespace are not resolved by the generated code
- Some complex types are missing the namespace
- Separation of generated code into packages HOT 2
- 1511:11: expected type, found '-' (and 3 more errors) HOT 2
- Namespace problem HOT 3
- Cut a new Release v0.6.0 HOT 1
- Failing test TestEPCISWSDL HOT 1
- gowsdl does not respect the targetNamespace value on wsdl definition.
- SOAP Header element not present
- generate code from wsdl HOT 1
- date format: cannot unmarshal into soap.XSDDate
- Any plan to update the go.mod with latest versions. Seeing some vulnerabilities reported with the current versions used
- bad type generation for xs:choice + maxOccurs="unbounded"
- Conflicting XML tags are generated, if a struct with field XMLName is used inside another struct
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gowsdl.