IP Library Granted Patent US 8,151,281
Granted Patent B2
US 8,151,281 · App. 10/754,145 · Granted Apr 3, 2012

Method and system of mapping at least one web service to at least one OSGi service

Assignee: International Business Machines Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,151,281
App. No.
10/754,145
Granted
Apr 3, 2012
Kind
B2
Abstract

The present invention provides a method and system of mapping. In an exemplary embodiment, the method and system include (1) creating a proxy bundle corresponding to the at least one web service, (2) registering a proxy web service corresponding to the proxy bundle in a service registry, (3) searching for the at least one web service in the service registry, (4) returning a reference to the proxy web service from the service registry in response to the searching, and (5) invoking at least one method on the returned reference, thereby invoking the at least one web service.

Claims (30)

1. A computer system of exposing at least one local service as at least one web service, the computer system comprising:

a receiver within the computer system configured to receive a call for the at least one web service, wherein the call comprises a request and a response and wherein receiving the call comprises:

identifying a client that sent the call, wherein identifying includes using HyperText Transfer Protocol (HTTP) authentication; and

checking if at least one client bundle for the client exists;

a module processor coupled to the receiver within the computer system configured to-delegate the call to a client bundle, wherein delegating comprises:

identifying the client by a user identification tag (user ID) used by the client that sent the call to make the request;

creating the client bundle that is configured to be not persistent and to not register services for other bundles to use, wherein creating comprises, if at least one client bundle for the does not exist:

instantiating a client bundle for the client;

creating a union of all permissions that correspond to a client and groups to which the client belongs;

adding the union to a permission administration service for the client bundle;

registering a web service client service in a service registry, wherein registering comprises using the web service to forward the request to the client bundle; and

forwarding the request to the web service client service registered by the client bundle;

obtain the at least one local service from the service registry via the client bundle, wherein obtaining comprises organizing services in namespaces of a form/ws/sid/$sid, wherein $sid comprises an identification of an exposed service;

an invoke at least one method on the at least one local service via the client bundle, wherein invoking comprises using a class loader of the at least one local service to instantiate and reflect on all classes referenced the at least one local service; and

return a response from the invoked method for the at least one web service.

2. A processor-implemented method of exposing at least one local service as at least one web service via a computer system, the method comprising:

receiving via the computer system a call for the at least one web service, wherein the call comprises a request and a response and wherein receiving the call comprises:

identifying a client that sent the call, wherein identifying includes using HyperText Transfer Protocol (HTTP) authentication; and

checking if at least one client bundle for the client exists;

delegating via the computer system the call to a client bundle, wherein delegating comprises:

identifying the client by a user identification tag (user ID) used by the client that sent the call to make the request;

creating the client bundle that is configured to be not persistent and to not register services for other bundles to use, wherein creating comprises, if at least one client bundle for the does not exist:

instantiating a client bundle for the client;

creating a union of all permissions that correspond to a client and groups to which the client belongs;

adding the union to a permission administration service for the client bundle;

registering a web service client service in a service registry, wherein registering comprises using the web service to forward the request to the client bundle; and

forwarding the request to the web service client service registered by the client bundle;

obtaining via the computer system that at least one local service from the service registry via the client bundle, wherein obtaining comprises organizing services in namespaces of a form/ws/sid/$sid, wherein $sid comprises an identification of an exposed service;

invoking via the computer system at least one method on the at least one local service via the client bundle, wherein invoking comprises using a class loader of the at least one local service to instantiate and reflect on all classes referenced by the at least one local service; and

returning via the computer system a response from the invoked method for the at least one web service.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 9, 2004
From: REED, BENJAMIN C.; BONKENBURG, TED J.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 014896/0809 →
Continuity (1)
Related Publication 20050154785A1 · Jul 14, 2005