{"id":3780,"date":"2022-11-12T00:10:57","date_gmt":"2022-11-12T00:10:57","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?page_id=3780"},"modified":"2024-03-29T09:12:22","modified_gmt":"2024-03-29T16:12:22","slug":"ft-soap","status":"publish","type":"page","link":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/","title":{"rendered":"FT &#8211; SOAP"},"content":{"rendered":"\n<div class=\"wp-block-create-block-tabs\"><ul class=\"tab-labels\" role=\"tablist\" aria-label=\"tabbed content\"><li class=\"tab-label active\" role=\"tab\" aria-selected=\"true\" aria-controls=\"C#\" tabindex=\"0\">C#<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"Java\" tabindex=\"0\">Java<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"PHP\" tabindex=\"0\">PHP<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"RoR\" tabindex=\"0\">RoR<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"Python\" tabindex=\"0\">Python<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"ColdFusion\" tabindex=\"0\">ColdFusion<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"VB\" tabindex=\"0\">VB<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"Apex\" tabindex=\"0\">Apex<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"TSQL\" tabindex=\"0\">TSQL<\/li><\/ul><div class=\"tab-content\">\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax C# Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">try\n{\n    DOTSFastTaxSoapClient ws = new DOTSFastTaxSoapClient();\n    BestMatchResponse response = new BestMatchResponse();\n    response = ws.GetBestMatch(Address.Text, Address2.Text,City.Text, State.Text, Zip.Text, TaxType.Text, LicenseKey.Text);\n    if ((response.Error == null))\n    {\n        ProcessValidResponse(response);\n    }\n    else\n    {\n        ProcessErrorResponse(response.Error);\n    }\n}\ncatch (Exception er)\n{\n    \/\/Set the Primary and Backup Service References as necessary\n    try\n    {\n        DOTSFastTaxSoapClient wsbackup = new DOTSFastTaxSoapClient();\n        BestMatchResponse response = new BestMatchResponse();\n        response = wsbackup.GetBestMatch(Address.Text, Address2.Text, City.Text, State.Text, Zip.Text, TaxType.Text, LicenseKey.Text);\n        if ((response.Error == null))\n        {\n            ProcessValidResponse(response);\n        }\n        else\n        {\n            ProcessErrorResponse(response.Error);\n        }\n    }\n    catch (Exception ex)\n    {\n        resultsLabel.Visible = true;\n        resultsLabel.Text = ex.Message;\n    }\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax Java Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"java\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">URL TrialURL = new URL(\"https:\/\/trial.serviceobjects.com\/ft\/\");\nURL FailoverURL = new URL(\"https:\/\/trial.serviceobjects.com\/ft\/\");\n \nString Address,Address2,City,State,Zip,TaxType,LicenseKey;\nAddress = request.getParameter(\"iAddress\");\nAddress2 = request.getParameter(\"iAddress2\");\nCity = request.getParameter(\"iCity\");\nState = request.getParameter(\"iState\");\nZip = request.getParameter(\"iZip\");\nTaxType = request.getParameter(\"iTaxType\");\nLicenseKey = request.getParameter(\"iLicenseKey\");\nBestMatchResponse FTResponse = null;\nDOTSFastTax FTLocator = new DOTSFastTax(TrialURL);\nDOTSFastTaxSoap FTClient = FTLocator.getDOTSFastTaxSoap();\ntry{\n    FTResponse = FTClient.getBestMatch(Address, Address2, City, State, Zip, TaxType, LicenseKey);\n}\ncatch(Exception r)\n{\n    \/\/ Implementing failover logic below as an example.\n    DOTSFastTax FTLocatorBackup = new DOTSFastTax(FailoverURL);\n    DOTSFastTaxSoap backupClient = FTLocatorBackup.getDOTSFastTaxSoap();\n    FTResponse = backupClient.getBestMatch(Address, Address2, City, State, Zip, TaxType, LicenseKey);\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax PHP Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$Address        = trim($Address);\n$Address2       = trim($Address2);\n$City           = trim($City);\n$State          = trim($State);\n$Zip            = trim($Zip);\n$TaxType        = trim($TaxType);\n$LicenseKey     = trim($LicenseKey);\n \n$params['Address']      = $Address;\n$params['Address2']     = $Address2;\n$params['City']         = $City;\n$params['State']        = $State;\n$params['Zip']          = $Zip;\n$params['TaxType']      = $TaxType;\n$params['LicenseKey']   = $LicenseKey;\ntry\n{                         \n    $soapClient = new SoapClient(TrialURL, array( \"trace\" => 1 ));\n    $result = $soapClient->GetBestMatch($params)->GetBestMatchResult;\n     \n    if(isset($result->Error) &amp;&amp;\n       $result->Error->Number == 4)\n        {\n            throw new Exception;\n        }\n}\ncatch(Exception $e)\n{\n    \n    \/\/ Example fail over logic provided below. You should implement a variation which makes use of our backup datacenter\n    \/\/ in the event of a failure at our primary datacenter.\n    try\n    {\n        $soapClient = new SoapClient(FailOverURL, array( \"trace\" => 1 ));\n        $result = $soapClient->GetBestMatch($params);\n         \n         \n    }\n    catch(Exception $ex)\n    {\/\/Both soap calls failed\n        echo \"&lt;b> Primary and backup wsdls failed &lt;\/b>\";\n        return;\n    }\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax RoR Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">message =   {\n            \"Address\" => @request.address,\n            \"Address2\" => @request.address2,\n            \"City\" => @request.city,\n            \"State\" => @request.state,\n            \"Zip\" => @request.zipcode,\n            \"TaxType\" => @request.taxtype,\n            \"LicenseKey\" => @request.licensekey,\n            }\n#Implemented to make the code more readable when accessing the hash        \n@ftresponse = :get_best_match_response\n@ftresult = :get_best_match_result\n@ftInfoItems = :tax_info_items\n@ftBMtaxInfo = :best_match_tax_info\n@fterror = :error\n#Set Primary and Backup URLs here as needed\ndotsFTPrimary = \"https:\/\/trial.serviceobjects.com\/ft\/soap.svc?wsdl\"\ndotsFTBackup = \"https:\/\/trial.serviceobjects.com\/ft\/soap.svc?wsdl\"\n \nbegin\n    #initializes the soap client. The convert request keys global is necessary to receive a response from the service.\n    client = Savon.client(  wsdl: dotsFTPrimary,\n                            element_form_default: :qualified,\n                            convert_request_keys_to: :camelcase\n                         )\n    #Calls the operation with given inptus and converts response to a hash.\n    response = client.call(:get_best_match, message: message).to_hash\n    #Checks to see what results came back from the service\n    #@displaydata = response\n    if (response.nil? || (!response[@ftresponse][@ftresult][@fterror].nil? &amp;&amp; response[@ftresponse][@ftresult][@fterror][:number] == \"4\"))\n        raise\n    else\n        processresults(response)\n    end        \n     \n#If an error occurs during the call, this will use backup url and attempt to retrieve data.\nrescue StandardError => e\n    begin\n    backupclient = Savon.client(    wsdl: dotsFTBackup,\n                                    element_form_default: :qualified,\n                                    convert_request_keys_to: :camelcase\n                               )\n    #Sets the response to the backclient call to the operation and converts response to a hash.\n    response = backupclient.call(:get_best_match, message: message).to_hash\n    processresults(response)\n    @status = \"Backup Call Was Used\"\n    #If backup url failed, this will display the error received from the server\n    rescue StandardError =>error\n        @status = error\n        @displaydata = {\"error\" => \"A Big Error Occured\"}\n    end\nend<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax Python Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">primaryURL = 'https:\/\/trial.serviceobjects.com\/ft\/soap.svc?wsdl'\nbackupURL = 'https:\/\/trial.serviceobjects.com\/ft\/soap.svc?wsdl'\n#This block of code calls the web service and prints the resulting values to the screen\ntry:\n    client = Client(primaryURL)\n    result = client.service.GetBestMatch(Address=mAddress, Address2=mAddress2, City=mCity, State=mState, Zip=mPostalCode, TaxType=mTaxType, LicenseKey=mLicenseKey)\n    #Loops through either the error result or proper result and displays values to the screen.\n    if hasattr(result, 'Error') :\n        if (result.Error.Number == \"4\"):\n            raise Exception\n        else:\n            for value in result.Error:\n                Label(swin.window, text=str(value[0]) + \" : \" + str(value[1]) if value[1] else str(value[1])+\": None\").pack()\n    else:\n        for value in result:\n            Label(swin.window, text=str(value[0]) + \":  \" + str(value[1]) if value[1] else str(value[0]) + \" : None\").pack()\n#Tries the backup URL if the primary URL failed\nexcept:\n    try:\n        client = Client(backupURL)\n        result = client.service.GetBestMatch(Address=mAddress, Address2=mAddress2, City=mCity, State=mState, Zip=mPostalCode, TaxType=mTaxType, LicenseKey=mLicenseKey)\n        if hasattr(result, 'Error') :\n            for value in result.Error:\n                Label(swin.window, text=str(value[0]) + \" : \" + str(value[1]) if value[1] else str(value[1])+\": None\").pack()\n        else:\n            for value in result:\n                Label(swin.window, text=str(value[0]) + \":  \" + str(value[1]) if value[1] else str(value[0]) + \" : None\").pack()\n    #If the backup call failed then this will display an error to the screen\n    except:\n        Label(swin.window, text='Error').pack()\n        print (\"************************************************************************************************\")\n        print (\"************************************************************************************************\")\n        print (result)\nreturn<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax ColdFusion Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;!--Makes Request to web service --->\n&lt;cfscript>\n        try\n        {\n            if (isDefined(\"form.Action\") AND Action neq \"\")\n            {\n                wsresponse = CreateObject(\"webservice\", \"https:\/\/trial.serviceobjects.com\/ft\/soap.svc?wsdl\");                            \n                outputs = wsresponse.GetBestMatch(\"#Address#\", \"#Address2#\", \"#City#\", \"#State#\", \"#Zip#\", \"#TaxType#\", \"#LicenseKey#\");\n \n                if ((Len(outputs.getError()) GT 0) AND outputs.getError().getNumber() == \"4\")\n                {\n                    throw Exception;\n                }\n            }\n        }\n    catch(any Exception){\n        try\n            {\n                if (isDefined(\"form.Action\") AND Action neq \"\")\n                {\n                    wsresponse = CreateObject(\"webservice\", \"https:\/\/trial.serviceobjects.com\/ft\/soap.svc?wsdl\");                            \n                    outputs = wsresponse.GetBestMatch(\"#Address#\", \"#Address2#\", \"#City#\", \"#State#\", \"#Zip#\", \"#TaxType#\", \"#LicenseKey#\");\n                     \n                }\n            }\n            catch(any Exception)   \n                {\n                 writeoutput(\"An Error Has Occured. Please Reload and try again\");              \n                }\n        }\n&lt;\/cfscript><\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax VB Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"visualbasic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Try\n    Dim ws As New FTServiceReference.DOTSFastTaxSoapClient\n    Dim response As FTServiceReference.BestMatchResponse\n \n    response = ws.GetBestMatch(Address.Text, Address2.Text, City.Text, State.Text, Zip.Text, TaxType.Text, LicenseKey.Text)\n    If (response.Error Is Nothing) Then\n \n        ProcessValidResponse(response)\n    Else\n        ProcessErrorResponse(response.Error)\n    End If\n \n \nCatch er As Exception\n    ''Set the Primary and Backup Service References as necessary\n    Try\n        Dim wsbackup As New FTServiceReference.DOTSFastTaxSoapClient\n        Dim response As FTServiceReference.BestMatchResponse\n \n        response = wsbackup.GetBestMatch(Address.Text, Address2.Text, City.Text, State.Text, Zip.Text, TaxType.Text, LicenseKey.Text)\n        If (response.Error Is Nothing) Then\n            ProcessValidResponse(response)\n        Else\n            ProcessErrorResponse(response.Error)\n        End If\n    Catch ex As Exception\n        resultsLabel.Visible = True\n        resultsLabel.Text = ex.Message\n \n    End Try\nEnd Try<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax Apex Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"java\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">wwwServiceobjectsCom.BestMatchResponse result;\ntry{\nwwwServiceobjectsCom.DOTSFastTaxSoap client = new wwwServiceobjectsCom.DOTSFastTaxSoap();\nresult = client.GetBestMatch([Address], [Address2], [City], [State], [Zip], [TaxType], [LicenseKey]);\n}\ncatch(Exception ex){\n \/\/If the first request failed try the failover endpoint\nwwwServiceobjectsCom.DOTSFastTaxSoap backupClient = new wwwServiceobjectsCom.DOTSFastTaxSoap();\n\/\/The backup environment will be provided to you upon purchasing a production license key\nbackupClient.endpoint_x = 'https:\/\/swsbackup.serviceobjects.com\/ft\/';\nresult = backupClient.GetBestMatch([Address], [Address2], [City], [State], [Zip], [TaxType], [LicenseKey]);\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>FastTax TSQL Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">SET @requestBody ='&lt;s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\">'+\n                   '&lt;s:Body xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\">'+\n                   '&lt;GetBestMatch xmlns=\"https:\/\/www.serviceobjects.com\/\">'+\n                   '&lt;Address>' + @address + '&lt;\/Address>'+\n                   '&lt;Address2>' + @address2 + '&lt;\/Address2>'+\n                   '&lt;City>' + @city + '&lt;\/City>'+\n                   '&lt;State>' + @state + '&lt;\/State>'+\n                   '&lt;Zip>' + @zip + '&lt;\/Zip>'+\n                   '&lt;TaxType>' + @taxtype + '&lt;\/TaxType>'+\n                   '&lt;LicenseKey>' + @key + '&lt;\/LicenseKey>'+\n                   '&lt;\/GetBestMatch>'+\n                   '&lt;\/s:Body>'+\n                   '&lt;\/s:Envelope>'\n \nSET @requestLength = LEN(@requestBody)\n \n    --If a production key is purchased, this will execute the failover\nIF @isLiveKey = 1\nBEGIN\n    EXEC sp_OACreate 'MSXML2.ServerXMLHttp', @obj OUT\n    EXEC sp_OAMethod @obj, 'Open', NULL, 'POST', 'https:\/\/trial.serviceobjects.com\/ft\/', false\n    EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'HOST', 'trial.serviceobjects.com'\n    EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'Content-Type', 'text\/xml; charset=UTF-8'\n    EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'SOAPAction', '\"https:\/\/www.serviceobjects.com\/GetBestMatch\"'\n    EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'Content-Length', @requestLength\n    EXEC sp_OAMethod @obj, 'send', NULL, @requestBody\n    EXEC sp_OAGetProperty @obj, 'Status', @responseCode OUTPUT\n    EXEC sp_OAGetProperty @obj, 'StatusText', @statusText OUTPUT\n    EXEC sp_OAGetProperty @obj, 'responseText', @response OUTPUT\n             \n    --Checks the Response for a fatal error or if null.\n    IF @response IS NULL\n    BEGIN\n        EXEC sp_OACreate 'MSXML2.ServerXMLHttp', @obj OUT\n        EXEC sp_OAMethod @obj, 'Open', NULL, 'POST', 'https:\/\/trial.serviceobjects.com\/ft\/', false\n        EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'HOST', 'trial.serviceobjects.com'\n        EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'Content-Type', 'text\/xml; charset=UTF-8'\n        EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'SOAPAction', '\"https:\/\/www.serviceobjects.com\/GetBestMatch\"'\n        EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'Content-Length', @requestLength\n        EXEC sp_OAMethod @obj, 'send', NULL, @requestBody\n        EXEC sp_OAGetProperty @obj, 'Status', @responseCode OUTPUT\n        EXEC sp_OAGetProperty @obj, 'StatusText', @statusText OUTPUT\n        EXEC sp_OAGetProperty @obj, 'responseText', @response OUTPUT\n    END\nEND<\/pre>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":3752,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3780","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>FT - SOAP<\/title>\n<meta name=\"description\" content=\"C#JavaPHPRoRPythonColdFusionVBApexTSQL FastTax C# Code Snippet try { DOTSFastTaxSoapClient ws = new DOTSFastTaxSoapClient(); BestMatchResponse response =\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FT - SOAP\" \/>\n<meta property=\"og:description\" content=\"C#JavaPHPRoRPythonColdFusionVBApexTSQL FastTax C# Code Snippet try { DOTSFastTaxSoapClient ws = new DOTSFastTaxSoapClient(); BestMatchResponse response =\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-29T16:12:22+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/\",\"name\":\"FT - SOAP\",\"isPartOf\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-12T00:10:57+00:00\",\"dateModified\":\"2024-03-29T16:12:22+00:00\",\"description\":\"C#JavaPHPRoRPythonColdFusionVBApexTSQL FastTax C# Code Snippet try { DOTSFastTaxSoapClient ws = new DOTSFastTaxSoapClient(); BestMatchResponse response =\",\"breadcrumb\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS FastTax\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"FT &#8211; Code Snippets and Sample Code\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"FT &#8211; SOAP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"width\":2560,\"height\":1440,\"caption\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\"},\"image\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FT - SOAP","description":"C#JavaPHPRoRPythonColdFusionVBApexTSQL FastTax C# Code Snippet try { DOTSFastTaxSoapClient ws = new DOTSFastTaxSoapClient(); BestMatchResponse response =","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"FT - SOAP","og_description":"C#JavaPHPRoRPythonColdFusionVBApexTSQL FastTax C# Code Snippet try { DOTSFastTaxSoapClient ws = new DOTSFastTaxSoapClient(); BestMatchResponse response =","og_url":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2024-03-29T16:12:22+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/","url":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/","name":"FT - SOAP","isPartOf":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-12T00:10:57+00:00","dateModified":"2024-03-29T16:12:22+00:00","description":"C#JavaPHPRoRPythonColdFusionVBApexTSQL FastTax C# Code Snippet try { DOTSFastTaxSoapClient ws = new DOTSFastTaxSoapClient(); BestMatchResponse response =","breadcrumb":{"@id":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/ft-soap\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS FastTax","item":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/"},{"@type":"ListItem","position":3,"name":"FT &#8211; Code Snippets and Sample Code","item":"https:\/\/test.serviceobjects.com\/docs\/dots-fasttax\/ft-code-snippets-and-sample-code\/"},{"@type":"ListItem","position":4,"name":"FT &#8211; SOAP"}]},{"@type":"WebSite","@id":"https:\/\/test.serviceobjects.com\/docs\/#website","url":"https:\/\/test.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/test.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/test.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","width":2560,"height":1440,"caption":"Service Objects | Contact, Phone, Email Verification | Data Quality Services"},"image":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=3780"}],"version-history":[{"count":7,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3780\/revisions"}],"predecessor-version":[{"id":10040,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3780\/revisions\/10040"}],"up":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3752"}],"wp:attachment":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=3780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}