Thank you, I'm looking into the script that generates the response to see if it can be changed. The owner of the web service said the following as I was building the call to the web service.
There is a single element in the
request which accepts a string, but the string is XML, and as such needs
to be encoded
I think that is why its embedded within on <return> element. Unfortunately that is not something I can avoid, if that is indeed the case.
Here is the soap envelope that makes the call:
requestbody = requestbody & "<SOAP-ENV:Body><ns1:VehicleInfo >"
requestbody = requestbody & "<xmlRequest xmlns:xsi=""http://www.w3.org
+/2001/XMLSchema-instance"" xsi:type=""xsd:string"">"
requestbody = requestbody & "<FCSDServicesRequest marketid=""1"" langu
+age=""ENG"" country=""USA"" xmlns:xsi=""http://www.w3.org/2001/XMLSch
+ema-instance"" xsi:noNamespaceSchemaLocation=""FCSDServices.xsd"">"
requestbody = requestbody & "<Vehicles>"
requestbody = requestbody & "<Vehicle vin=""1FMFU17L94LB04622""/>"
requestbody = requestbody & "<Vehicle vin=""1FTRX12W88KD10648""/>"
requestbody = requestbody & "<Vehicle vin=""2MEHM75W26X618474""/>"
requestbody = requestbody & "</Vehicles>"
requestbody = requestbody & "<ServiceRequests>"
requestbody = requestbody & "<VINDecodeService>"
requestbody = requestbody & "<Attribute typeid=""14"" type=""Year""/>"
requestbody = requestbody & "<Attribute typeid=""1"" type=""Make""/>"
requestbody = requestbody & "<Attribute typeid=""2"" type=""Model""/>"
requestbody = requestbody & "<Attribute typeid=""3"" type=""Series""/>
+"
requestbody = requestbody & "</VINDecodeService>"
requestbody = requestbody & "</ServiceRequests>"
requestbody = requestbody & "</FCSDServicesRequest>"
requestbody = requestbody & "</xmlRequest>"
requestbody = requestbody & "</ns1:VehicleInfo>"
requestbody = requestbody & "</SOAP-ENV:Body>"
requestbody = requestbody & "</SOAP-ENV:Envelope>"