gowsdl icon indicating copy to clipboard operation
gowsdl copied to clipboard

Tag name conflicts

Open mkbhanda opened this issue 6 years ago • 0 comments

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"`

}

mkbhanda avatar Nov 15 '19 05:11 mkbhanda