Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Identifying client details

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to identify the client application type invoking a web service.
can I able to determine the client as a web service/stand alone client at the service side using client request.
 
Rancher
Posts: 43015
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Define "client application type"; it's not a generally understood term. Do you mean some HTTP header like User-Agent? Note that those are subject to client-side tampering.
 
sandeep Thandu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Define "client application type"; it's not a generally understood term. Do you mean some HTTP header like User-Agent? Note that those are subject to client-side tampering.



I want to find if client itself is a web service or not. I referred Http headers and Tcp details but could not able to tell what exactly is client type.
I only have client ip address but In my project I should also able to say that client who invoked myservice is a web service or not.

Thanks
 
Ulf Dittmer
Rancher
Posts: 43015
76
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The HTTP looks the same, no matter what kind of code performs the request. If you don't have control over the client (and thus can set an HTTP header, or pass a parameter), then there's no way to do this.
 
sandeep Thandu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:The HTTP looks the same, no matter what kind of code performs the request. If you don't have control over the client (and thus can set an HTTP header, or pass a parameter), then there's no way to do this.



Thanks for help.
I am assuming that i will have control over client(Inra Organization)
 
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic