You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[System.Xml.Serialization.XmlIncludeAttribute(typeof(GetItemResponseType))][System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.2.0-preview1.23462.5")][System.Diagnostics.DebuggerStepThroughAttribute()][System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:ebay:apis:eBLBaseComponents")]publicabstractpartialclassAbstractResponseType{///..../// <remarks/>[System.Xml.Serialization.XmlAnyElementAttribute(Order =15)]public System.Xml.XmlElement[] Any
{get{returnthis.anyField;}set{this.anyField =value;}}}[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil","2.2.0-preview1.23462.5")][System.Diagnostics.DebuggerStepThroughAttribute()][System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:ebay:apis:eBLBaseComponents")]publicpartialclassGetItemResponseType:AbstractResponseType{// .../// <remarks/>[System.Xml.Serialization.XmlElementAttribute(Order=0)]publicItemTypeItem{get{returnthis.itemField;}set{this.itemField =value;}}}
When making a call an receiving a GetItemResponseType instance. Any is set with data that should be in Item. Changing the Order of the XmlElementAttribute does not effect the outcome, only solution is removing Any or moving it to GetResponseType.
With this wsdl:
Which generates this:
When making a call an receiving a
GetItemResponseType
instance.Any
is set with data that should be inItem
. Changing theOrder
of theXmlElementAttribute
does not effect the outcome, only solution is removingAny
or moving it toGetResponseType
.Am I doing something wrong?
This is happening with the ebay trading api.
https://developer.ebay.com/webservices/latest/eBaySvc.wsdl
The text was updated successfully, but these errors were encountered: