• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web Service question - Need your suggestion.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

I am newbie to web services.

I implemented one example web service in which I am exposing 3 different methods to the outside world.

MyService exposing the following operations to the outside world,

OperationA
OperationB
OperationC

3 different clients (remote client) need an access to my webservice.

Client - A need an access only to OperationA
Client - B need an access only to OperationB
Client - C need an access to all OperationA, OperationB, OperationC

In MyServices.wsdl document, I am exposing all the above operations. If Client - A view my WSDL, they will know about all my operations but I do not want to expose it to the client who doesn't need it.

How can I restrict clientA and ClientB to view only OperationA and OperationB?

Your response is greatly appreciated.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by venugopal krishnan:
A view my WSDL, they will know about all my operations but I do not want to expose it to the client who doesn't need it.



Well in that case you will have to give each client a separate WSDL and service endpoint. Of course "client A" "Web Service Operation A" should call exactly the same "Service Operation Implementation A" as the "client C" "Web Service Operation A" would. Similarly the "client B" "Web Service Operation B" should call exactly the same "Service Operation Implementation B" as the "client C" "Web Service Operation A" would.
 
reply
    Bookmark Topic Watch Topic
  • New Topic