Book Image

ADempiere 3.6 Cookbook

Book Image

ADempiere 3.6 Cookbook

Overview of this book

Table of Contents (16 chapters)
ADempiere 3.6 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Equifax company matching service


This service is useful for matching company details against the Equifax Commercial databases. This may be used to figure out whether the company detail provided by the applicant is valid or not.

How to do it...

  1. 1. The following XML shall be created and sent to the Equifax NTG XML interface for a typical company matching service:

    String xml = "<?xml version=\"1.0\" standalone=\"yes\"?>"
    + "<request>"
    + "<request_header session_token=\"62da97aa-cefd-11df-a869-0a884fe6aa77-22\" interface_version_no= \"1.0\" dtd_version_no=\"1.0\">"
    + "<client_reference>XXXX</client_reference>"
    + "</request_header>"
    + "<service_request id=\"1\">"
    + "<company_matching_service>"
    + "<company_match_request>"
    + "<company_details company_id=\"12345\" databases=\"L\" country=\"GB\"/>"
    + "</company_match_request>"
    + "</company_matching_service>"
    + "</service_request>"
    + "</request>";
    

How it works...

Based...