gowsdl icon indicating copy to clipboard operation
gowsdl copied to clipboard

Conflict with name "Params"

Open genesis-0000 opened this issue 6 years ago • 8 comments

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?

genesis-0000 avatar Jan 16 '18 06:01 genesis-0000

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.

malaschitz avatar Jan 18 '18 09:01 malaschitz

i have the same problems

wuryscamp avatar Mar 22 '18 20:03 wuryscamp

same here, does anyone have a fix?

Markvandersteen avatar Apr 26 '18 08:04 Markvandersteen

please fix this problem.

fgituser avatar Oct 22 '18 14:10 fgituser

I have the same problem?

zafer06 avatar Oct 31 '18 05:10 zafer06

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.

colinbowern avatar Jan 04 '19 01:01 colinbowern

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.

colinbowern avatar Jan 07 '19 10:01 colinbowern

same here, does anyone have a fix?

snowlyg avatar Jan 17 '22 08:01 snowlyg