Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: XML SOAP Response

by mitchismoney (Initiate)
on Jul 31, 2008 at 17:23 UTC ( [id://701476]=note: print w/replies, xml ) Need Help??


in reply to Re: XML SOAP Response
in thread XML SOAP Response

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>"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://701476]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found