08-14-2011 6:20 AM
hi,
I am working on consuming webservice which has a WSDL to get the RouteDetails with a structure like:
<Source>
<HouseNumber>1</HouseNumber>
<Street>XYZ</Street>
<City>Hyderabad</City>
<Country>India</Country>
<PostalCode>500018</PostalCode>
</Source>
<Destination>
<HouseNumber>2</HouseNumber>
<Street>X1Y1Z1</Street>
<City>Bangalore</City>
<Country>India</Country>
<PostalCode>500067</PostalCode>
</Destination>
When I am calling the method RouteDetails of the proxy I created, I am getting the error 'There are multiple root elements in line 1 column 178 and the column is indicating <HouseNumber> in <Destination> node.
Please let me know how to overcome this.
Thanks for the help
Githa
08-14-2011 7:26 AM