SOAP WSDL Generate Code

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 chilkat2

xml = chilkat2.Xml()
xml.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.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 = chilkat2.Http()

http.ClearHeaders()
http.SetRequestHeader("Content-Type",contentType)
http.SetRequestHeader("SOAPAction",soapAction)

# resp is a CkHttpResponse
resp = http.PostXml(endpoint,soapRequestBody,"utf-8")
if (http.LastMethodSuccess == False):
    print(http.LastErrorText)
    print("Failed to send SOAP request.")
    sys.exit()

# Get the XML response body.
responseXml = chilkat2.Xml()
resp.GetBodyXml(responseXml)

statusCode = resp.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>