Method and apparatus for dynamically determining information for deploying a web service
First Claim
1. A method of deploying a Web service, said method comprising the steps of:
- maintaining a key in a memory device correlating each one of a plurality of Web service deployment artifact types to a corresponding one of a plurality of Web service deployment strategies;
receiving a Web service deployment artifact associated with a Web service;
determining if said received artifact is a Web service deployment object having a corresponding deployment strategy as set forth in said key;
if said received artifact is a Web service deployment object having a corresponding deployment strategy in said key, using said deployment strategy corresponding to said artifact type of said received artifact to attempt to deploy said associated Web service;
if said received artifact is not a Web service deployment object having a corresponding deployment strategy set forth in said key, determining if said received artifact is a character string containing an extension having a corresponding deployment strategy as set forth in said key;
if said received artifact is of an artifact type in said key, using said deployment strategy corresponding to said artifact type of said received artifact to attempt to deploy said associated Web service; and
if said received artifact is not of a Web service deployment object having a corresponding deployment strategy set forth in said key and is not a character string containing an extension having a corresponding deployment strategy as set forth in said key, attempting to parse said deployment artifact into an XML Document Object Model (DOM);
if said deployment artifact is parsed into a DOM;
determining a namespace of said DOM; and
determining if said namespace is a character string having a corresponding deployment strategy as set forth in said maintained data.
3 Assignments
0 Petitions
Accused Products
Abstract
The invention is a method and apparatus that, upon receipt of a Web service deployment artifact, attempts to determine a deployment strategy for the Web service and deploy the Web service using that strategy. The invention stores a plurality of deployment strategies and corresponding deployment identifiers. When it receives a deployment artifact, it checks if it is a recognized deployment descriptor object that is registered with it as a deployment identifier, and, if so, runs the corresponding deployment strategy to deploy the Web service. If this scheme does not work, it tries a second scheme in which it assumes that the artifact is a URL or URI character string and attempts to parse the artifact to determine the extension of the provided resource and use it as its deployment identifier. If it determines and recognizes the extension, it attempts to deploy the Web service utilizing the deployment strategy that it has registered as corresponding to that extension/identifier. If that is unsuccessful, it attempts to parse the provided resource to create a Document Object Model (DOM) and then queries the DOM'"'"'s namespace for a deployment strategy.
36 Citations
5 Claims
-
1. A method of deploying a Web service, said method comprising the steps of:
-
maintaining a key in a memory device correlating each one of a plurality of Web service deployment artifact types to a corresponding one of a plurality of Web service deployment strategies; receiving a Web service deployment artifact associated with a Web service; determining if said received artifact is a Web service deployment object having a corresponding deployment strategy as set forth in said key; if said received artifact is a Web service deployment object having a corresponding deployment strategy in said key, using said deployment strategy corresponding to said artifact type of said received artifact to attempt to deploy said associated Web service; if said received artifact is not a Web service deployment object having a corresponding deployment strategy set forth in said key, determining if said received artifact is a character string containing an extension having a corresponding deployment strategy as set forth in said key; if said received artifact is of an artifact type in said key, using said deployment strategy corresponding to said artifact type of said received artifact to attempt to deploy said associated Web service; and if said received artifact is not of a Web service deployment object having a corresponding deployment strategy set forth in said key and is not a character string containing an extension having a corresponding deployment strategy as set forth in said key, attempting to parse said deployment artifact into an XML Document Object Model (DOM); if said deployment artifact is parsed into a DOM; determining a namespace of said DOM; and determining if said namespace is a character string having a corresponding deployment strategy as set forth in said maintained data. - View Dependent Claims (2)
-
-
3. A computer readable product embodied on computer readable media readable by a computing device for determining an appropriate deployment strategy for and deploying a Web service, said product comprising:
-
computer executable instructions for maintaining a key correlating each one of a plurality of Web service deployment artifact types to a corresponding one of a plurality of Web service deployment strategies; computer executable instructions for receiving a Web service deployment artifact associated with a Web service; computer executable instructions for determining if said received artifact is a Web service deployment descriptor having a corresponding deployment strategy as set forth in said key; computer executable instructions for, if said received artifact is a Web service deployment object having a corresponding deployment strategy in said key, using said deployment strategy corresponding to said artifact type of said received artifact to attempt to deploy said associated Web service; computer executable instructions for, if said received artifact is not a Web service deployment object having a corresponding deployment strategy set forth in said key, determining if said received artifact is a character string containing an extension having a corresponding deployment strategy as set forth in said key; computer executable instructions for, if said received artifact is of an artifact type in said key, using said deployment strategy corresponding to said artifact type of said received artifact to attempt to deploy said associated Web service; computer executable instructions for, if said received artifact is not of a Web service deployment object having a corresponding deployment strategy set forth in said key and is not a character string containing an extension having a corresponding deployment strategy as set forth in said key, attempting to parse said deployment artifact into an XML Document Object Model (DOM); and computer executable instructions for, if said deployment artifact is parsed into a DOM; determining a namespace of said DOM; and determining if said namespace is a character string having a corresponding deployment strategy as set forth in said maintained data. - View Dependent Claims (4, 5)
-
Specification