Efficient construction of message endpoints
First Claim
1. A method for creating a message endpoint on a device in a distributed computing environment, the method comprising:
- receiving a request to create a message endpoint for a client on the device to communicate with a service within the distributed computing environment;
obtaining a service advertisement for said service, wherein said service advertisement specifies a message schema, a service address and an indication of whether or not access to said service is restricted;
if access to said service is restricted, obtaining an authentication credential to access said service;
if access to said service is restricted and if said authentication credential is obtained, constructing said message endpoint, wherein said message endpoint is configured to send messages according to said message schema to said service address; and
if access to said service is not restricted, constructing said message endpoint, wherein said message endpoint is configured to send messages according to said message schema to said service address.
3 Assignments
0 Petitions
Accused Products
Abstract
In a distributed computing environment, a message gate may be the message endpoint for a client or service. A message gate may provide a secure message endpoint that sends and receives type-safe messages. Devices may have a gate factory (e.g. message endpoint constructor) that is trusted code on the device for generating gates based on XML message descriptions. In one embodiment, the gate factory may construct a gate from the XML schema of the service, a URI for the service, and an authentication credential. Access to some services may be unrestricted. For such services, a gate may be constructed without an authentication credential, saving the overhead of running an authentication service and incorporating an authentication credential. Gate construction may also be optimized for certain clients that do not desire to perform checking of messages against a service'"'"'s XML schema. If verification is not desired, a client may avoid or may chose to avoid building (e.g. by a gate factory) some or all of the gate code that checks the messages against the XML schema. Also, the building of a gate may be made lightweight by appropriate reuse or sharing of pieces used to construct other gates. Devices may maintain a cache of gates to avoid constructing them each time the same service is run.
-
Citations
48 Claims
-
1. A method for creating a message endpoint on a device in a distributed computing environment, the method comprising:
-
receiving a request to create a message endpoint for a client on the device to communicate with a service within the distributed computing environment;
obtaining a service advertisement for said service, wherein said service advertisement specifies a message schema, a service address and an indication of whether or not access to said service is restricted;
if access to said service is restricted, obtaining an authentication credential to access said service;
if access to said service is restricted and if said authentication credential is obtained, constructing said message endpoint, wherein said message endpoint is configured to send messages according to said message schema to said service address; and
if access to said service is not restricted, constructing said message endpoint, wherein said message endpoint is configured to send messages according to said message schema to said service address. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for creating a message endpoint on a device in a distributed computing environment, the method comprising:
-
receiving a request to create a message endpoint for a client on the device to communicate with a service within the distributed computing environment;
obtaining a service advertisement for said service, wherein said service advertisement specifies a message schema and a service address for sending messages according to said schema to access said service;
determining if messages sent from or received by said message endpoint for said client should be verified for compliance to said schema;
if said determining determines that messages should be verified, constructing said message endpoint to communicate messages with said service address, wherein said message endpoint is configured to verify messages communicated with said service according to said schema. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for creating a message endpoint on a device in a distributed computing environment, the method comprising:
-
receiving a request to create a message endpoint for a client on the device to communicate with a service within the distributed computing environment;
obtaining a service advertisement for said service, wherein said service advertisement specifies a message schema defining messages for accessing said service; and
constructing said message endpoint to communicate messages with said service address, wherein said message endpoint comprises computer executable code and wherein at least part of said message endpoint is constructed by using preexisting message endpoint code stored by the device. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A device in a distributed computing environment, comprising:
-
a client configured to request a message endpoint for the client on the device to communicate with a service within the distributed computing environment;
a message endpoint constructor configured to obtain a service advertisement for said service, wherein said service advertisement specifies a message schema, a service address and an indication of whether or not access to said service is restricted;
wherein, if access to said service is restricted, said message endpoint constructor is configured to obtain an authentication credential to access said service;
wherein, if access to said service is restricted and if said authentication credential is obtained, said message endpoint constructor is configured to construct said message endpoint, wherein said message endpoint is configured to send messages according to said message schema to said service address; and
wherein, if access to said service is not restricted, said message endpoint constructor is configured to construct said message endpoint, wherein said message endpoint is configured to send messages according to said message schema to said service address. - View Dependent Claims (26, 27, 28, 29, 30)
-
-
31. A device in a distributed computing environment, comprising:
-
a client configured to request a message endpoint for the client on the device to communicate with a service within the distributed computing environment;
a message endpoint constructor configured to obtain a service advertisement for said service, wherein said service advertisement specifies a message schema and a service address for sending messages according to said schema to access said service;
wherein said message endpoint constructor is configured to determine if messages sent from or received by said messages endpoint for said client should be verified for compliance to said schema;
wherein, if said messages should be verified, said message endpoint constructor is configured to construct said message endpoint to communicate messages with said service address, and to construct said message endpoint to that said message endpoint is configured to verify messages communicated with said service according to said schema. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38)
-
-
39. A device in a distributed computing environment, comprising:
-
a client configured to request a message endpoint for the client on the device to communicate with a service within the distributed computing environment;
a message endpoint constructor configured to obtain a service advertisement for said service, wherein said service advertisement specifies a message schema defining messages for accessing said service; and
p1 wherein said message endpoint constructor is configured to construct said message endpoint to communicate messages with said service address, wherein said message endpoint comprises computer executable code and wherein at least part of said message endpoint is constructed by using preexisting message endpoint code stored by the device. - View Dependent Claims (40, 41, 42, 43, 44, 45, 46, 47, 48)
-
Specification