Link to home
Create AccountLog in
Avatar of cynkan
cynkanFlag for Sweden

asked on

Allow attributes to xml

I have a VB.NET WebService that gets a list of a class:

<DataMember(Order:=3)> _
Public Products As List(Of OrderProduct)

When I recieve a list from a Android an attribute for the length is declared in the soap body and VB.NET can not treat this attribute and says that the list is empty.
<Products length="1">

When iPhone call its not an attribute and the list is correct.
<Products>

Is there any way to declare a property that attributes are allowed for this list?

Rgds Cyril
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Hi cynkan,

I susspect that the Structure description in your WSDL is not correct, do you make use af a XSD ?
ASKER CERTIFIED SOLUTION
Avatar of cynkan
cynkan
Flag of Sweden image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Good for you :-)
Avatar of cynkan

ASKER

;)
Avatar of cynkan

ASKER

The android code was wrong, not the webservice in vb.net