{"id":4305,"date":"2022-11-12T16:37:52","date_gmt":"2022-11-12T16:37:52","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?page_id=4305"},"modified":"2025-09-26T22:59:02","modified_gmt":"2025-09-27T05:59:02","slug":"gp-soap","status":"publish","type":"page","link":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/","title":{"rendered":"GP &#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=\"Python\" tabindex=\"0\">Python<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"NodeJS\" tabindex=\"0\">NodeJS<\/li><\/ul><div class=\"tab-content\">\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong><strong>GeoPhone C# Code Snippet<\/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=\"\">\ufeffusing System;\nusing GPService;\n\nnamespace geophone_dot_net.SOAP\n{\n    \/\/\/ &lt;summary>\n    \/\/\/ Provides functionality to call the ServiceObjects GeoPhone SOAP service's GetPhoneInfo_V2 operation,\n    \/\/\/ retrieving phone-related information (e.g., provider and contact details) with fallback to a backup endpoint\n    \/\/\/ for reliability in live mode.\n    \/\/\/ &lt;\/summary>\n    public class GetPhoneInfoValidation\n    {\n        private const string LiveBaseUrl = \"https:\/\/sws.serviceobjects.com\/GP\/SOAP.svc\/SOAP\";\n        private const string BackupBaseUrl = \"https:\/\/swsbackup.serviceobjects.com\/GP\/SOAP.svc\/SOAP\";\n        private const string TrailBaseUrl = \"https:\/\/trial.serviceobjects.com\/GP\/SOAP.svc\/SOAP\";\n\n        private readonly string _primaryUrl;\n        private readonly string _backupUrl;\n        private readonly int _timeoutMs;\n        private readonly bool _isLive;\n\n        \/\/\/ &lt;summary>\n        \/\/\/ Initializes URLs\/timeout\/IsLive.\n        \/\/\/ &lt;\/summary>\n        public GetPhoneInfoValidation(bool isLive)\n        {\n            \/\/ Read timeout (milliseconds) and IsLive flag\n            _timeoutMs = 10000;\n            _isLive = isLive;\n\n            if (_isLive)\n            {\n                _primaryUrl = LiveBaseUrl;\n                _backupUrl = BackupBaseUrl;\n            }\n            else\n            {\n                _primaryUrl = TrailBaseUrl;\n                _backupUrl = TrailBaseUrl;\n            }\n\n            if (string.IsNullOrWhiteSpace(_primaryUrl))\n                throw new InvalidOperationException(\"Primary URL not set.\");\n            if (string.IsNullOrWhiteSpace(_backupUrl))\n                throw new InvalidOperationException(\"Backup URL not set.\");\n        }\n\n        \/\/\/ &lt;summary>\n        \/\/\/ Asynchronously calls the GetPhoneInfo_V2 SOAP endpoint to retrieve phone information,\n        \/\/\/ attempting the primary endpoint first and falling back to the backup if the response is invalid\n        \/\/\/ (Error.Number == \"4\") in live mode or if the primary call fails.\n        \/\/\/ &lt;\/summary>\n        \/\/\/ &lt;param name=\"phoneNumber\">The phone number in question.&lt;\/param>\n        \/\/\/ &lt;param name=\"licenseKey\">Your ServiceObjects GeoPhone license key&lt;\/param>\n        \/\/\/ &lt;returns>A &lt;see cref=\"Task{TResult}\"\/> containing a &lt;see cref=\"PhoneInfo_V2\"\/> object with provider and contact details or an error.&lt;\/returns>\n        \/\/\/ &lt;exception cref=\"Exception\">\n        \/\/\/ Thrown if both primary and backup endpoints fail.\n        \/\/\/ &lt;\/exception>\n        public async Task&lt;PhoneInfo_V2> InvokeAsync(string phoneNumber, string licenseKey)\n        {\n            SOAPClient clientPrimary = null;\n            SOAPClient clientBackup = null;\n\n            try\n            {\n                \/\/ Attempt Primary_PLL\n                clientPrimary = new SOAPClient();\n                clientPrimary.Endpoint.Address = new System.ServiceModel.EndpointAddress(_primaryUrl);\n                clientPrimary.InnerChannel.OperationTimeout = TimeSpan.FromMilliseconds(_timeoutMs);\n\n                PhoneInfo_V2 response = await clientPrimary.GetPhoneInfo_V2Async(phoneNumber, licenseKey).ConfigureAwait(false);\n\n                if(response == null || (response.Error != null &amp;&amp; response.Error.Number == \"4\"))\n                {\n                    throw new InvalidOperationException(\"Primary endpoint returned null or a fatal Number=4 error for PhoneInfo_V2\");\n                }\n                return response;\n            }\n            catch (Exception primaryEx)\n            {\n                \/\/ If primary fails, try Backup\n                try\n                {\n                    clientBackup =new SOAPClient();\n                    clientBackup.Endpoint.Address = new System.ServiceModel.EndpointAddress(_backupUrl);\n                    clientBackup.InnerChannel.OperationTimeout = TimeSpan.FromMilliseconds(_timeoutMs);\n\n                    PhoneInfo_V2 response = await clientBackup.GetPhoneInfo_V2Async(phoneNumber, licenseKey).ConfigureAwait(false);\n                    return response;\n                }\n                catch (Exception backupEx)\n                {\n                    \/\/ If backup also fails, wrap both exceptions\n                    throw new Exception(\n                        $\"Both primary and backup endpoints failed.\\n\" +\n                        $\"Primary error: {primaryEx.Message}\\n\" +\n                        $\"Backup error: {backupEx.Message}\");\n                }\n                finally\n                {\n                    clientBackup?.Close();\n                }\n            }\n            \n            finally\n            {\n                clientPrimary?.Close();\n            }\n        }\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>GeoPhone 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=\"\">from suds.client import Client\nfrom suds import WebFault\nfrom suds.sudsobject import Object\n\nclass GetPhoneInfoValidation:\n    def __init__(self, license_key: str, is_live: bool, timeout_ms: int = 10000):\n        \"\"\"\n        license_key: Service Objects GeoPhone license key.\n        is_live: whether to use live or trial endpoints\n        timeout_ms: SOAP call timeout in milliseconds\n        \"\"\"\n        self._timeout_s = timeout_ms \/ 1000.0\n        self._is_live = is_live\n        self.license_key = license_key\n\n        # WSDL URLs\n        self._primary_wsdl = (\n            \"https:\/\/sws.serviceobjects.com\/gp\/soap.svc?wsdl\"\n            if is_live else\n            \"https:\/\/trial.serviceobjects.com\/gp\/soap.svc?wsdl\"\n        )\n        self._backup_wsdl = (\n            \"https:\/\/swsbackup.serviceobjects.com\/gp\/soap.svc?wsdl\"\n            if is_live else\n            \"https:\/\/trial.serviceobjects.com\/gp\/soap.svc?wsdl\"\n        )\n\n    def get_phone_info(self, phone_number: str) -> Object:\n        \"\"\"\n        Calls GetPhoneInfo_V2 on the primary endpoint; on None response,\n        WebFault, or Error.Number == '4' falls back to the backup endpoint.\n        returns: the suds response object\n        raises RuntimeError: if both endpoints fail\n        \"\"\"\n        # Common kwargs for both calls\n        call_kwargs = dict(\n            PhoneNumber=phone_number,\n            LicenseKey=self.license_key\n        )\n\n        # Attempt primary\n        try:\n            client = Client(self._primary_wsdl, timeout=self._timeout_s)\n\n            # Override endpoint URL if needed:\n            response = client.service.GetPhoneInfo_V2(**call_kwargs)\n\n            # If response is None or fatal error code, trigger fallback\n            if response is None or (hasattr(response, 'Error') and response.Error and response.Error.Number == '4'):\n                raise ValueError(\"Primary returned no result or fatal Error.Number=4\")\n\n            return response\n\n        except (WebFault, ValueError, Exception) as primary_ex:\n            # Attempt backup\n            try:\n                client = Client(self._backup_wsdl, timeout=self._timeout_s)\n                response = client.service.GetPhoneInfo_V2(**call_kwargs)\n                if response is None:\n                    raise ValueError(\"Backup returned no result\")\n                return response\n            except (WebFault, Exception) as backup_ex:\n                msg = (\n                    \"Both primary and backup endpoints failed.\\n\"\n                    f\"Primary error: {str(primary_ex)}\\n\"\n                    f\"Backup error: {str(backup_ex)}\"\n                )\n                raise RuntimeError(msg)<\/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>GeoPhone NodeJS<\/strong><\/strong><\/strong> <strong><strong><strong>Code Snippet<\/strong><\/strong><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import { soap } from \"strong-soap\";\n\n\/**\n * &lt;summary>\n * A class that provides functionality to call the ServiceObjects GeoPhone SOAP service's GetPhoneInfo_V2 endpoint,\n * retrieving phone-related information with fallback to a backup endpoint for reliability in live mode.\n * &lt;\/summary>\n *\/\nclass GetPhoneInfoSoap {\n    \/**\n     * &lt;summary>\n     * Initializes a new instance of the GetPhoneInfoSoap class with the provided input parameters,\n     * setting up primary and backup WSDL URLs based on the live\/trial mode.\n     * &lt;\/summary>\n     * &lt;param name=\"input\" type=\"Object\">The input object containing phoneNumber, licenseKey, isLive, and timeoutSeconds.&lt;\/param>\n     * &lt;exception cref=\"Error\">Thrown if phoneNumber, licenseKey, primaryWsdl, or backupWsdl is empty or null.&lt;\/exception>\n     *\/\n    constructor(phoneNumber, licenseKey, isLive, timeoutSeconds) {\n        if (!phoneNumber) throw new Error(\"PhoneNumber cannot be empty or null.\");\n        if (!licenseKey) throw new Error(\"LicenseKey cannot be empty or null.\");\n\n        this.phoneNumber = phoneNumber;\n        this.licenseKey = licenseKey;\n        this.isLive = isLive;\n        this.timeoutSeconds = timeoutSeconds;\n        this.liveBaseUrl = \"https:\/\/sws.serviceobjects.com\/gp\/soap.svc?wsdl\";\n        this.backupBaseUrl = \"https:\/\/swsbackup.serviceobjects.com\/gp\/soap.svc?wsdl\";\n        this.trailBaseUrl = \"https:\/\/trial.serviceobjects.com\/gp\/soap.svc?wsdl\";\n        this._primaryWsdl = this.isLive ? this.liveBaseUrl : this.trailBaseUrl;\n        this._backupWsdl = this.isLive ? this.backupBaseUrl : this.trailBaseUrl;\n        if (!this._primaryWsdl) throw new Error(\"Primary WSDL URL is not set.\");\n        if (!this._backupWsdl) throw new Error(\"Backup WSDL URL is not set.\");\n    }\n\n    \/**\n     * &lt;summary>\n     * Asynchronously calls the GetPhoneInfo_V2 SOAP endpoint, attempting the primary endpoint\n     * first and falling back to the backup if the response is invalid (Error.Number == \"4\") in live mode\n     * or if the primary call fails.\n     * &lt;\/summary>\n     * &lt;returns type=\"Promise&lt;GPResponse>\">A promise that resolves to a GPResponse object with provider and contact details or an error.&lt;\/returns>\n     * &lt;exception cref=\"Error\">Thrown if both primary and backup calls fail, with details of both errors.&lt;\/exception>\n     *\/\n    async getPhoneInfo() {\n        const args = {\n            PhoneNumber: this.phoneNumber,\n            LicenseKey: this.licenseKey,\n        };\n\n        try {\n            const primaryResult = await this._callSoap(this._primaryWsdl, args);\n\n            if (this._isLive &amp;&amp; !this._isValid(primaryResult)) {\n                console.warn(\n                    \"Primary returned Error.Number == '4', falling back to backup...\"\n                );\n                const backupResult = await this._callSoap(this._backupWsdl, args);\n                return backupResult;\n            }\n\n            return primaryResult;\n        } catch (primaryErr) {\n            try {\n                const backupResult = await this._callSoap(this._backupWsdl, args);\n                return backupResult;\n            } catch (backupErr) {\n                throw new Error(\n                    `Both primary and backup calls failed:\\nPrimary: ${primaryErr.message}\\nBackup: ${backupErr.message}`\n                );\n            }\n        }\n    }\n\n    \/**\n     * &lt;summary>\n     * Performs a SOAP service call to the specified WSDL URL with the given arguments,\n     * creating a client and processing the response into a GPResponse object.\n     * &lt;\/summary>\n     * &lt;param name=\"wsdlUrl\" type=\"string\">The WSDL URL of the SOAP service endpoint (primary or backup).&lt;\/param>\n     * &lt;param name=\"args\" type=\"Object\">The arguments to pass to the GetPhoneInfo_V2 method (e.g., PhoneNumber, LicenseKey).&lt;\/param>\n     * &lt;returns type=\"Promise&lt;GPResponse>\">A promise that resolves to a GPResponse object containing the SOAP response data.&lt;\/returns>\n     * &lt;exception cref=\"Error\">Thrown if the SOAP client creation fails, the service call fails, or the response cannot be parsed.&lt;\/exception>\n     *\/\n    _callSoap(wsdlUrl, args) {\n        return new Promise((resolve, reject) => {\n            soap.createClient(wsdlUrl, { timeout: this.timeoutSeconds * 1000 }, (err, client) => {\n                if (err) return reject(err);\n\n                client.GetPhoneInfo_V2(args, (err, result) => {\n                    if (err) return reject(err);\n                    const rawData = result.GetPhoneInfo_V2Result;\n                    try {\n                        if (!rawData) {\n                            return reject(new Error(\"SOAP response is empty or undefined.\"));\n                        }\n                        resolve(rawData);\n                    } catch (parseErr) {\n                        reject(new Error(`Failed to parse SOAP response: ${parseErr.message}`));\n                    }\n                });\n            });\n        });\n    }\n\n    \/**\n     * &lt;summary>\n     * Checks if a SOAP response is valid by verifying that it exists and either has no Error object\n     * or the Error.Number is not equal to '4'.\n     * &lt;\/summary>\n     * &lt;param name=\"response\" type=\"GPResponse\">The GPResponse object to validate.&lt;\/param>\n     * &lt;returns type=\"boolean\">True if the response is valid, false otherwise.&lt;\/returns>\n     *\/\n    _isValid(response) {\n        return response &amp;&amp; (!response.Error || response.Error.Number !== \"4\");\n    }\n}\n\nexport { GetPhoneInfoSoap };<\/pre>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":4289,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4305","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GP - SOAP<\/title>\n<meta name=\"description\" content=\"C#PythonNodeJS GeoPhone C# Code Snippet \ufeffusing System; using GPService; namespace geophone_dot_net.SOAP { \/\/\/ &lt;summary&gt; \/\/\/ Provides functionality to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GP - SOAP\" \/>\n<meta property=\"og:description\" content=\"C#PythonNodeJS GeoPhone C# Code Snippet \ufeffusing System; using GPService; namespace geophone_dot_net.SOAP { \/\/\/ &lt;summary&gt; \/\/\/ Provides functionality to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-27T05:59:02+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:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/\",\"name\":\"GP - SOAP\",\"isPartOf\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-12T16:37:52+00:00\",\"dateModified\":\"2025-09-27T05:59:02+00:00\",\"description\":\"C#PythonNodeJS GeoPhone C# Code Snippet \ufeffusing System; using GPService; namespace geophone_dot_net.SOAP { \/\/\/ &lt;summary> \/\/\/ Provides functionality to\",\"breadcrumb\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS GeoPhone\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GP &#8211; Code Snippets and Sample Code\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"GP &#8211; SOAP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/www.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:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GP - SOAP","description":"C#PythonNodeJS GeoPhone C# Code Snippet \ufeffusing System; using GPService; namespace geophone_dot_net.SOAP { \/\/\/ &lt;summary> \/\/\/ Provides functionality to","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/","og_locale":"en_US","og_type":"article","og_title":"GP - SOAP","og_description":"C#PythonNodeJS GeoPhone C# Code Snippet \ufeffusing System; using GPService; namespace geophone_dot_net.SOAP { \/\/\/ &lt;summary> \/\/\/ Provides functionality to","og_url":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2025-09-27T05:59:02+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/","url":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/","name":"GP - SOAP","isPartOf":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-12T16:37:52+00:00","dateModified":"2025-09-27T05:59:02+00:00","description":"C#PythonNodeJS GeoPhone C# Code Snippet \ufeffusing System; using GPService; namespace geophone_dot_net.SOAP { \/\/\/ &lt;summary> \/\/\/ Provides functionality to","breadcrumb":{"@id":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/gp-soap\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS GeoPhone","item":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/"},{"@type":"ListItem","position":3,"name":"GP &#8211; Code Snippets and Sample Code","item":"https:\/\/www.serviceobjects.com\/docs\/dots-geophone\/gp-code-snippets-and-sample-code\/"},{"@type":"ListItem","position":4,"name":"GP &#8211; SOAP"}]},{"@type":"WebSite","@id":"https:\/\/www.serviceobjects.com\/docs\/#website","url":"https:\/\/www.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/www.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/www.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:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=4305"}],"version-history":[{"count":9,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4305\/revisions"}],"predecessor-version":[{"id":12355,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4305\/revisions\/12355"}],"up":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4289"}],"wp:attachment":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=4305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}