droyo / go-xml

utility and code-generation libraries for XML
MIT License
304 stars 115 forks source link

WSDL with multiple services only returns one. #67

Open daroot opened 6 years ago

daroot commented 6 years ago

A WSDL can define multiple related services in a single definition, but wsdlgen will only output the last one to appear in the file.

It might be nice to alter wsdl.Parse to return a slice of Definitions instead of a single one and then have wsdlgen create clients for each service. Or at least a single client with appropriate methods calling the right services for each port.