0

I just learn how to create a web service and consume it using PHP and (nusoap). now I am confused on how to authenticate a web service URL.

For example I have a web service that has a URL like below

       <?php
  include_once './lib/nusoap.php';
   $server = new nusoap_server();
  //print_r($server);
 $server->register('abc');
 function abc()
  {
    return 'welcoem';
  }
  $server->service($HTTP_RAW_POST_DATA);
  exit();
 ?>

 localhost/nusoap/webservice91.php

So I give it to a client. but I want to know is that particular person is using web service to whom I give them a URL.

How to get to know if another person is using our web service.

1 Answer 1

1

There are several options technically:

  1. HTTP authentication
  2. Soap-based authentication via soap headers.
  3. Roll-your-own authentication with username/password or token being embedded in the soap body as part of the actual request.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.