{"id":259,"date":"2018-10-11T18:34:10","date_gmt":"2018-10-11T18:34:10","guid":{"rendered":"https:\/\/help.bmtmicro.com\/vendors\/?page_id=259"},"modified":"2021-04-27T17:03:01","modified_gmt":"2021-04-27T17:03:01","slug":"xml-remote-registration","status":"publish","type":"page","link":"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/","title":{"rendered":"XML Remote Registration"},"content":{"rendered":"<p style=\"font-size: 14px; letter-spacing: .7px;\"><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/\">\u27f5 Back to XML Help<\/a><\/p>\n<p>Remote Key Registration via XML<\/p>\n<p>You can set up your products to have the customer&#8217;s registration key generated on-the-fly with a secure <a href=\"https:\/\/vendors.bmtmicro.com\/request-xml.jsp\" target=\"_blank\" rel=\"noopener noreferrer\">XML Request<\/a> sent to your server producing a specific <a href=\"https:\/\/vendors.bmtmicro.com\/response-xml.jsp\" target=\"_blank\" rel=\"noopener noreferrer\">XML Response<\/a> back to our server.<\/p>\n<blockquote><p><b>Please Note:<\/b> Only the registration key should be sent back to our server. Any custom text including registered name, further instructions and download links, should be added to the product&#8217;s <a href=\"https:\/\/help.bmtmicro.com\/vendors\/edit-customer-email-notifications\" target=\"_blank\" rel=\"noopener noreferrer\"> Customer Notification Email<\/a> template.<\/p><\/blockquote>\n<p>Once an order is completed, we can post an XML stream with complete customer information to your server and wait for a specific XML (POST) response. You would need to parse the XML into your CGI script and then format your response in XML. This needs to happen in real time as the customer&#8217;s product information email will not be sent until a response is received. All you need to do to get the XML data is to get the <b>input stream<\/b>&#8230;<\/p>\n<p style=\"margin: 0 0 0;\">Here is some sample code for a Java servlet:<\/p>\n<p style=\"border: 1px solid #3C4858; border-radius: 3px; padding: 4px 10px; margin: 0 0 15px;\">public void doPost (javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException {<br \/>\n    DOMParser parser = new DOMParser ();<br \/>\n    parser.parse (new org.xml.sax.InputSource (req.getInputStream ()));<br \/>\n    Document doc = parser.getDocument ();<br \/>\n    &#8230; the rest should be trivial &#8230;<br \/>\n    }<\/p>\n<p>A more complete JAVA sample can be found <a href=\"https:\/\/vendors.bmtmicro.com\/key-generator-sample-java.jsp\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>, there is also a <a href=\"https:\/\/help.bmtmicro.com\/vendors\/example-php-to-parse-xml\/\" target=\"_blank\" rel=\"noopener noreferrer\">PHP example<\/a>. Once you are ready to test this, enter the URL for your CGI in the Key Generator field under the Add\/Edit Product interface. You can view any error messages while testing with this <a href=\"https:\/\/vendors.bmtmicro.com\/system-error-orders.jsp\" target=\"_blank\" rel=\"noopener noreferrer\">System Error report<\/a>.<\/p>\n<p>For further information or help regarding this option, please <a href=\"https:\/\/vendors.bmtmicro.com\/contact\/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us<\/a>.<\/p>\n<p><\/br><\/p>\n<p style=\"font-size: 14px; letter-spacing: .7px;\"><a href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-help\/\">\u27f5 Back to XML Help<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u27f5 Back to XML Help Remote Key Registration via XML You can set up your products to have the customer&#8217;s registration key generated on-the-fly with a secure XML Request sent to your server producing a specific XML Response back to our server. Please Note: Only the registration key should be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-259","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>XML Remote Registration - BMT Micro, Inc. Vendor FAQ\/Help<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:locale\" content=\"en_US\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:type\" content=\"article\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:title\" content=\"XML Remote Registration - BMT Micro, Inc. Vendor FAQ\/Help\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:description\" content=\"\u27f5 Back to XML Help Remote Key Registration via XML You can set up your products to have the customer&#8217;s registration key generated on-the-fly with a secure XML Request sent to your server producing a specific XML Response back to our server. Please Note: Only the registration key should be [&hellip;]\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:site_name\" content=\"BMT Micro, Inc. Vendor FAQ\/Help\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bmt.micro\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-27T17:03:01+00:00\" class=\"yoast-seo-meta-tag\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.bmtmicro.com\/vendors\/wp-content\/uploads\/2019\/01\/bmtmicro-logo-600x315.jpg\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:site\" content=\"@BMTMicro\" class=\"yoast-seo-meta-tag\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" class=\"yoast-seo-meta-tag\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" class=\"yoast-seo-meta-tag\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/\",\"url\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/\",\"name\":\"XML Remote Registration - BMT Micro, Inc. Vendor FAQ\/Help\",\"isPartOf\":{\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/#website\"},\"datePublished\":\"2018-10-11T18:34:10+00:00\",\"dateModified\":\"2021-04-27T17:03:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.bmtmicro.com\/vendors\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"XML Remote Registration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.bmtmicro.com\/vendors\/#website\",\"url\":\"https:\/\/help.bmtmicro.com\/vendors\/\",\"name\":\"BMT Micro, Inc. Vendor FAQ\/Help\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.bmtmicro.com\/vendors\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"XML Remote Registration - BMT Micro, Inc. Vendor FAQ\/Help","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:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/","og_locale":"en_US","og_type":"article","og_title":"XML Remote Registration - BMT Micro, Inc. Vendor FAQ\/Help","og_description":"\u27f5 Back to XML Help Remote Key Registration via XML You can set up your products to have the customer&#8217;s registration key generated on-the-fly with a secure XML Request sent to your server producing a specific XML Response back to our server. Please Note: Only the registration key should be [&hellip;]","og_url":"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/","og_site_name":"BMT Micro, Inc. Vendor FAQ\/Help","article_publisher":"https:\/\/www.facebook.com\/bmt.micro","article_modified_time":"2021-04-27T17:03:01+00:00","og_image":[{"width":600,"height":315,"url":"https:\/\/help.bmtmicro.com\/vendors\/wp-content\/uploads\/2019\/01\/bmtmicro-logo-600x315.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@BMTMicro","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/","url":"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/","name":"XML Remote Registration - BMT Micro, Inc. Vendor FAQ\/Help","isPartOf":{"@id":"https:\/\/help.bmtmicro.com\/vendors\/#website"},"datePublished":"2018-10-11T18:34:10+00:00","dateModified":"2021-04-27T17:03:01+00:00","breadcrumb":{"@id":"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.bmtmicro.com\/vendors\/xml-remote-registration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.bmtmicro.com\/vendors\/"},{"@type":"ListItem","position":2,"name":"XML Remote Registration"}]},{"@type":"WebSite","@id":"https:\/\/help.bmtmicro.com\/vendors\/#website","url":"https:\/\/help.bmtmicro.com\/vendors\/","name":"BMT Micro, Inc. Vendor FAQ\/Help","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.bmtmicro.com\/vendors\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages\/259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/comments?post=259"}],"version-history":[{"count":20,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages\/259\/revisions"}],"predecessor-version":[{"id":1559,"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/pages\/259\/revisions\/1559"}],"wp:attachment":[{"href":"https:\/\/help.bmtmicro.com\/vendors\/wp-json\/wp\/v2\/media?parent=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}