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>"
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|