×

Mapping policies to messages

  • US 8,005,901 B2
  • Filed: 07/14/2004
  • Issued: 08/23/2011
  • Est. Priority Date: 07/14/2004
  • Status: Active Grant
First Claim
Patent Images

1. In a Web services environment for exchanging messages in a distributed system, a method of identifying policies mapped to messages associated with an application, without having to have code within the application for determining what policies may apply to the messages, the method comprising the acts of:

  • receiving a message at a Web service engine associated with an application that is external to the Web service engine, the application configured to exchange messages in a distributed system;

    based on the contents of the received message, determining at least;

    a particular destination endpoint identifier related to the received message, wherein the particular destination endpoint identifier includes at least an address of a destination endpoint for the message;

    a particular request action identifier; and

    a particular request-reply property related to the received message;

    accessing a policy mapping file that includes;

    at least one endpoint section, wherein each of the at least one endpoint sections are related to a different destination endpoint identifier;

    at least one operation section, wherein each of the at least one operation sections is hierarchically within one of the at least one endpoint sections, wherein each of the at least one operation sections is related to a different operation and is represented by a corresponding different request action identifier; and

    at least one operation element, wherein each of the at least one operation elements is hierarchically within one of the at least one operation sections, wherein each of the at least one operation elements is related to a different request-reply property, and wherein each of the at least one operation elements indicates a type of interaction pattern for messages, wherein one or more of the at least one operation elements identifies one or more policy expressions with one or more policy assertions representing policies associated with exchanging messages with the application;

    scanning the policy mapping file for identifying an endpoint section relating to the address of the particular destination endpoint identifier, the scanning being performed by a processing unit of a computing device;

    after identifying the endpoint section relating to the particular destination endpoint identifier, scanning the identified endpoint section for identifying an operation section hierarchically within the identified endpoint section and which is represented by the particular request action identifier; and

    after identifying the operation section represented by the particular request action identifier, scanning the identified operation section for an operation element hierarchically within the identified operation section and which relates to the particular request-reply property, such that the identified operation element relates to, and is dependent upon, each of the address of the particular destination endpoint identifier, the particular request action identifier, and the particular request-reply property.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×