I've referenced a third party service reference and it created .svcinfo, .svcmap and couple of .xsd files.
In my code I've created a proxy of this service and tried to call a method CreateAccount
(with values). After calling this method I got the following error:
The top XML element 'OrderItems' from namespace 'https://www.mysite.com/MyOrder' references distinct types APITest.ServiceReference1.OrderItems and APITest.ServiceReference1.OtherOrderItems. Use XML attributes to specify another XML name or namespace for the element or types.
I was able to call this method using SOAPUI tool and got a valid result from the service saying the account is created and it returned me the account number.
I'm using Visual Studio , c#/vb , windows forms app to reference this service.
I did do a lot of search and didn't get the right answer to solve this error. Any Idea why this is happening?