{"id":5683,"date":"2022-11-14T23:24:46","date_gmt":"2022-11-14T23:24:46","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?page_id=5683"},"modified":"2024-03-29T09:02:31","modified_gmt":"2024-03-29T16:02:31","slug":"nv2-soap","status":"publish","type":"page","link":"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/","title":{"rendered":"NV2 &#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><strong><strong>Name Validation 2 C# Code Snippet<\/strong><\/strong><\/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=\"\">\/\/Add a service to your application https:\/\/trial.serviceobjects.com\/nv2\/api.svc\nNV2Client = new NV2LibraryClient(\"DOTSNameValidation2Primary\");\nNV2Client.InnerChannel.OperationTimeout = new TimeSpan(0, 0, 0, WEB_SERVICE_REQUEST_TIMEOUT);\nresponse = NV2Client.ValidateNameV2(name, option, licenseKey);\n\/\/NULL ERROR || FATAL ERROR RETURNED -- TRY BACKUP\nif (response == null || (response.Error != null &amp;&amp; response.Error.TypeCode == \"3\"))\n{\n    \/\/Call Backup Endpoint\n}\nreturn response;<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p>Name Validation 2 Java Code Snippet<\/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=\"\">NameInfoV2Response  NV2Response = null;\nNV2Error error= null;\nString name = request.getParameter(\"iName\");\nString option = request.getParameter(\"iOption\");\nString licenseKey = request.getParameter(\"iKey\");\n             \nNameValidation2Locator locator = new NameValidation2Locator();\n \nlocator.setEndpointAddress(\"soap\", \"https:\/\/trial.serviceobjects.com\/NV2\/api.svc\/soap\");\n \nINV2Library soap = locator.getsoap();\n \ntry{\n    NV2Response = soap.validateNameV2(name, option, licenseKey);\n     \n    error = NV2Response.getError();\n    if(error !=null &amp;&amp; error.getTypeCode() == \"3\")\n    {\n        throw new Exception(); \n    }\n    }\ncatch\n{\n    \/\/call backup endpoint\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong><strong><strong>Name Validation 2 PHP Code Snippet<\/strong><\/strong><\/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=\"\">&lt;?php\n \n\/\/ Only make Soap request or show the results table if the form was submitted.\nif (($Action)==\"Submit\") {\n \n\/\/ Invoke the operation\n    $SoapResponse =\n        $soapClient->ValidateNameV2(array(\n        \"Name\" => $Name,\n        \"Option\" => $Option,\n        \"LicenseKey\" => $LicenseKey));\n \n    \/\/Store result node in a more convenient variable\n    $ResultNode = $SoapResponse->ValidateNameV2Result;\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><strong><strong>Name Validation 2 RoR Code Snippet<\/strong><\/strong><\/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=\"\">#Implemented to make the code more readable when accessing the hash    \n@nv2response = :validate_name_v2_response\n@nv2result = :validate_name_v2_result\n@nv2info = :name_info_v2\n@nv2error = :error\n \n#Set Primary and Backup URLs here as needed\ndotsNV2Primary = \"https:\/\/trial.serviceobjects.com\/nv2\/api.svc?WSDL\"\ndotsNV2Backup = \"https:\/\/trial.serviceobjects.com\/nv2\/api.svc?WSDL\"\n \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: dotsNV2Primary,\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(:validate_name_v2, message: message).to_hash\n  #Checks to see what results came back from the service\n  processresults(response) \n   \n#If an error occurs during the call, this will use backup url and attempt to retrieve data.\nrescue Savon::Error => e\n  begin\n  backupclient = Savon.client(  wsdl: dotsNV2Backup,\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(:validate_name_v2, message: message).to_hash\n  processresults(response)\n \n  #If backup url failed, this will display the error received from the server\n  rescue Savon::Error =>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><strong><strong>Name Validation 2 Python Code Snippet<\/strong><\/strong><\/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=\"\">#Set the primary and backup URLs as needed\nprimaryURL = 'https:\/\/trial.serviceobjects.com\/NV2\/api.svc?wsdl'\nbackupURL = 'https:\/\/trial.serviceobjects.com\/NV2\/api.svc?wsdl'\n \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.ValidateNameV2(Name= mName, Option=mOption, LicenseKey=mLicenseKey)\n    #Loops through either the error result or proper result and displays values to the screen.\n    if hasattr(result, 'Error'):\n        for value in result.Error:\n            Label(swin.window, text=str(value[0]) + \" : \" + str(value[1]) if str(value[1]) else str(value[0])+\": None\").pack()\n \n    else:\n        #Prints all the values in a successful response except for BestGuessName\n        for value in result.NameInfoV2:\n            if str(value[0]) != 'BestGuessName':\n                Label(swin.window, text=(str(value[0]) + \":  \" + str(value[1]) if (str(value[1]) != \"None\") else str(value[0]) + \" : None\")).pack()\n \n        if str(result.NameInfoV2.BestGuessName) != \"None\":\n                Label(swin.window, font ='bold', text=\"Best Guess Name\").pack()\n                for value in result.NameInfoV2.BestGuessName:\n                    Label(swin.window, text=str(value[0]) + \":  \" + str(value[1]) if (str(value[1]) != \"None\") else str(value[0]) + \" : None\").pack()\n \n#Tries the backup URL if the primary URL failed\nexcept:\n    try:\n        client = Client(backupURL)\n        result = client.service.ValidateNameV2(Name= mName, Option=mOption, LicenseKey=mLicenseKey)\n        #Loops through either the error result or proper result and displays values to the screen.\n        if hasattr(result, 'Error'):\n            for value in result.Error:\n                Label(swin.window, text=str(value[0]) + \" : \" + str(value[1]) if str(value[1]) else str(value[0])+\": None\").pack()<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong><strong><strong>Name Validation 2 Code Snippet<\/strong><\/strong><\/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\/NV2\/api.svc?wsdl\");                             \n                outputs = wsresponse.validateNameV2(\"#Name#\", \"#Option#\", \"#LicenseKey#\");\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\/NV2\/api.svc?wsdl\");                             \n                    outputs = wsresponse.validateNameV2(\"#Name#\", \"#Option#\", \"#LicenseKey#\");\n                     \n                }\n            }\n            catch(any Exception)    {\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><strong><strong>Name Validation 2 Visual Basic Code Snippet<\/strong><\/strong><\/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 NV2ServiceReference.NV2LibraryClient\n    Dim response As NV2ServiceReference.NameInfoV2Response\n \n \n    response = ws.ValidateNameV2(Name.Text, Opt.Text, LicenseKey.Text)\n    If (response.Error Is Nothing) Then\n        ProcessValidResponse(response)\n    Else\n        ProcessErrorResponse(response.Error)\n    End If\n \n \nCatch er As Exception\n    Try\n        ''Set the primary and backup service references as necessary\n        Dim wsbackup As New NV2ServiceReference.NV2LibraryClient\n        Dim response As NV2ServiceReference.NameInfoV2Response\n \n        response = wsbackup.ValidateNameV2(Name.Text, Opt.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 \n        resultsLabel.Visible = True\n        resultsLabel.Text = ex.Message\n \n    End Try\n \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><strong><strong>Name Validation 2 Apex Code Snippet<\/strong><\/strong><\/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.NameInfoV2Response result;\ntry{\nwwwServiceobjectsCom.soap client = new wwwServiceobjectsCom.soap();\nresult = client.ValidateNameV2([Name], [Option], [LicenseKey]);\n}\ncatch(Exception ex){\n \/\/If the first request failed try the failover endpoint\nwwwServiceobjectsCom.soap backupClient = new wwwServiceobjectsCom.soap();\n\/\/The backup environment will be provided to you upon purchasing a production license key\nbackupClient.endpoint_x = 'https:\/\/trial.serviceobjects.com\/NV2\/api.svc\/soap';\nresult = backupClient.ValidateNameV2([Name], [Option], [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><strong><strong>Name Validation 2 TSQL Code Snippet<\/strong><\/strong><\/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=\"https:\/\/schemas.xmlsoap.org\/soap\/envelope\/\">'+\n                   '&lt;s:Body>'+\n                   '&lt;ValidateNameV2 xmlns=\"https:\/\/www.serviceobjects.com\">'+\n                   '&lt;Name>' + @name + '&lt;\/Name>'+\n                   '&lt;Option>' + @option + '&lt;\/Option>'+\n                   '&lt;LicenseKey>' + @key + '&lt;\/LicenseKey>'+\n                   '&lt;\/ValidateNameV2>'+\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:\/\/sws.serviceobjects.com\/NV2\/api.svc\/soap', false\n    EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'HOST', 'sws.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\/INV2Library\/ValidateNameV2\"'\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:\/\/swsbackup.serviceobjects.com\/NV2\/api.svc\/soap', false\n        EXEC sp_OAMethod @obj, 'setRequestHeader', NULL, 'HOST', 'swsbackup.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\/INV2Library\/ValidateNameV2\"'\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":2,"featured_media":0,"parent":5669,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5683","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>NV2 - SOAP<\/title>\n<meta name=\"description\" content=\"C#JavaPHPRoRPythonColdFusionVBApex TSQL Name Validation 2 C# Code Snippet \/\/Add a service to your application https:\/\/trial.serviceobjects.com\/nv2\/api.svc\" \/>\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=\"NV2 - SOAP\" \/>\n<meta property=\"og:description\" content=\"C#JavaPHPRoRPythonColdFusionVBApex TSQL Name Validation 2 C# Code Snippet \/\/Add a service to your application https:\/\/trial.serviceobjects.com\/nv2\/api.svc\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-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:02:31+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-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/\",\"name\":\"NV2 - SOAP\",\"isPartOf\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-14T23:24:46+00:00\",\"dateModified\":\"2024-03-29T16:02:31+00:00\",\"description\":\"C#JavaPHPRoRPythonColdFusionVBApex TSQL Name Validation 2 C# Code Snippet \/\/Add a service to your application https:\/\/trial.serviceobjects.com\/nv2\/api.svc\",\"breadcrumb\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Name Validation 2\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"NV2 &#8211; Code Snippets and Sample Code\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"NV2 &#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":"NV2 - SOAP","description":"C#JavaPHPRoRPythonColdFusionVBApex TSQL Name Validation 2 C# Code Snippet \/\/Add a service to your application https:\/\/trial.serviceobjects.com\/nv2\/api.svc","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":"NV2 - SOAP","og_description":"C#JavaPHPRoRPythonColdFusionVBApex TSQL Name Validation 2 C# Code Snippet \/\/Add a service to your application https:\/\/trial.serviceobjects.com\/nv2\/api.svc","og_url":"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2024-03-29T16:02:31+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-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/","url":"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/","name":"NV2 - SOAP","isPartOf":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-14T23:24:46+00:00","dateModified":"2024-03-29T16:02:31+00:00","description":"C#JavaPHPRoRPythonColdFusionVBApex TSQL Name Validation 2 C# Code Snippet \/\/Add a service to your application https:\/\/trial.serviceobjects.com\/nv2\/api.svc","breadcrumb":{"@id":"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/nv2-soap\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Name Validation 2","item":"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/"},{"@type":"ListItem","position":3,"name":"NV2 &#8211; Code Snippets and Sample Code","item":"https:\/\/test.serviceobjects.com\/docs\/dots-name-validation-2\/nv2-code-snippets-and-sample-code\/"},{"@type":"ListItem","position":4,"name":"NV2 &#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\/5683","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=5683"}],"version-history":[{"count":9,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/5683\/revisions"}],"predecessor-version":[{"id":10030,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/5683\/revisions\/10030"}],"up":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/5669"}],"wp:attachment":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=5683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}