DataServiceEndpointSoapBinding / getLocationSystemV2
ASP AutoIt C C (Unicode) C++ C++ (Unicode) C# DataFlex Delphi Foxpro Go Java Node.js Objective-C Perl PHP Extension PowerBuilder Powershell PureBasic Python CkPython Ruby SQL Server Swift TCL VB.NET VB6 VBScript Xojo
import sys
import chilkat
xml = chilkat.CkXml()
xml.put_Tag("soapenv:Envelope")
xml.AddAttribute("xmlns:intf","http://data.webservice.workshop.vivid.nl")
xml.AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/")
xml.UpdateChildContent("soapenv:Header","")
xml.UpdateChildContent("soapenv:Body|intf:getLocationSystemV2|intf:vrid","xml")
xml.UpdateChildContent("soapenv:Body|intf:getLocationSystemV2|intf:carTypeId","xml")
xml.UpdateChildContent("soapenv:Body|intf:getLocationSystemV2|intf:elecDataCompId","xml")
xml.UpdateChildContent("soapenv:Body|intf:getLocationSystemV2|intf:language","xml")
# In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
xml.put_EmitXmlDecl(False)
soapRequestBody = xml.getXml()
endpoint = "http://www.haynespro-services.com/workshopServices3/services/DataServiceEndpoint"
soapAction = ""
# For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
contentType = "text/xml"
http = chilkat.CkHttp()
http.ClearHeaders()
http.SetRequestHeader("Content-Type",contentType)
http.SetRequestHeader("SOAPAction",soapAction)
# resp is a CkHttpResponse
resp = http.PostXml(endpoint,soapRequestBody,"utf-8")
if (http.get_LastMethodSuccess() == False):
print(http.lastErrorText())
print("Failed to send SOAP request.")
sys.exit()
# Get the XML response body.
responseXml = chilkat.CkXml()
resp.GetBodyXml(responseXml)
statusCode = resp.get_StatusCode()
print("response status code: " + str(statusCode))
# If the status code does not indicate succcess, then show the response XML,
# which probably contains error information.
if (statusCode != 200):
print(responseXml.getXml())
sys.exit()
print(responseXml.getXml())
# Parse the successful SOAP response XML.
# This is a sample of the response XML, but the namespace prefixes will be different.
# We can parse the result using "*" for the namespace prefixes (see below).
confirmationLink = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:status|*:confirmationLink")
statusCode = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:status|*:statusCode")
confirmationLink = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:status|*:confirmationLink")
statusCode = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:status|*:statusCode")
description = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:description")
id = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:id")
description = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:description")
id = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:id")
internalLocation = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:internalLocation")
location = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:location")
remark = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:remark")
sortOrder = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:sortOrder")
sysValue = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:sysValue")
v_type = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:type")
value = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:items|*:item|*:value")
locationId = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:locationId")
order = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:order")
item = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:otherSystemLocationIds|*:item")
item = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:remarks|*:item")
searchedCompName = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:searchedCompName")
side = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:side")
height = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemDetailImage|*:height")
imagePath = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemDetailImage|*:imagePath")
size = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemDetailImage|*:size")
width = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemDetailImage|*:width")
height = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemPositionImage|*:height")
imagePath = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemPositionImage|*:imagePath")
size = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemPositionImage|*:size")
width = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystem|*:systemPositionImage|*:width")
description = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:description")
id = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:id")
description = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:description")
id = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:id")
internalLocation = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:internalLocation")
location = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:location")
remark = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:remark")
sortOrder = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:sortOrder")
sysValue = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:sysValue")
v_type = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:type")
value = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:items|*:item|*:value")
locationId = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:locationId")
order = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:order")
item = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:otherSystemLocationIds|*:item")
item = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:remarks|*:item")
searchedCompName = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:searchedCompName")
side = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:side")
height = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemDetailImage|*:height")
imagePath = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemDetailImage|*:imagePath")
size = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemDetailImage|*:size")
width = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemDetailImage|*:width")
height = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemPositionImage|*:height")
imagePath = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemPositionImage|*:imagePath")
size = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemPositionImage|*:size")
width = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:locationSystems|*:item|*:systemPositionImage|*:width")
symbol_instance_description = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:symbol_instance_description")
symbol_instance_id = responseXml.getChildContent("*:Body|*:getLocationSystemV2Response|*:getLocationSystemV2Return|*:symbolInstanceArrayContainer|*:item|*:symbolInsances|*:item|*:symbol_instance_id")
Request XML
<soapenv:Envelope xmlns:intf="http://data.webservice.workshop.vivid.nl" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<intf:getLocationSystemV2>
<intf:vrid>xml</intf:vrid>
<intf:carTypeId>xml</intf:carTypeId>
<intf:elecDataCompId>xml</intf:elecDataCompId>
<intf:language>xml</intf:language>
</intf:getLocationSystemV2>
</soapenv:Body>
</soapenv:Envelope>
Response XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns2="http://datatypes.webservice.elecdata.vivid.nl" xmlns:tns1="http://datamodel.webservice.elecdata.vivid.nl" xmlns:intf="http://data.webservice.workshop.vivid.nl">
<soapenv:Header/>
<soapenv:Body>
<intf:getLocationSystemV2Response>
<intf:getLocationSystemV2Return>
<tns1:status>
<intf:confirmationLink>xml</intf:confirmationLink>
<intf:statusCode>xml</intf:statusCode>
</tns1:status>
<tns1:symbolInstanceArrayContainer>
<intf:item>
<tns1:status>
<intf:confirmationLink>xml</intf:confirmationLink>
<intf:statusCode>xml</intf:statusCode>
</tns1:status>
<tns1:symbolInsances>
<intf:item>
<tns2:locationSystem>
<tns2:description>xml</tns2:description>
<tns2:id>xml</tns2:id>
<tns2:items>
<intf:item>
<tns2:description>xml</tns2:description>
<tns2:id>xml</tns2:id>
<tns2:internalLocation>xml</tns2:internalLocation>
<tns2:location>xml</tns2:location>
<tns2:remark>xml</tns2:remark>
<tns2:sortOrder>xml</tns2:sortOrder>
<tns2:sysValue>xml</tns2:sysValue>
<tns2:type>xml</tns2:type>
<tns2:value>xml</tns2:value>
</intf:item>
</tns2:items>
<tns2:locationId>xml</tns2:locationId>
<tns2:order>xml</tns2:order>
<tns2:otherSystemLocationIds>
<intf:item>xml</intf:item>
</tns2:otherSystemLocationIds>
<tns2:remarks>
<intf:item>xml</intf:item>
</tns2:remarks>
<tns2:searchedCompName>xml</tns2:searchedCompName>
<tns2:side>xml</tns2:side>
<tns2:systemDetailImage>
<tns2:height>xml</tns2:height>
<tns2:imagePath>xml</tns2:imagePath>
<tns2:size>xml</tns2:size>
<tns2:width>xml</tns2:width>
</tns2:systemDetailImage>
<tns2:systemPositionImage>
<tns2:height>xml</tns2:height>
<tns2:imagePath>xml</tns2:imagePath>
<tns2:size>xml</tns2:size>
<tns2:width>xml</tns2:width>
</tns2:systemPositionImage>
</tns2:locationSystem>
<tns2:locationSystems>
<intf:item>
<tns2:description>xml</tns2:description>
<tns2:id>xml</tns2:id>
<tns2:items>
<intf:item>
<tns2:description>xml</tns2:description>
<tns2:id>xml</tns2:id>
<tns2:internalLocation>xml</tns2:internalLocation>
<tns2:location>xml</tns2:location>
<tns2:remark>xml</tns2:remark>
<tns2:sortOrder>xml</tns2:sortOrder>
<tns2:sysValue>xml</tns2:sysValue>
<tns2:type>xml</tns2:type>
<tns2:value>xml</tns2:value>
</intf:item>
</tns2:items>
<tns2:locationId>xml</tns2:locationId>
<tns2:order>xml</tns2:order>
<tns2:otherSystemLocationIds>
<intf:item>xml</intf:item>
</tns2:otherSystemLocationIds>
<tns2:remarks>
<intf:item>xml</intf:item>
</tns2:remarks>
<tns2:searchedCompName>xml</tns2:searchedCompName>
<tns2:side>xml</tns2:side>
<tns2:systemDetailImage>
<tns2:height>xml</tns2:height>
<tns2:imagePath>xml</tns2:imagePath>
<tns2:size>xml</tns2:size>
<tns2:width>xml</tns2:width>
</tns2:systemDetailImage>
<tns2:systemPositionImage>
<tns2:height>xml</tns2:height>
<tns2:imagePath>xml</tns2:imagePath>
<tns2:size>xml</tns2:size>
<tns2:width>xml</tns2:width>
</tns2:systemPositionImage>
</intf:item>
</tns2:locationSystems>
<tns2:symbol_instance_description>xml</tns2:symbol_instance_description>
<tns2:symbol_instance_id>xml</tns2:symbol_instance_id>
</intf:item>
</tns1:symbolInsances>
</intf:item>
</tns1:symbolInstanceArrayContainer>
</intf:getLocationSystemV2Return>
</intf:getLocationSystemV2Response>
</soapenv:Body>
</soapenv:Envelope>