cynkan
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
<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
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Good for you :-)
ASKER
;)
ASKER
The android code was wrong, not the webservice in vb.net
I susspect that the Structure description in your WSDL is not correct, do you make use af a XSD ?