gowsdl
gowsdl copied to clipboard
Conflict with name "Params"
I have an issue with this
xml: name "objparameters" in tag of myservice.ProcessTransaction.Objparameters conflicts with name "Params" in *myservice.Params.XMLName
What is it please?
Look into generated sources. The same tag has two different names. In myservice.ProcessTransaction.Objparameters is name "objparameters" and in myservice.Params exists "XMLName" and there is "Params". There must be bug in gowsdl. I have the same problems.
i have the same problems
same here, does anyone have a fix?
please fix this problem.
I have the same problem?
I think I'm running to something similar with the NetSuite SuiteTalk WSDL. I posted on StackOverflow for input on this as it is an XML encoder limitation by the looks of it, not specific gowsdl.
A suggestion I got from @mkopriva on StackOverflow:
Depending on how the un/marshaled data should look, either remove the tag or the XMLName field or edit one of those two so that they match. Here's an example (i'm not sure whether or not you need the namespace to be present so i've added it to the tag). Also note the ,chardata tag option on the Value field, without it the marshaler will add an inner element to the signature element which is not something you want I assume.
same here, does anyone have a fix?