This innovation relates to web services, and, more particularly, to methods that supply the message-format parameters required for communications between a web-service provider and its client businesses' applications.
Web Services
The promise of the Internet is an open e-business platform where companies can do business spontaneously with anyone, anywhere, and anytime without requiring that companies abandon their existing software applications and infrastructures. Increasingly companies rely on the Internet to obtain loosely coupled web services deployed by web-service providers on application-based servers, which are computers on networks that mange the networks.
Web services are business-enterprise computer applications that can be utilized singly or collectively to accomplish a wide range of intended purposes, such as determining health-care patients' eligibility for benefits, submitting health-care claims, and providing stock quotes. Web services help companies dramatically cut costs, increase revenues, and improve competitive agility by combining existing, heterogeneous systems into cross-functional, multi-company applications. For example, web services designed for insurance companies help them rapidly automate their business processes, eliminating paper and manual touches and saving them tens of millions of dollars annually. To supply such valuable and widely needed services, Web services providers may offer multiple web services to client businesses.
Because web services can operate independently of a particular computer language, platform, or location, a client business and a web service may each use different computer languages, platforms, and locations in widely distributed systems over one or more networks.
Open web-service standards have been developed for compatibility among web-service applications. A standard called SOAP (Simple Object Access Protocol) has been developed to define the format of messages exchanged among applications. The content of messages, such as a request for an action to be performed by a web service, is currently described in WSDL (Web Services Description Language), which is an XML (Extensible Markup Language)-formatted language. Web services are cataloged in a web-based directory and infrastructure called UDDI (Universal Description, Discover and Integration), which is an Internet registry where businesses list themselves according to their services. Communications between a client business and a web service further rely on the use of a shared transport protocol, such as HTTP (Hypertext Transport Protocol), which enables communications over the Internet.
Typically a client business employs a client application to communicate from its web site over the Internet according to these standards, to obtain the web services offered by a web-service provider from its server-based web site. The web-service provider uses the same standards to reply to a client. Other known or not-yet-known web-service protocols and standards may be used for this communications.
Soap Envelopes
To communicate with a web service, a client application typically uses the Internet to send the web service a message containing a SOAP envelope. The SOAP envelope in turn contains context headers and a message body, where the headers indicate such parameters as the web service to be invoked, the identity of the sender, and the channel to be used for transmissions. The message body indicates the message being sent to the web service, for example a request to calculate the number of patient claims at a health insurance company, and is composed according to varying types of message-format parameters.
SOAP Message-Format Parameters
The following is an example of the message body of a SOAP message in a typical HIPAA (Health Insurance Portability and Accountability Act) format:
In this example, “<SubmitClaim xmlns:ns=“http://example.com/proxy/types”>” is an XML element that represents the application data directed to the web service for processing. The expression “<Claim>MIID1DCCArwCAQAwDQYJ . . . </Claim>” represents further, detailed data directed to the web service.
However, a client application may be set up to provide SOAP message body parameters that are semantically similar to but syntactically different from those used by a particular web service. For example, a client application might try to accomplish the same functionality as in the previous example through a SOAP message with the following message body using NSF (National Science Foundation) format:
In this example, the message-body format uses the XML element
Such message-format differences can make communications between a client application and a web service impossible.
Prior Techniques for Message-Format Compatibility
To ensure message-format compatibility, a web-service provider typically sets up its web services to use specific SOAP message-format parameters and publishes the parameters for each web service it provides in a WSDL file. Client businesses' applications access a specific web service's WSDL file through a published URL address to automatically incorporate into their messages the message-format parameters required for that web service.
However, when a web-service provider changes its WSDL file for a web site to accommodate improvements in its offerings, it may have legacy client businesses with applications still configured for the old WSDL.
Another method of ensuring message-format compatibility is for the client business to manually program its applications on an ad hoc basis to contain the correct message-format parameters for a web service. Or a web-service provider can manually program a client business' applications for the client business. But manual programming is labor-intensive, requires special skills, and is therefore expensive.
US patent application number US2004/0068586 to Xie describes a web-service broker that provides to a limited extent for the automatic conversion of message formats between a web service and its client businesses' applications. But that application does not adequately explain how its methods provide for automatic conversion of message formats for outgoing, response messages from a web service to a client application. Nor do its methods provide for the further advantage of automatic conversion of outgoing messages from a web service according to a user-configured interface.
World Intellectual Property Organization patent application number WO 2004/010297 A1 to Butterworth describes a method of supplementing operations performed by a web service through an autonomous software agent to facilitate the examination of the content of messages, the modification of the content of messages, the rerouting of messages, and the analysis of the content of messages. But that method also does not address automatic conversion of message-format parameters in specific and sufficient detail. Nor does it provide the further advantage of automatic conversion of outgoing messages from a web service according to a user-configured interface.
Therefore there is a need for a method and apparatus that provides a more automatic method for supplying the required message-format parameters used for communications between a web-service provider and its client businesses.
These and other needs are addressed by the present invention. The following explanation describes the present invention by way of example and not by way of limitation.
It is an aspect of the present invention to provide a method for converting the message-format parameters required for communications between web services and client businesses that is automatic.
It is another aspect of the present invention to provide a method for converting the message-format parameters of messages from client applications to web services into the message-format parameters that are required by the web services.
It is another aspect of the present invention to provide a method for converting the message-format parameters of messages from web services to client applications into the message-format parameters required by the client applications.
It is another aspect of the present invention to provide a system that employs the methods of the present invention for supplying the message-format parameters required for communications between web services and client applications.
These and other aspects, features, and advantages are achieved according to the method and apparatus of the present invention. In accordance with the present invention, a service proxy is used to automatically supply the message-format parameters required for incoming message communications to a web-service provider from client applications through a message-conversion system that the web-service provider previously sets up. For outgoing messages from the web service to client businesses, the service proxy automatically supplies the required message-format parameters according to service policies that client businesses set up previously through the web-service provider's web-site interface.
The following embodiment of the present invention is described by way of example only, with reference to the accompanying drawings, in which:
The following description explains a method and apparatus that automatically converts message-format parameters used for communications between web services and client applications. The details of this explanation are offered to illustrate the present invention clearly. However, it will be apparent to those skilled in the art that the concepts of the present invention are not limited to these specific details. Commonly known elements are also shown in block diagrams for clarity, as examples and not as limitations of the present invention.
Operating Environment
An embodiment of the operating environment of the present invention is shown in
One or more client business, which may be related or of different types, employ one or more computers 150 and 160 to communicate over a communications network 130 and a wired or wireless link 142 with the web-service provider server 100. The client business computers 150 and 160 can be personal computers or computerized systems or combinations of systems comprising servers, for example.
The network 130 can be the Internet, a private LAN (Local Area Network), a wireless network, a TCP/IP (Transmission Control Protocol/Internet Protocol) network, or other communications system, and can comprise multiple elements such as gateways, routers, and switches.
To supply the correct message-format parameters, web-service provider server 100 employs a message-conversion system 300, comprising a configuration interface 400, metadata storage 500, and a service proxy 600. The service proxy 600 communicates with one or more web services 200 and 210 through one or more internal network connections 796 and 797. In an embodiment, the elements of message-conversion system 300 comprise a discrete system, but they can be distributed more loosely throughout the operating environment, as necessary and advantageous.
Through the operating environment shown in
Process of Converting Message-Format Parameters—Overview
Step 1000. Set up message-conversion system 300.
In this embodiment, the web-service provider creates a message-conversion system 300, shown in
Step 2000 in
In this embodiment, a client business accesses the configuration interface 400, shown in
Step 3000 in
In this embodiment, the message-conversion system 300, shown in
Setting Up a Message-Conversion System
Step 1010 in
In this embodiment, the web-service provider creates a set of WSDL documents that can be used to generate SOAP client applications and client-application messages. The web-service provider publishes these documents so that client applications can access them and automatically incorporate their communications parameters into their messages. And the web-service provider uses the headers provided in SOAP messages to communicate context information to a message-conversion system 300 shown in
Context Information
The context headers 740 in the SOAP header 730 determine parameters such as the identity of the client, the transport channel to be used, and the specific web service to be contacted. For example,
The message body 790 in the SOAP body 780, shown in
In an embodiment, the present invention uses the SOAP information in client messages to automatically supply message-format parameters to messages from and to client applications.
In another embodiment, the present invention uses context information supplied through HTTP POST or GET parameters, instead of or in addition to SOAP information.
Example of Context Information in Client Application Message
For example, a client business might create headers with the following context information in a SOAP envelope 720 that would accompany one of its application messages 710 to a web service 200, shown in
In this embodiment, the next step in creating a message-conversion system 300 in
Step 1020 in
Web-site interfaces are computer-programmed modules that allow end-users to select variables and parameters from easy-to-use visual displays or to type in this input, save the information through selecting a save option, and have their selections automatically applied by computer subsequently, without those users having to program the information manually.
In an embodiment, the web-service provider creates a configuration interface 400, shown in
In an alternate embodiment, a web-service provider can set up and store these parameters for client businesses.
For the message-format variables, the web-service provider sets up conversion data that a conversion algorithm uses to convert XML or binary data in that XML. For example, in one embodiment the web-service provider gives that conversion data a simple name, which is shown to the user in the configuration interface 400 so that the user can select it when necessary.
Setting Up a Metadata Storage
In this embodiment, the next step in creating a message-conversion system 300 in
Step 1030 in
Metadata storage 500, shown in
Service Policies
A client business with multiple users and client applications might have multiple corresponding service policies that would be stored in metadata storage 500. Different client businesses would also potentially have multiple different service policies for their employees and client applications that would be stored in metadata storage 500.
Example of a Service Policy
A service policy configured by a client business on configuration interface 400, shown in
A service profile 580 in
Setting Up a Service Proxy
In this embodiment, the final step in creating a message-conversion system 300, shown in
Step 1040 in
A service proxy 600, shown in
In an embodiment, a client application message 710, shown in
In another embodiment, a client application message 710, shown in
Elements Employed by Service Proxy
The client-specified configuration information 702 that service proxy 600 may employ to convert message-formats comprises SOAP information 703 and one or more service policies 510.
SOAP Information
The SOAP information 703 is contained in the SOAP envelope 720, shown in
Message Body Information
The message body information 790 shown in
Service Policy
The service policy 510, shown in
Web-Service Configuration Information
The web-service configuration information 570, shown in
The service proxy 600 in
Conversion Engine
The conversion engine 616 shown in
The web-service provider creates a conversion algorithm to convert known but incompatible message-format parameters into compatible ones. For example, in
To make communication possible in this case, conversion data would need to provide for the following conversions:
When multiple client applications need to communicate with a web service, the conversion algorithm becomes more complex. For example, suppose client application 701 sends format M and receives format N. To ensure compatibility for client application 701 also, the conversion algorithm would need to provide for
And when multiple web services and client applications are involved, the conversion algorithm would need to become more complex still. For example, suppose web service 200 receives format C and sends format D. The conversion algorithm would then need to accomplish the following conversions:
The following example shows the input format that might be required by a web service 200 to accomplish the operation “SubmitClaim.”
To convert a client application message 710, shown in
Invocation Engine
The invocation engine 618 shown in
Receiving and Storing Configurations
To return to
Message-conversion system 300 then stores these client configurations in metadata storage 500, as service policies 510, shown in
Applying the Correct Format to Messages
Returning again to
Converting Incoming Messages
Step 3010 in
The service proxy 600 in
Step 3020 in
The service proxy 600 in
Step 3022 in
The service proxy 600 reads the context parameters in the client application message 710, shown in
Step 3024 in
The service proxy 600, shown in
Step 3026 in
The service proxy 600, shown in
Step 3030 in
The service proxy 600, shown in
Converting Outgoing Messages
In some cases a client application may require a response. For example, a client application message might be a submission of a patient's insurance claim to a web service that records patient claims, evaluates them, and pays them. The client application message may also request a response from the web service indicating that the web service received the claim and providing a tracking tag that can be used to determine the status of the claim.
Step 3040 in
If the answer is no, the process concludes with Finish 3080. The web service 200, shown in
If the answer is yes, the process continues to Step 3050 in
Step 3050 in
The web service 200, shown in
Step 3060 in
The service proxy 600 automatically applies the correct format to the outgoing message, following the steps outlined below in
Step 3062 in
After receiving the message from the web service 200, shown in
Step 3064 in
Using the context parameters, the service proxy 600, shown in
Step 3066 in
The service proxy 600, shown in
Step 3070 in
Returning to
Step 3080. Finish.
After the service proxy 600 in
Computer System Overview
The network interface 1402 is attached to a bus 1406 or other means of communicating information. Also attached to the bus 1406 are the following:
The computer system 1400 is used to implement the methods of the present invention in one embodiment. However, embodiments of the present invention are not limited to specific software and hardware configurations. Computer system 1400 can receive data comprising client application messages from computer 150 and server 103 used by client business, through a network 130 such as the Internet, an appropriate links 142, such as wired or wireless ones, and its network interface 1402. It can of course transmit data back to client business application over the same routes.
Computer system 1400 carries out the methods of the present invention when its processor 1404 processes instructions contained in its main memory 1410. Another computer-readable medium, such as its storage device 1408, may read these instructions into main memory 1410 and may do so after receiving these instructions through network interface 1402. Processor 1404 further processes data according to instructions contained in its storage device 1408. Data is relayed to appropriate elements in computer system 1400 through its bus 1406. Instructions for computer system 1400 can also be given through its input device 1416 and display 1414.
“Computer-readable medium” refers to any medium that provides instructions to processor 1404, comprising volatile, non-volatile, and transmission media. Volatile media comprise dynamic memory, such as main memory 1410. Non-volatile media comprise magnetic, magneto-optical, and optical discs, such as storage device 1408. Transmission media comprise a wide range of wired and unwired transmission technology, comprising cables, wires, modems, fiber optics, acoustic waves, such as radio waves, for example, and light waves, such as infrared, for example. Typical examples of widely used computer-readable media are floppy discs, hard discs, magnetic tape, CD-ROMs, punch cards, RAM, EPROMs, FLASH-EPOMs, memory cards, chips, and cartridges, modem transmissions over telephone lines, and infrared waves. Multiple computer-readable may be used, known and not yet known, can be used, individually and in combinations, in different embodiments of the present invention.
Alternate Embodiments
The previous extended description has explained some of the alternate embodiments of the present invention. It will be apparent to those skilled in the art that many other alternate embodiments of the present invention are possible without departing from its broader spirit and scope. For example,
Other embodiments of the present invention are possible where the message-conversion elements are widely and diversely dispersed among systems. For example,
It will also be apparent to those skilled in the art that different embodiments of the present invention may employ a wide range of possible hardware and of software techniques. For example the communication between a web service provider and client business computers could take place through any number of links including wired, wireless, infrared, or radio ones and through other communication networks beside those cited, including any not yet in existence.
Also, the term computer as used here is used in its broadest sense to include personal computers, laptops, telephones with computer capabilities, personal data assistants (PDAs) and servers, and it should be recognized that it could include multiple servers, with storage and software functions divided among the servers. A wide array of operating systems, compatible e-mail services, web browsers and other communications systems can be used to transmit messages among client applications and web services.
Furthermore, in the previous description the order of processes, their numbered sequences, and their labels are presented for clarity of illustration and not as limitations on the present invention.
This application claims the benefit of PPA Ser. No. 60/498,837, filed Aug. 29, 2003 by the present inventors.
Number | Date | Country | |
---|---|---|---|
60498837 | Aug 2003 | US |