Hello All.
i want to use web serives of backgroundchecks.com
i put web reference in my project

now i have to call the methods. i have problem of doing this..
i want to get record of people with respect to first name last name
and dob... in product of US OneSEARCH .
i also attach handbook of backgroundchecks.
could any one help out it
Thanks
Irfan

Dani AI

Generated

The web service here is most likely a single-endpoint SOAP API that accepts one XML payload (as a string) and returns XML (as a string). For this explains why the generated proxy shows only one string-in/string-out method: the vendor packs authentication, product selection and search fields into one XML document. is right that it is straightforward once the payload shape is correct, and is correct to point at vendor tech support for sample requests and test credentials.

A practical, reliable workflow:

  • Inspect the WSDL (Visual Studio "Add Web Reference" or "Add Service Reference") to confirm the call signature and namespaces.
  • Build the XML payload programmatically instead of concatenating strings. Use System.Xml.Linq (XDocument/XElement) so elements, namespaces and date formats are correct.
  • Call the generated proxy method and capture the returned XML string.
  • Parse the returned XML with XDocument or XmlDocument and extract the nodes you need.

Example pattern (replace placeholders with actual proxy class and element names):

using System.Xml.Linq;

var req = new XDocument(
  new XElement("Request",
    new XElement("Auth",
      new XElement("Username", "YOUR_USER"),
      new XElement("Password", "YOUR_PASS")
    ),
    new XElement("Search",
      new XElement("FirstName", firstName),
      new XElement("LastName", lastName),
      new XElement("DOB", dob.ToString("yyyy-MM-dd"))
    )
  )
);

string requestXml = req.ToString(SaveOptions.DisableFormatting);
var proxy = new ServiceProxy();    // substitute generated proxy type
string responseXml = proxy.Call(requestXml);
var resp = XDocument.Parse(responseXml);

Troubleshooting notes: confirm required XML namespaces and exact element names with the vendor (they often differ from obvious names), watch date formats, check for required SOAP headers or SOAPAction, and capture raw HTTP traffic with Fiddler or enable .NET network tracing to see the actual request/response. For how to create/consume a web reference in Visual Studio and for building/parsing XML with LINQ to XML, see the Microsoft documentation: and .

Recommended Answers

All 7 Replies

Hi Irfan,

Could you please be more specific. You mentioned you have a problem to call web method. What is it?

i want to use methods of Backgroundchecks mentioned in doc file which i attached. now how i can call the US onSearch Product to get information about peoples.
how i can invoke these methods by passing arguments.
there is only i see a method of Product which take request as string and return as string.
now what kind of request it will . hope u understand what i am trying to say.
if u yet not getting my point of view then u can also again. no problem

thanks
Irfan

in Other words u can say How we can Integrate this web services

i want to consum this web service in my application and now i m facing problem in request and response objects.
Waiting for ur reply
Thanks
Irfan Ullah

in Other words u can say How we can Integrate this web services

i want to consum this web service in my application and now i m facing problem in request and response objects.
Waiting for ur reply
Thanks
Irfan Ullah

hey! I work at BGC and if you have any questions or concerns please contact our techsupport. We are glad and willing to help on any issue that you have with integration.

Thanks
CH

Thts really simple.........:icon_wink:

how u can say it is very easy :) man

i try for 3 days but not fullfill my requirements.

if u now how request and response in this webservices then plz help me out
i realy thank full to u

Thanks
Irfan Ullah

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.