SOAP WSDL Generate Code

DataServiceEndpointSoapBinding / getCompleteComponentV9

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
-- Important: See this note about {{-https://cknotes.com/sql-sp_oamethod-string-length-return-value-limitations/|||string length limitations for strings returned by sp_OAMethod calls-}}.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
    DECLARE @hr int
    DECLARE @iTmp0 int
    -- Important: Do not use nvarchar(max).  See the {{-https://www.example-code.com/sql/default.asp|||warning about using nvarchar(max)-}}.
    DECLARE @sTmp0 nvarchar(4000)
    DECLARE @xml int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Xml', @xml OUT
    IF @hr <> 0
    BEGIN
        PRINT 'Failed to create ActiveX component'
        RETURN
    END

    EXEC sp_OASetProperty @xml, 'Tag', 'soapenv:Envelope'
    DECLARE @success int
    EXEC sp_OAMethod @xml, 'AddAttribute', @success OUT, 'xmlns:intf', 'http://data.webservice.workshop.vivid.nl'
    EXEC sp_OAMethod @xml, 'AddAttribute', @success OUT, 'xmlns:soapenv', 'http://schemas.xmlsoap.org/soap/envelope/'
    EXEC sp_OAMethod @xml, 'UpdateChildContent', NULL, 'soapenv:Header', ''
    EXEC sp_OAMethod @xml, 'UpdateChildContent', NULL, 'soapenv:Body|intf:getCompleteComponentV9|intf:vrid', 'xml'
    EXEC sp_OAMethod @xml, 'UpdateChildContent', NULL, 'soapenv:Body|intf:getCompleteComponentV9|intf:typeId', 'xml'
    EXEC sp_OAMethod @xml, 'UpdateChildContent', NULL, 'soapenv:Body|intf:getCompleteComponentV9|intf:si', 'xml'
    EXEC sp_OAMethod @xml, 'UpdateChildContent', NULL, 'soapenv:Body|intf:getCompleteComponentV9|intf:st', 'xml'
    EXEC sp_OAMethod @xml, 'UpdateChildContent', NULL, 'soapenv:Body|intf:getCompleteComponentV9|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. 
    EXEC sp_OASetProperty @xml, 'EmitXmlDecl', 0
    DECLARE @soapRequestBody nvarchar(4000)
    EXEC sp_OAMethod @xml, 'GetXml', @soapRequestBody OUT

    DECLARE @endpoint nvarchar(4000)
    SELECT @endpoint = 'http://www.haynespro-services.com/workshopServices3/services/DataServiceEndpoint'
    DECLARE @soapAction nvarchar(4000)
    SELECT @soapAction = ''
    --  For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
    DECLARE @contentType nvarchar(4000)
    SELECT @contentType = 'text/xml'

    DECLARE @http int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Http', @http OUT

    EXEC sp_OAMethod @http, 'ClearHeaders', NULL
    EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'Content-Type', @contentType
    EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'SOAPAction', @soapAction

    DECLARE @resp int
    EXEC sp_OAMethod @http, 'PostXml', @resp OUT, @endpoint, @soapRequestBody, 'utf-8'
    EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
    IF @iTmp0 = 0
      BEGIN
        EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
        PRINT @sTmp0

        PRINT 'Failed to send SOAP request.'
        EXEC @hr = sp_OADestroy @xml
        EXEC @hr = sp_OADestroy @http
        RETURN
      END

    -- Get the XML response body.
    DECLARE @responseXml int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Xml', @responseXml OUT

    EXEC sp_OAMethod @resp, 'GetBodyXml', @success OUT, @responseXml

    DECLARE @statusCode int
    EXEC sp_OAGetProperty @resp, 'StatusCode', @statusCode OUT

    PRINT 'response status code: ' + @statusCode

    EXEC @hr = sp_OADestroy @resp

    -- If the status code does not indicate succcess, then show the response XML,
    -- which probably contains error information.
    IF @statusCode <> 200
      BEGIN
        EXEC sp_OAMethod @responseXml, 'GetXml', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @xml
        EXEC @hr = sp_OADestroy @http
        EXEC @hr = sp_OADestroy @responseXml
        RETURN
      END

    EXEC sp_OAMethod @responseXml, 'GetXml', @sTmp0 OUT
    PRINT @sTmp0

    -- 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).

    DECLARE @componentCode nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @componentCode OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:componentCode'
    DECLARE @componentDescription nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @componentDescription OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:componentDescription'
    DECLARE @componentImageId nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @componentImageId OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:componentImageId'
    DECLARE @connectorSideImage nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @connectorSideImage OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:connectorSideImage'
    DECLARE @flashVarsString nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @flashVarsString OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:flashVarsString'
    DECLARE @xvalue nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @xvalue OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:points|*:item|*:xvalue'
    DECLARE @ymaxvalue nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @ymaxvalue OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:points|*:item|*:ymaxvalue'
    DECLARE @yminvalue nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @yminvalue OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:points|*:item|*:yminvalue'
    DECLARE @xaxis nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @xaxis OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:xaxis'
    DECLARE @yaxis nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @yaxis OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:graph|*:yaxis'
    DECLARE @name nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @name OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:name'
    DECLARE @item nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @item OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:scopeImagesPaths|*:item'
    DECLARE @sortOrder nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @sortOrder OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:sortOrder'
    DECLARE @value1 nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @value1 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:header|*:value1'
    DECLARE @value2 nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @value2 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:header|*:value2'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @value1 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:rows|*:item|*:value1'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @value2 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:table|*:rows|*:item|*:value2'
    DECLARE @text nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @text OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:text'
    DECLARE @title nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @title OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:title'
    DECLARE @pinNameId nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @pinNameId OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:pins|*:item|*:pinNameId'
    DECLARE @symbolInstanceId nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @symbolInstanceId OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:pins|*:item|*:symbolInstanceId'
    DECLARE @state nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @state OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:state'
    DECLARE @tool nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @tool OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:tool'
    DECLARE @unit nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @unit OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:unit'
    DECLARE @value nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @value OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:toolParameters|*:value'
    DECLARE @v_type nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @v_type OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:type'
    DECLARE @wirediagramLink nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @wirediagramLink OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:diagnosisSteps|*:item|*:wirediagramLink'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @title OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:diagnosisSteps|*:item|*:title'
    DECLARE @ecuSideImage nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @ecuSideImage OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:ecuSideImage'
    DECLARE @description nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @description OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:genericParts|*:item|*:description'
    DECLARE @id nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @id OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:genericParts|*:item|*:id'
    DECLARE @mandatory nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @mandatory OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:genericParts|*:item|*:mandatory'
    DECLARE @hasLocationSystems nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @hasLocationSystems OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:hasLocationSystems'
    DECLARE @categoryId nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @categoryId OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:categoryId'
    DECLARE @categoryName nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @categoryName OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:categoryName'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @id OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:id'
    DECLARE @mimeDataName nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @mimeDataName OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:mimeData|*:mimeDataName'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @name OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:name'
    DECLARE @order nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @order OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:order'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @id OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:paragraphContent|*:item|*:id'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @name OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:paragraphContent|*:item|*:name'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @order OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:paragraphContent|*:item|*:order'
    DECLARE @sentenceStyle nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @sentenceStyle OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:paragraphContent|*:item|*:sentenceStyle'
    DECLARE @remark nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @remark OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:remark'
    DECLARE @sentenceGroupType nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @sentenceGroupType OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:sentenceGroupType'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @sentenceStyle OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:sentenceStyle'
    DECLARE @filter nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @filter OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:filter'
    DECLARE @id1 nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @id1 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:id1'
    DECLARE @id2 nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @id2 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:id2'
    DECLARE @operation nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @operation OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:operation'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @item OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:smartLinks|*:item|*:text|*:item'
    DECLARE @code nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @code OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:code'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @description OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:description'
    DECLARE @dimensions nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @dimensions OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:dimensions'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @id OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:id'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @mimeDataName OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:mimeDataName'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @order OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:order'
    DECLARE @confirmationLink nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @confirmationLink OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:status|*:confirmationLink'
    DECLARE @statusCode nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @statusCode OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:specialTool|*:item|*:status|*:statusCode'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @confirmationLink OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:status|*:confirmationLink'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @statusCode OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:status|*:statusCode'
    DECLARE @numberOfColumns nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @numberOfColumns OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:tableContent|*:numberOfColumns'
    DECLARE @numberOfRows nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @numberOfRows OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:tableContent|*:numberOfRows'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @order OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:tableContent|*:tableCells|*:item|*:order'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @value OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:linkedStories|*:item|*:stories|*:item|*:tableContent|*:tableCells|*:item|*:value'
    DECLARE @localWiringImageConcise nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @localWiringImageConcise OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:localWiringImageConcise'
    DECLARE @localWiringImageExtended nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @localWiringImageExtended OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:localWiringImageExtended'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @description OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:description'
    DECLARE @hyperlink nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @hyperlink OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:hyperlink'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @name OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:name'
    DECLARE @pinName nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @pinName OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:pinName'
    DECLARE @pinNumber nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @pinNumber OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:pinNumber'
    DECLARE @si nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @si OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:si'
    DECLARE @st nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @st OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:st'
    DECLARE @wireColor1 nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @wireColor1 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:wireColor1'
    DECLARE @wireColor2 nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @wireColor2 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:wireColor2'
    DECLARE @supplied nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @supplied OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:supplied'
    DECLARE @voltage nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @voltage OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTable|*:componentsArray|*:item|*:voltage'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @description OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:description'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @hyperlink OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:hyperlink'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @name OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:name'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @pinName OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:pinName'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @pinNumber OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:pinNumber'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @si OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:si'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @st OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:st'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @wireColor1 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:wireColor1'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @wireColor2 OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:wireColor2'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @supplied OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:supplied'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @voltage OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:pinTableExtended|*:componentsArray|*:item|*:voltage'
    DECLARE @renderable nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @renderable OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:renderable'
    DECLARE @symbolInstance nvarchar(4000)
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @symbolInstance OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:completeComponentV9|*:symbolInstance'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @confirmationLink OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:status|*:confirmationLink'
    EXEC sp_OAMethod @responseXml, 'GetChildContent', @statusCode OUT, '*:Body|*:getCompleteComponentV9Response|*:getCompleteComponentV9Return|*:status|*:statusCode'

    EXEC @hr = sp_OADestroy @xml
    EXEC @hr = sp_OADestroy @http
    EXEC @hr = sp_OADestroy @responseXml


END
GO
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:getCompleteComponentV9>
            <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:getCompleteComponentV9>
    </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:getCompleteComponentV9Response>
            <intf:getCompleteComponentV9Return>
                <tns1:completeComponentV9>
                    <tns2:componentCode>xml</tns2:componentCode>
                    <tns2:componentDescription>xml</tns2:componentDescription>
                    <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:mimeData>
                                        <intf:mimeDataName>xml</intf:mimeDataName>
                                        <intf:subStoryLines/>
                                    </intf:mimeData>
                                    <intf:name>xml</intf:name>
                                    <intf:order>xml</intf:order>
                                    <intf:paragraphContent>
                                        <intf:item>
                                            <intf:id>xml</intf:id>
                                            <intf:name>xml</intf:name>
                                            <intf:order>xml</intf:order>
                                            <intf:sentenceStyle>xml</intf:sentenceStyle>
                                        </intf:item>
                                    </intf:paragraphContent>
                                    <intf:remark>xml</intf:remark>
                                    <intf:sentenceGroupType>xml</intf:sentenceGroupType>
                                    <intf:sentenceStyle>xml</intf:sentenceStyle>
                                    <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:tableContent>
                                        <intf:numberOfColumns>xml</intf:numberOfColumns>
                                        <intf:numberOfRows>xml</intf:numberOfRows>
                                        <intf:tableCells>
                                            <intf:item>
                                                <intf:order>xml</intf:order>
                                                <intf:value>xml</intf:value>
                                            </intf:item>
                                        </intf:tableCells>
                                    </intf:tableContent>
                                </intf:item>
                            </tns2:stories>
                        </intf:item>
                    </tns2:linkedStories>
                    <tns2:localWiringImageConcise>xml</tns2:localWiringImageConcise>
                    <tns2:localWiringImageExtended>xml</tns2:localWiringImageExtended>
                    <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>
                                <tns2:supplied>xml</tns2:supplied>
                                <tns2:voltage>xml</tns2:voltage>
                            </intf:item>
                        </tns2:componentsArray>
                    </tns2:pinTable>
                    <tns2:pinTableExtended>
                        <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>
                                <tns2:supplied>xml</tns2:supplied>
                                <tns2:voltage>xml</tns2:voltage>
                            </intf:item>
                        </tns2:componentsArray>
                    </tns2:pinTableExtended>
                    <tns2:renderable>xml</tns2:renderable>
                    <tns2:symbolInstance>xml</tns2:symbolInstance>
                </tns1:completeComponentV9>
                <tns1:status>
                    <intf:confirmationLink>xml</intf:confirmationLink>
                    <intf:statusCode>xml</intf:statusCode>
                </tns1:status>
            </intf:getCompleteComponentV9Return>
        </intf:getCompleteComponentV9Response>
    </soapenv:Body>
</soapenv:Envelope>