gowsdl
gowsdl copied to clipboard
Tag name conflicts
New user of the gowsdl tool. Working with https://webservices.chargepoint.com/cp_api_4.1.wsdl I noticed tag name conflicts and my guess is the tool creates a tag name that matches the field as opposed the field type. In this instance:
type GetPublicStations struct {
XMLName xml.Name xml:"urn:dictionary:com.chargepoint.webservices getPublicStations"
SearchQuery *StationSearchRequest `xml:"searchQuery,omitempty"`
}
type GetPublicStationStatus struct {
XMLName xml.Name xml:"urn:dictionary:com.chargepoint.webservices getPublicStationStatus"
SearchQuery *StatusSearchdata `xml:"searchQuery,omitempty"`
}