DataServiceEndpointSoapBinding / getCompleteComponentV4
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
Chilkat.Xml xml = new Chilkat.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:getCompleteComponentV4|intf:vrid","xml");
xml.UpdateChildContent("soapenv:Body|intf:getCompleteComponentV4|intf:typeId","xml");
xml.UpdateChildContent("soapenv:Body|intf:getCompleteComponentV4|intf:si","xml");
xml.UpdateChildContent("soapenv:Body|intf:getCompleteComponentV4|intf:st","xml");
xml.UpdateChildContent("soapenv:Body|intf:getCompleteComponentV4|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;
string soapRequestBody = xml.GetXml();
string endpoint = "http://www.haynespro-services.com/workshopServices3/services/DataServiceEndpoint";
string soapAction = "";
// For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
string contentType = "text/xml";
Chilkat.Http http = new Chilkat.Http();
http.ClearHeaders();
http.SetRequestHeader("Content-Type",contentType);
http.SetRequestHeader("SOAPAction",soapAction);
Chilkat.HttpResponse resp = http.PostXml(endpoint,soapRequestBody,"utf-8");
if (http.LastMethodSuccess == false) {
Debug.WriteLine(http.LastErrorText);
Debug.WriteLine("Failed to send SOAP request.");
return;
}
// Get the XML response body.
Chilkat.Xml responseXml = new Chilkat.Xml();
resp.GetBodyXml(responseXml);
int statusCode = resp.StatusCode;
Debug.WriteLine("response status code: " + Convert.ToString(statusCode));
// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.
if (statusCode != 200) {
Debug.WriteLine(responseXml.GetXml());
return;
}
Debug.WriteLine(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).
string componentImageId = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:componentImageId");
string connectorSideImage = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:connectorSideImage");
string flashVarsString = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:flashVarsString");
string xvalue = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:points|*:item|*:xvalue");
string ymaxvalue = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:points|*:item|*:ymaxvalue");
string yminvalue = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:points|*:item|*:yminvalue");
string xaxis = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:xaxis");
string yaxis = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:yaxis");
string name = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:name");
string item = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:scopeImagesPaths|*:item");
string sortOrder = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:sortOrder");
string value1 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:header|*:value1");
string value2 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:header|*:value2");
value1 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:rows|*:item|*:value1");
value2 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:rows|*:item|*:value2");
string text = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:text");
string title = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:title");
string pinNameId = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:pins|*:item|*:pinNameId");
string symbolInstanceId = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:pins|*:item|*:symbolInstanceId");
string state = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:state");
string tool = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:tool");
string unit = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:unit");
string value = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:value");
string v_type = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:type");
string wirediagramLink = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:wirediagramLink");
title = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:diagnosisSteps|*:item|*:title");
string ecuSideImage = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:ecuSideImage");
string description = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:genericParts|*:item|*:description");
string id = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:genericParts|*:item|*:id");
string mandatory = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:genericParts|*:item|*:mandatory");
string hasLocationSystems = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:hasLocationSystems");
string categoryId = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:categoryId");
string categoryName = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:categoryName");
id = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:id");
string mimeDataName = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:mimeDataName");
name = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:name");
string order = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:order");
string remark = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:remark");
string filter = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:filter");
string id1 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:id1");
string id2 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:id2");
string operation = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:operation");
item = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:text|*:item");
string code = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:code");
description = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:description");
string dimensions = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:dimensions");
id = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:id");
mimeDataName = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:mimeDataName");
order = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:order");
string confirmationLink = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:status|*:confirmationLink");
string statusCode = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:status|*:statusCode");
confirmationLink = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:status|*:confirmationLink");
statusCode = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:linkedStories|*:item|*:stories|*:item|*:status|*:statusCode");
string localWiringImage = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:localWiringImage");
description = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:description");
string hyperlink = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:hyperlink");
name = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:name");
string pinName = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:pinName");
string pinNumber = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:pinNumber");
string si = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:si");
string st = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:st");
string wireColor1 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:wireColor1");
string wireColor2 = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:pinTable|*:componentsArray|*:item|*:wireColor2");
string renderable = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:completeComponentV4|*:renderable");
confirmationLink = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:status|*:confirmationLink");
statusCode = responseXml.GetChildContent("*:Body|*:getCompleteComponentV4Response|*:getCompleteComponentV4Return|*:status|*:statusCode");
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:getCompleteComponentV4>
<intf:vrid>xml</intf:vrid>
<intf:typeId>xml</intf:typeId>
<intf:si>xml</intf:si>
<intf:st>xml</intf:st>
<intf:language>xml</intf:language>
</intf:getCompleteComponentV4>
</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:getCompleteComponentV4Response>
<intf:getCompleteComponentV4Return>
<tns1:completeComponentV4>
<tns2:componentImageId>xml</tns2:componentImageId>
<tns2:connectorSideImage>xml</tns2:connectorSideImage>
<tns2:diagnosisSteps>
<intf:item>
<tns2:diagnosisSteps>
<intf:item>
<tns2:flashVarsString>xml</tns2:flashVarsString>
<tns2:graph>
<tns2:points>
<intf:item>
<tns2:xvalue>xml</tns2:xvalue>
<tns2:ymaxvalue>xml</tns2:ymaxvalue>
<tns2:yminvalue>xml</tns2:yminvalue>
</intf:item>
</tns2:points>
<tns2:xaxis>xml</tns2:xaxis>
<tns2:yaxis>xml</tns2:yaxis>
</tns2:graph>
<tns2:name>xml</tns2:name>
<tns2:noAnswer/>
<tns2:scopeImagesPaths>
<intf:item>xml</intf:item>
</tns2:scopeImagesPaths>
<tns2:sortOrder>xml</tns2:sortOrder>
<tns2:table>
<tns2:header>
<tns2:value1>xml</tns2:value1>
<tns2:value2>xml</tns2:value2>
</tns2:header>
<tns2:rows>
<intf:item>
<tns2:value1>xml</tns2:value1>
<tns2:value2>xml</tns2:value2>
</intf:item>
</tns2:rows>
</tns2:table>
<tns2:text>xml</tns2:text>
<tns2:title>xml</tns2:title>
<tns2:toolParameters>
<tns1:pins>
<intf:item>
<tns1:pinNameId>xml</tns1:pinNameId>
<tns1:symbolInstanceId>xml</tns1:symbolInstanceId>
</intf:item>
</tns1:pins>
<tns1:state>xml</tns1:state>
<tns1:tool>xml</tns1:tool>
<tns1:unit>xml</tns1:unit>
<tns1:value>xml</tns1:value>
</tns2:toolParameters>
<tns2:type>xml</tns2:type>
<tns2:wirediagramLink>xml</tns2:wirediagramLink>
<tns2:yesAnswer/>
</intf:item>
</tns2:diagnosisSteps>
<tns2:title>xml</tns2:title>
</intf:item>
</tns2:diagnosisSteps>
<tns2:ecuSideImage>xml</tns2:ecuSideImage>
<tns2:genericParts>
<intf:item>
<tns2:description>xml</tns2:description>
<tns2:id>xml</tns2:id>
<tns2:mandatory>xml</tns2:mandatory>
</intf:item>
</tns2:genericParts>
<tns2:hasLocationSystems>xml</tns2:hasLocationSystems>
<tns2:linkedStories>
<intf:item>
<tns2:categoryId>xml</tns2:categoryId>
<tns2:categoryName>xml</tns2:categoryName>
<tns2:stories>
<intf:item>
<intf:id>xml</intf:id>
<intf:mimeDataName>xml</intf:mimeDataName>
<intf:name>xml</intf:name>
<intf:order>xml</intf:order>
<intf:remark>xml</intf:remark>
<intf:smartLinks>
<intf:item>
<intf:filter>xml</intf:filter>
<intf:id1>xml</intf:id1>
<intf:id2>xml</intf:id2>
<intf:operation>xml</intf:operation>
<intf:text>
<intf:item>xml</intf:item>
</intf:text>
</intf:item>
</intf:smartLinks>
<intf:specialTool>
<intf:item>
<intf:code>xml</intf:code>
<intf:description>xml</intf:description>
<intf:dimensions>xml</intf:dimensions>
<intf:id>xml</intf:id>
<intf:mimeDataName>xml</intf:mimeDataName>
<intf:order>xml</intf:order>
<intf:status>
<intf:confirmationLink>xml</intf:confirmationLink>
<intf:statusCode>xml</intf:statusCode>
</intf:status>
</intf:item>
</intf:specialTool>
<intf:status>
<intf:confirmationLink>xml</intf:confirmationLink>
<intf:statusCode>xml</intf:statusCode>
</intf:status>
<intf:subStoryLines/>
</intf:item>
</tns2:stories>
</intf:item>
</tns2:linkedStories>
<tns2:localWiringImage>xml</tns2:localWiringImage>
<tns2:pinTable>
<tns2:componentsArray>
<intf:item>
<tns2:description>xml</tns2:description>
<tns2:hyperlink>xml</tns2:hyperlink>
<tns2:name>xml</tns2:name>
<tns2:pinName>xml</tns2:pinName>
<tns2:pinNumber>xml</tns2:pinNumber>
<tns2:si>xml</tns2:si>
<tns2:st>xml</tns2:st>
<tns2:wireColor1>xml</tns2:wireColor1>
<tns2:wireColor2>xml</tns2:wireColor2>
</intf:item>
</tns2:componentsArray>
</tns2:pinTable>
<tns2:renderable>xml</tns2:renderable>
</tns1:completeComponentV4>
<tns1:status>
<intf:confirmationLink>xml</intf:confirmationLink>
<intf:statusCode>xml</intf:statusCode>
</tns1:status>
</intf:getCompleteComponentV4Return>
</intf:getCompleteComponentV4Response>
</soapenv:Body>
</soapenv:Envelope>