US20050065879A1 - System and method for web service billing - Google Patents

System and method for web service billing Download PDF

Info

Publication number
US20050065879A1
US20050065879A1 US10/666,631 US66663103A US2005065879A1 US 20050065879 A1 US20050065879 A1 US 20050065879A1 US 66663103 A US66663103 A US 66663103A US 2005065879 A1 US2005065879 A1 US 2005065879A1
Authority
US
United States
Prior art keywords
service
event
web service
billing
web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/666,631
Inventor
Robert Birch
Scott Irwin
Joseph Lupo
Steve Weagraff
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netcracker Technology Solutions Inc
Original Assignee
Convergys Information Management Group Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Convergys Information Management Group Inc filed Critical Convergys Information Management Group Inc
Priority to US10/666,631 priority Critical patent/US20050065879A1/en
Assigned to CONVERGYS INFORMATION MANAGEMENT GROUP, INC. reassignment CONVERGYS INFORMATION MANAGEMENT GROUP, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BIRCH, ROBERT, IRWIN, SCOTT, LUPO, JOSEPH, WEAGRAFF, STEVE
Publication of US20050065879A1 publication Critical patent/US20050065879A1/en
Assigned to CONVERGYS CMG UTAH reassignment CONVERGYS CMG UTAH ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CONVERGYS INFORMATION MANAGEMENT GROUP, INC.
Assigned to CONVERGYS INFORMATION MANAGEMENT GROUP, INC. reassignment CONVERGYS INFORMATION MANAGEMENT GROUP, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CONVERGYS CMG UTAH, INC.
Assigned to NetCracker Technology Solutions Inc. reassignment NetCracker Technology Solutions Inc. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: CONVERGYS INFORMATION MANAGEMENT GROUP INC.
Priority to US15/650,330 priority patent/US11734734B2/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments

Definitions

  • the field of invention relates generally to a computerized architecture for capturing usage details for web services and authorizing those same services using the web stack.
  • a Web service is a type of loosely coupled distributed application service (usually including some combination of programming and data, but possibly including human resources as well) that enables a business to expose remote software functionality using a Service Oriented Architecture (SOA), that is based upon web service standards.
  • SOA Service Oriented Architecture
  • Service Oriented Architectures provide an infrastructure that allows for the advertisement, use and management of distributed software services.
  • XML Extensible Markup Language
  • SOAP Simple Object Access Protocol
  • WSDL Web Services Description Language
  • WSDL is an XML-based description of how to connect to a particular web service.
  • a WSDL description abstracts a particular service's various connection and messaging protocols into a high-level bundle and forms a key element of the UDDI directory's “green pages.”
  • UDDI Universal Description, Discovery, and Integration
  • WSFL Web Services Flow Language
  • XML-RPC represents the simplest form of web service style connections. As the name indicates (XML-RPC means “XML Remote Procedure Call”), the protocol was a loosely defined spin-off from the efforts that ultimately led to the SOAP specification. Although not part of the “classic” web services stack, XML-RPC can be used to achieve similar benefits for less structured connections.
  • SOA Service Oriented Architecture
  • the Service Provider is the provider and possibly the creator of the service.
  • the Service Broker advertises where the service can be found and supporting information.
  • the Service Consumer may be the end user of the service.
  • a service provider creates the service and publishes the availability of the service in the service broker's registry. Consumers who require a particular service will search the broker's registry for the required service. When the consumer finds and selects the service that satisfies their requirements they can use the information provided by service provider in the UDDI registry to consume the advertised service.
  • a service can be created by the service provider and then advertised into a Web service registry, possibly using a standard registry such as Universal Description Discovery and Integration (UDDI) server.
  • UDDI Universal Description Discovery and Integration
  • Service consumers will search the UDDI registry for one or more services that will satisfy their service requirements.
  • a service can be used standalone or aggregated with other services to solve the service requirements of the consumer.
  • Web service(s) are located by the consumer in the UDDI registry the consumer may download from the UDDI a set of supporting material to access the advertised Web Service.
  • Web Service Description Language a Web Service Description Language (WSDL) file. This file contains a description of the Web service interface, network access protocol, and network address of the service.
  • the consumer will typically use the WSDL file and a generation tool that reads the WSDL file to generate a preferred language technology to access the web service.
  • WSDL Web Service Description Language
  • Web services represent a model in which discrete tasks within e-business processes are distributed widely throughout a value net. Web services components can be recombined by other companies to meet the needs of their own software applications or business processes.
  • a web service may be an auction engine like eBay's.
  • the eBay web site offers a highly successful auction service.
  • Widgets-R-Us a business that sells surplus widgets, wants to add auction functionality to its own business model, it needs to develop its own auction software from scratch or redirect customers to a site like eBay.
  • eBay could syndicate its auction functionality and make it available to other web sites or applications (presumably for a fee).
  • Companies like Widgets-R-Us would simply subscribe to eBay's web service, add a few lines of code to their own applications to incorporate the web service, and they instantly have private-labeled auction functionality available on their own sites.
  • customer-facing examples include stock quotes, content syndication, mapping services, checking bids for an auction item, and so on.
  • Some more enterprise-centric services may include storage management and customer relationship management, payroll management, shipping and logistics, business intelligence, credit scoring, etc. The accelerating creation and availability of these services is a major Web trend.
  • Web services are not a specific technology, but rather a group of established and emerging communication protocols that include HTTP, XML, Simple Object Application Protocol (SOAP), Universal Description Discovery and Integration (UDDI), and Web Services Description Language (WSDL).
  • SOAP Simple Object Application Protocol
  • UDDI Universal Description Discovery and Integration
  • WSDL Web Services Description Language
  • web services address heterogeneous connectivity, interoperability, service directory, service resolution and rapid application development and deployment; but, web services are significantly void of revenue acquisition opportunities.
  • Web Services is a distributed, loosely coupled, interoperable service architecture driven by a set of standards. To better understand the Web Services architecture the following sections will categorize the components of the architecture into several stacks. Referring to FIG. 3 , there are three main stacks: wire ( 310 ), service ( 320 ) and service ( 330 ).
  • the wire stack ( 310 ) is a set of technologies that determines how a message is sent between the service requestor and the service provider. Referring to FIG. 4 , there are 4 layers to the wire stack ( 310 ) that are mostly built upon XML, SOAP and other Internet standards.
  • the network protocol ( 410 ) At the bottom of the stack ( 310 ) is the network protocol ( 410 ). This is actually defines the transport technology that is used to transfer the data between the service requestor and service provider. Currently the most popular network protocol for Web Services is HTTP, but Web Services is not restricted to HTTP. Other protocols may be supported such as standard Internet protocols like FTP, SMTP and others. In fact just about any network protocol ( 410 ) can be used as long as the requestor and provider are able to communicate via the agreed network protocol ( 410 ).
  • the data-encoding stack ( 420 ), which is used to map data to and from the network protocol format into and from a programming language format suitable for use by programmers.
  • Web Services uses XML Schema to define the data types that are transferred. Also support for custom schemas are supported such as SOAP encoding.
  • SOAP uses the SOAP standard as the XML messaging format ( 430 ).
  • SOAP provides a standard message envelope for holding message header and body information.
  • SOAP defines a standard set of messaging exchange protocols (MEP's, client server communication interactions).
  • SOAP also defines a standard mechanism for defining network protocol bindings. Network protocol bindings define which type of transport will be used.
  • SOAP envelope extensions ( 440 ). These allow for the use orthogonal extensions to the SOAP message. Header extensions may be used for message security (authentication, authorization, digital signatures, etc), transactions, routing and other orthogonal entities.
  • the Web Services wire stack is built upon a set of well-supported standards and proven technologies. This stack is the foundation upon which Web Services is built.
  • the wire stack defines the low-level technology details of the service requestor to service provider communications.
  • the service description stack ( 320 ) describes the information about a service that may be of most interest to the service requestor. Service description may be key to the three main operations of publish, find and bind in a Service Oriented Architecture.
  • the service description stack defines the service level interaction requirements between the requestor and provider.
  • a service description specifies most of the following service description attributes:
  • the five layers of the service description stack ( 320 ) can be classified into functional and non-functional layers.
  • the lower layers of the stack may be functional and describe the details of what a Web Service does, how a Web Service may be invoked, where it may be invoked and other functional details.
  • the upper layers of the stack may be non-functional in that they describe the environment and qualities of a provider's Web Service.
  • XML 510
  • Web Services may be driven by XML standards.
  • Functional and non-functional service descriptions may be defined using XML.
  • XML Schema may be used in the service description as an abstract data type definition for service data exchanged.
  • XML layer may be the service-implementation ( 520 ) and service-interface ( 530 ) layers, both of which may be described in the Web Services Definition Language (WSDL) file.
  • WSDL Web Services Definition Language
  • a service may be located (i.e., its network address of where messages are to be sent so that services can be rendered) may be described in the service implementation layer.
  • the service interface layer describes what message needs to be sent and what messaging transport may be used to access the service and how the data is to be encoded or mapped into the SOAP envelope.
  • Endpoint descriptions are just starting to be discussed as a possible mechanism for describing environmental characteristics of an offered service. These characteristics might describe attributes of a Web-Service hosting environment such as security policies, timeliness of response, cost of service and other quality of service criteria.
  • attributes of a Web-Service hosting environment such as security policies, timeliness of response, cost of service and other quality of service criteria.
  • WSEL Web Service End-Point Language
  • At the top of the service description stack ( 550 ) may be the ability to describe how a set of Web Services may be orchestrated to work together to provide complex services such as multi-party, multi-operation long running transactions.
  • IBM has a proposal call Web Services Flow Language (WSFL) and Microsoft has XLANG that is part of their NET initiative and there is Business Process Markup, sponsored by the Business Process Management Initiative (BPMI). Which one or more of these will become a standard is yet to be determined.
  • WSFL Web Services Flow Language
  • BPMI Business Process Markup
  • service discovery ( 330 ) provides the ability for service provider to advertise their services and service requesters to find advertised services they may be interested in using.
  • Service requestors need a directory ( 620 ) in order to search for Web Services.
  • directories ( 620 ) for web services may be either a Universal Description, Discovery and Integration (UDDI) directory ( 620 ) or an ebXML registry ( 620 ).
  • UDDI Universal Description, Discovery and Integration
  • ebXML registry 620
  • Service providers advertise their service in directories by registering textual descriptions and categorization of their services in the registry. They also make the service description (WSDL) available from the registry. Service requestors use the registry to find services and obtain the service descriptions (WSDL file) so that they can bind to the service provider's service.
  • the inspection layer ( 610 ) provides a list of discovery mechanisms that a particular service can be found. For example it may be possible for service descriptions to be obtained by asking the service provider directly for the WSDL. This is not a standard directory but this is another mechanism for locating a service definition. So an inspection service ( 610 ) provides a list of locations where a service description can be obtained.
  • this diagram illustrates one embodiment of the invention as a whole system.
  • the SOAP message may be passed to the handler (WebServiceEventParser). Based on information from the Web Service usage acquisition and bill authorization deployment descriptor, the WebServiceEventParser determines whether the service may be metered and/or authorized. If the SOAP message is not to be metered or authorized then the SOAP message may continue through the SOAP stack without any further interruption from WSUAF. If it is to be metered or authorized, the SOAP message may then be parsed by a handler/parser and the results of the parse may be handed off to an event composer that composes the event.
  • the handler WebServiceEventParser
  • the event may be either sent to an authorization system to be authorized or enqueued into the usage event system queue where it may be picked up by the system distributor that publishes the event to subscribed transmitters.
  • the transmitters serialize the event and send it via a web service, to the Usage Mediation service where the event will be rated billed and settled.
  • there may be a computerized method for billing for web services comprising the steps of creating a descriptor file designating at least one pre-defined element (any aspect of the web service including quality of service, type of service, length of service, location of requestor, location of server, authorization key fields, version numbers, encrypted account information, and start/stop time, and more); configuring a handler (known in the art) to monitor a web service network communication (message stream, i.e., SOAP envelope), between a service requestor (user requesting a service via their computer) and a service provider (provider of the web service), for said pre-defined element(s) in said descriptor file; configuring said handler to send said pre-defined element(s) to a set of programmed instructions to create an event record (i.e., WebServiceEventParser); electronically transmitting said event record to a billing system for further processing (i.e., authorization or rating).
  • a handler known in the art
  • a handler to monitor a web service network
  • the computerized method may comprise programmed instructions (modules, programs, firmware, hardware, software) which determines whether or not the event requires authorization or rating based on the parameters pulled from the SOAP envelope or otherwise from the message stream.
  • programmed instructions modules, programs, firmware, hardware, software
  • the various pre-defined fields may be used to support a variety of billing plans.
  • the deployment descriptor may also contain instructions for modifying or transforming the data comprising the pre-defined data elements before the event is sent to the billing system. This may include masking, manipulating, calculations, formatting, and more.
  • the communication for a web service may be a duplex communication between the client and the server. It may comprise a request and a response wherein said request comprises a start time and said response comprises an end time.
  • rating of the web service may be accomplished by creating a first event record comprising said start time; sending said first event record to said billing system; queuing said first event record in said billing system; creating a second event record comprising said end time; sending said second event record to said billing system; matching said first event record with said second event record; calculating a charge for said web service based on said start time and said end time; returning said charge to said service provider.
  • the billing system may comprise programmed billing instructions which determine whether a web service transaction may be performed including whether the service requestor is permitted to access said web service transaction or whether the service requester is solvent enough to purchase the web service.
  • the billing system may return a response to the web service provider indicating whether the transaction may continue or not.
  • there may be a computer-readable medium having computer executable instructions for performing a method comprising receiving a descriptor file designating at least one pre-defined element; utilizing said descriptor file to monitor a web service network communication for said pre-defined element(s); copying said-predefined element(s) from said network communication into a record; electronically sending said record to a billing system for further processing.
  • a system for billing for web services comprising a descriptor file; a handler; a record; and a billing system.
  • said descriptor file designates at least one pre-defined elements
  • said handler is configured to monitor a web service network communication, between a service requester and a service provider, for said at least one pre-defined element in said descriptor file; said handler is further configured to copy said pre-defined elements from said network communication into a record; said handler is further configured to electronically transmit said record to a billing system for further processing.
  • FIG. 1 The main participants in one embodiment of a Service Oriented Architecture.
  • FIG. 2 High Level Architecture Overview of one embodiment of WSUAF.
  • FIG. 3 Threee stacks of Web Services.
  • FIG. 4 Wire Stack.
  • FIG. 5 Service Description Stack.
  • FIG. 6 Service Discovery Stack.
  • FIG. 7 Use Case Diagram showing how providers may subscribe to a Billing Web Services.
  • FIG. 8 Use Case Diagram showing how providers acquire the WSUAF and deploy it into their Web Services SOAP stack.
  • FIG. 9 High Level Diagram showing the acquisition of usage and billing authorization on either the client and/or server side. Also shown is that the acquired usage may be forwarded to a Web Service usage collection service.
  • FIG. 10 illustrates one embodiment of a High Level Diagram showing the instrumentation of the Web Services SOAP stack on both the client and server side of the Web Service and the possible connections to the Web Service Usage Collection and Billing Authorization services.
  • FIG. 11 illustrates one possible set of WSUAF core classes.
  • FIG. 12 illustrates an example of a Logical Web Service communication path between client and server.
  • FIG. 13 High Level Diagram showing an embodiment of the instrumentation of the Web Services SOAP stack on both the client and server side of the Web Service for usage acquisition, which may also be the same for billing authorization
  • FIG. 14 illustrates one embodiment of a High Level Diagram showing the instrumentation of the Web Services SOAP stack on both the client and server side of the Web Service and the possible connections to the Web Service Usage Collection and Billing Authorization services but showing an example of billing authorization instrumentation of the SOAP stack.
  • FIG. 15 depicts a possible diagram showing the inputs to the WebServiceEventParser.
  • FIG. 16 depicts on possibility of the cardinality relationships between the SOAP request/response and the EventComposer and the composed Event.
  • FIG. 17 illustrates a possible diagram of WebServiceEventParser, EventComposer and Event relationships
  • FIG. 18 illustrates one example of Usage and Billing Authorization Event types and their hierarchies.
  • FIG. 19 illustrates one example of an Event Composer State diagram.
  • FIG. 20 illustrates on embodiment including the EventParser and Event Dispatch relationships for Usage Acquistion.
  • FIG. 21 illustrates one diagram of classes involved in the Web Service usage Event dispatches.
  • FIG. 22 illustrates a possible sequence diagram of Web Service usage event dispatch classes.
  • FIG. 23 illustrates a possible sequence diagram of successful authorization (via ability to pay/bill) access to a consumer web service.
  • FIG. 24 illustrates a possible sequence diagram of an unsuccessful authorization (via ability to pay/bill) access to a consumer web service.
  • FIG. 25 illustrates one possible diagram of core classes and collaborators in WSUAF.
  • Various embodiments of the invention comprise a web service development and deployment toolkit that will enable providers to instrument their web services to acquire usage and perform billing authorization.
  • the toolkit includes the Web Service Usage Acquisition and Authorization Framework (WSUAF), which further includes a runtime engine that performs three core functions:
  • WSUAF Web Service Usage Acquisition and Authorization Framework
  • WSUAF extracts service usage or billing authorization information from web service messages that may be encoded into a standard SOAP message envelope.
  • the extraction of usage or billing authorization information from the SOAP envelope can occur anywhere along the communication path where there may be a web services SOAP stack or where the SOAP envelope may be accessible.
  • the WSUAF may examine SOAP messages directly from the network pipe or stack. Capturing usage or billing authorization information can occur at the web service client that may be utilizing the service or at the web service server where the service is being offered or possibly at both locations. Usage and billing authorization information extraction from SOAP messages could also occur somewhere in between such as at a network router. This usage capture may be accomplished by instrumentation of the Web services stack.
  • the WSUAF When the WSUAF identifies a service where usage and/or billing authorization may be done, the WSUAF copies the elements from the SOAP message into a usage record or in the case of a monetary authorization a billing authorization request event may be created.
  • the WSUAF extraction engine utilizes a web service usage/billing authorization deployment/descriptor file.
  • Within the web service usage/billing authorization deployment/descriptor file may be a list of services and the elements from those service that may be captured and whether or not a usage event and/or billing authorization should occur. Elements may be copied from the SOAP message stream and into a usage record and/or a billing authorization request.
  • the copied elements may be transformed as specified by the deployment descriptor file prior to being placed into a usage record or billing authorization request. Also, when a usage record or billing authorization may be constructed, extra fields such as constants as specified in the web service descriptor file can be added to the usage record or billing authorization request.
  • the usage record Once the usage record may be completely composed, it may be passed onto the WSUAF collector engine where usage records may be pooled and managed.
  • the construction of a billing authorization request event may be completed the request may be sent to a billing authorization system to request authorization of a billable web service.
  • a response may be sent back from the billing authorization system indicating whether the user of the billable web service can pay for use of the service, if the user can pay the web service follows through to completion. If the user cannot pay then the request for the web service may be logged and the service may be terminated with an error indication returned to the web service user.
  • Use of the instrumented web services stack allows for the acquisition of billing information to be decoupled from the application code.
  • Use of the instrumented stack may also require no development from the service provider.
  • the provider may simply add the configuration information into the WSUAF Web Service deployment descriptor. This will be advantageous for organizations that have existing deployed web services that are not currently metered and wish to meter them and/or add billing authorization to them. If the dynamic deployment and configuration are insufficient to acquire the necessary service usage information, the WSUAF may also provide event composers, which can be extended and then deployed into the instrumented stack.
  • the WSUAF model discussed provides many benefits including more efficient development, manageability, flexibility, and access to data not privy to the application.
  • billing functionality such as the capture of web service usage information and the bill authorization of web services
  • the billing functionality such as the capture of web service usage information and the bill authorization of web services
  • existing services that may not be using billing functionality may easily add billing functionality without changing the existing web service application code.
  • the billing policies a Web service application uses can be determined at anytime once the web service application may be deployed. Policies can be easily changed and deployed.
  • the billing functionality may have access to data in the SOAP envelope that is not available to the application code itself. This would include such information as QoS info, authorization key fields, version numbers, encrypted account information, etc. Also the instrumented billing stack will have access to the data necessary to support an innumerable number of billing models such as subscription billing models, bundled plans, time based usage charges (start/stop), re-occurring charges, one time charges, discount plans based on usage, charges and discounts based on time of day, customer loyalty charges and discounts, family plans or organizational relationship plans that determine discounts and charges, stepped and tiered plans, location dependent pricing and authorization.
  • billing models such as subscription billing models, bundled plans, time based usage charges (start/stop), re-occurring charges, one time charges, discount plans based on usage, charges and discounts based on time of day, customer loyalty charges and discounts, family plans or organizational relationship plans that determine discounts and charges, stepped and tiered plans, location dependent pricing and authorization.
  • a Web Services solution for acquiring Web Service usage and bill authorization information may be used in conjunction with a billing and rating system such as those marketed/serviced by Convergys, Inc.
  • This solution for usage acquisition and billing authorization may also be integrated into systems for customer management and price plan management.
  • the WSUAF may follow and implement security standards such as WS-Security standards and SOAP Security extensions for Digital Signatures.
  • the WSUAF may support the following standards among others as well as similar and evolutionary standards to be developed in the future: SOAP 1.1 [section 5 RPC-encoding and follow the request & response messaging protocol); WSDL 1.0; Java 1.3; JAX-RPC 1.0; SAAJ 1.1; Servlet 2.3; JSP 1.2; XML 1.0; XML Schema 1.0.
  • SOAP 1.1 Section 5 RPC-encoding and follow the request & response messaging protocol
  • WSDL 1.0 Java 1.3
  • JAX-RPC 1.0 SAAJ 1.1
  • Servlet 2.3 JSP 1.2
  • XML 1.0 XML Schema 1.0
  • a web server based reference implementation may be specified that uses the Java based web server Tomcat 4.0.3 from the Apache organization; and the Axis Beta 1 plug-in which web service enables the Tomcat web server is also from the Apache organization; JDK 1.3. This is only a reference implementation and does not represent all possible embodiments.
  • various embodiments of the invention utilize the Web Services Description Language (WSDL).
  • the service provider may use WSDL to generate the code necessary to access the Usage Acquisition or Bill Authorization Web Services if they are currently gathering usage and bill authorization information by directly augmenting their application code (thus mixing application code and usage acquisition and bill authorization code), the gathered usage information may be collected, rated and billed using a web service, or the provider may batch the usage and then send the usage to a Batch Usage Acquisition Web Service.
  • Bill authorization information may be gathered directly in the Web Service application code and a bill authorization request may be formulated and sent to a backend billing authorization system, which may offer the authorization service also as a web service.
  • the billing authorization system will use the information sent in the request to determine whether the original requester of the Web Service may be bill authorized to access the service. Or the bill authorization system will return additional information back to the requesting system in order to give it the ability to determine whether the Web Service should be rendered.
  • usage acquisition and billing authorization may be deployed as part of the web services stack.
  • the WSUAF provides a plug-in that may be used to by the web services SOAP stack to acquire usage and other billing information.
  • the provider must configure the system using the WSUAF deployment descriptor to capture usage and bill authorize Web Services.
  • the installation of the Web service SOAP stack should not require the modification of the actual web services in order to acquire usage and perform bill authorization on new or existing web services.
  • the WSUAF provides the tools to instrument the web service stack, a WSUAF Web Service deployment descriptor to define the web service usage information to capture and define which Web Services may be bill authorized.
  • the toolkit may provide both a pure web services solution that utilizes WSDL while, at the same time, providing a non-intrusive solution utilizing the web services stack.
  • WSUAF may also offer the ability to instrument the stack of any JAX-RPC compliant solution.
  • JAX-RPC Java API for XML-Based RPC
  • WSDP Java Web Services Developer Pack
  • RPCS remote procedure calls
  • JAX-RPC is aimed at making it easier for applications or Web services to call other applications or Web services.
  • JAX-RPC provides a programming model for the development of SOAP (Simple Object Access Protocol)-based applications.
  • SOAP Simple Object Access Protocol
  • the JAX-RPC programming model simplifies development by abstracting SOAP protocol-level runtime mechanisms and providing mapping services between Java and the Web Services Description Language (WSDL). This will, therefore, follow the J2EE 1.4 standard and will be able to support any compliant J2EE 1.4 implementation.
  • the WSUAF also provides support for the most widely distributed web services plug-in solution which is the Axis SOAP plug-in from the Apache organization.
  • the WSDK uses the Axis Handler framework, which is very similar to the JAX-RPC handler framework.
  • WSUAF may allow the acquisition of usage and billing authorization on both the client and server side.
  • WSUAF provides for the real-time acquisition of service usage data and, in another embodiment, WSUAF supports the ability for batch acquisition of usage.
  • Real-time usage acquisition provides a simple service to send discrete units of usage with either a success or failure return code.
  • Batch services allow for the transfer of batches of usage records via files and a specified standard protocol such as ftp. These services follow the message exchange protocol of request and response. More complicated message exchange protocols may also be utilized in the toolkit.
  • Bill Authorization may be supported with a simple request and reply protocol with the backend bill authorization system.
  • Instrumenting the stack for the acquisition of usage and the bill authorization of a web service involves the use of filters/handlers and the WSUAF web service deployment descriptor.
  • a software version of filter technology is usually provided by the application server vendor to enable pre- and post-message processing.
  • Some technologies have standardized the use of filters via organizational specifications.
  • the CORBA specification from the Object Management Group (OMG) identifies filters as interceptors, in the Java JAX-RPC specification they may be referred to as handlers and as part of the Apache Axis framework they may be referred to as handlers.
  • OMG Object Management Group
  • the web services stack resides on both the requesting client and on the service provider's platforms. Referring to FIG.
  • filters can be inserted into the stack on either the server or client side. Filters can also capture information of the outgoing request stack of the client and the incoming request stack of the server. Also the filters can be used on the outgoing response stack of the service server and the incoming response stack of the client.
  • the configuration and deployment and possibly extension of the usage acquisition handlers enable the ability to capture service usage. The design will explain in detail the plug-ability, flexibility, and extensibility of using a framework that exploits the use of handlers to capture web service usage.
  • an initialization process occurs which cause WSUAF to search for the deployment descriptor, which describes which Web Services WSUAF will meter and authorized.
  • Contained within the deployments/descriptor may be a usage and a bill authorization section. Each section contains a list of Web Services that may be either metered or bill authorized.
  • Each service method may identify when the data may be extracted either on the service request and/or response. On each listed service method may be a list of data fields that may be extracted from the Web Service SOAP message, and any data manipulation primitives that may be preformed and/or interpolated into the usage data event or bill authorization request.
  • Begin Usage Section Begin List WebServices to capture usage WebServiceA MethodX at Request and Response Fields to Extract-Manipulate from Service: FieldA, FieldB, FieldC, DateAndTimeStamp, AddConstantD, Add FieldA and FieldB WebServiceB at Response MethodY Fields to Extract-Manipulate from Service: FieldA, FieldB, DateAndTimeStamp,AddConstantD, Sub FieldA and FieldB End List WebServices to capture usage End Usage Section: Begin Bill Authorization Section: Begin List WebServices to perform Bill Authorization WebServiceA MethodA at Request Fields to Extract-Manipulate from Service: FieldA, FieldB, DateAndTimeStamp, AddConstantC, Add FieldA and FieldB WebServiceE MethodB at Request Fields to Extract-Manipulate from Service: FieldA, FieldZ, DateAndTimeStamp, AddConstantC, Add FieldA and FieldB End List WebServices to perform
  • each service and service method that may be metered is listed. Also identified may be the data fields that may be extracted, added and/or manipulated from the web service and packaged into an event to be forwarded to an event collection or billing system.
  • a Web Service Request for MethodA on WebServiceA may be made the WSUAF extracts and manipulates the identified data fields from the Web Service SOAP envelope, one of the fields being interpolated into the data may be a date and time stamp identifying the start time of the service. This information may be packaged into a usage event and sent to the billing system.
  • the Web Service Response occurs for MethodA on WebServiceA the identified data fields may be extracted and manipulated, one of the fields being a date and time stamp identifying the end time of the service. This information may be packaged into a usage event and sent to the billing system.
  • the billing system would collate the events received from the WSUAF to bill the customer for duration of use for the Web Service.
  • the usage information may be sent to a down-stream billing system to be billed and rated, there is also the possibility of the billing engine to be embedded within the Web Service server or be local to the Web Service Server to perform rating and billing in near real time.
  • a Web Service Request for MethodA on WebServiceA may be made the WSUAF extracts and manipulates the identified data fields from the Web Service SOAP envelope.
  • One of the extracted fields may identify the price of the Web Service and the account number of the customer requesting the service. This information may be packaged into a bill authorization request and sent to the backend bill authorization system.
  • the bill authorization system will return a response indicating the customer's ability to pay for the Web Service. If the authorization system indicates the customer can pay, then the Web Service request will continue.
  • authorization may be terminated and a message may be returned to the customer explaining access to the service has been denied.
  • authorization can be done based on the number of times the service may be accessed, a decrementing account balance, the volume of data, time of day, window of time, frequency of use, subscription dependencies, location of where the service will be rendered, for example if someone from Germany is requesting a streaming music web service request from America the bill authorization could deny this base on billing location,
  • the WSUAF comprises a set of abstractions that may be used within the instrumented web services stack. These frameworks may be used to manage the plug-ability, flexibility and scalability of the frameworks. Some of the flexibility may be accomplished through the use of the WSUAF Web Service deployment descriptor.
  • Some of the abstractions allow for a more object oriented event management and distribution rather than the management of an opaque byte stream of usage data.
  • Service provider developers may have the option, depending on the embodiment of the invention they may be utilizing, of mixing the value-add web service with aspects of their application by using these frameworks. Alternatively, they may directly use the usage acquisition and bill authorization web service within their web service application.
  • Using these frameworks provides for a more object-oriented interface to the usage event management within their applications.
  • the frameworks allow for alternative load balancing and event distribution systems. The framework could provide the integration of other systems such as mediation and provisioning systems.
  • One embodiment of the real-time usage acquisition messaging system may use a push protocol for sending usage messages to the web service mediation gateway.
  • Other embodiments may support both push and pull protocols.
  • a Java based push protocol interface which is further detailed in the industry standard WSDL interface specification in the next few paragraphs.
  • the event may be sent as a proprietary compliant formatted string. This may be simply a comma-separated list of strings with quoted string fields.
  • Other more robust interfaces may support other event type formats such as an XML document, events sent as attachments for binary data and others.
  • the interface will more than likely support additional arguments that would describe the event type and its properties in more detail. These may comprise hints to the receiving system on how to parse and handle the event.
  • a ProcessEventException may be thrown.
  • the exception contains an error number and error message on the reason the event was not accepted.
  • the event and error number and error message may be logged into event reject files.
  • the toolkit may provide an event management system for the provider to review rejected records and possibly fix them and then queue them for resubmission to the mediation web service, possibly using the batch usage acquisition portion of the WSUAF.
  • the following depicts one embodiment of the WSDL, for a basic proto-type implementation of the Usage Acquisition Web service, that may be available from the mediation gateway.
  • This proto-type interface may be used to send discrete usage records directly to the backend billing and rating solution.
  • a more fully featured WSDL interface would not only contain a simple string event type, but possibly some more strongly defined event types using XML Schema definitions. Also service methods to handle batch might be also be added.
  • targetNamespace “http://gateway.usage.sdk.webservices.ad vapps.cvg.com”
  • the usage mediation service may be hosted on a web server at a managed location.
  • the mediation web service receives usage events from web service providers and finalizes the event formatting and loads the events into, for example, a billing system.
  • handlers in this solution may be exactly what handlers were designed to provide, the ability to intercept service method/messages prior to entering the actual service.
  • handlers is not unique to Axis and JAX-RPC there may be similar solutions in other applications server technologies such as CORBA. This design assumes the use of handlers in application servers is becoming standard and therefore will make this solution will be widely applicable.
  • usage handlers or bill authorization handlers can be placed on either stack capturing data on either a request or a response or possibly both.
  • the usage may then be forwarded onto the Web Services Gateway to be rated, billed and settled.
  • the authorization data may be captured from the SOAP web service request and formulated into a bill authorization request and sent to the Web Service Gateway for bill authorization.
  • a fault can occur anywhere along the request and response path. It may be important to place the usage acquisition and bill authorization handler in a location where the service may be guaranteed to be rendered.
  • the WSUAF provides one standard handler that may be called the WebServiceEventParser.
  • This class snoops the SOAP envelopes searching for metered and bill authorized web services.
  • the WebServiceEventParser knows which services may be metered and bill authorized by reading the metered and bill authorization service information from the WSUAF descriptor file (WebSvcDescriptor.xml).
  • the WSUAF Descriptor file contains a list of services that may be metered and bill authorized.
  • the WebSvcEventParser Once the WebSvcEventParser has parsed the SOAP envelope and found a metered or authorized service it continues to parse the SOAP envelope passing the parsed information to an EventParser implementation that may be looking for metered or bill authorization fields that may be specified in the WSUAFdescriptor file.
  • the WebServiceEventParser does not compose the usage event or bill authorization request.
  • An event composer may be used to compose the usage event or bill authorization request.
  • the WebServiceEventParser notifies the event composer of key points in the parse such as start, finish, service name, service method, parameters and others key items in the SOAP envelope.
  • Each metered service and bill authorized web service may be associated with an event composer.
  • a metered usage service may also be associated with an event type.
  • the event parser periodically calls into the event composer at key points in the parsing passing in parseddata from the XML SOAP envelope.
  • the data passed into the event composer may be devoid of any XML, in this embodiment, only the element name and the element value may be passed into the event composer. This frees the event composer from parsing the XML envelope and allows the composer to concentrate on composing the usage event or authorization request.
  • the composer may be notified that there is no more data and the event may then be enqueued to be sent to the Web Services Gateway or a bill authorization request may be immediately made and the response of the bill authorization request will determine whether the request for the Web Service will continue.
  • the WSUAF may provide a session management infrastructure.
  • Event classes may be used to compose events.
  • the composed usage events may be enqueued and sent to the Web Services Gateway.
  • Composed bill authorization requests may be sent immediately to the Web Services Gate for a bill authorization response.
  • the base interface may be the Event interface for all events. This interface may contain no methods—it may only be a marker interface that may be used internally by the WSUAF. Events may be opaque objects to the core WSUAF. Only the event composer and the usage event transmitter may be interested in the events as objects.
  • the composer sets the data on the event and the transmitter usually calls a serialization method on the event to send it to the Web Services Gateway.
  • the serialization method on events used by the event transmitter is:
  • This method may be actually defined on the Event interface. This method may be used to stringify [serializing a structured data type into a string] to serialize the event into a serialized string.
  • a serialization method has the ability to convert a structured type into a flat or opaque type model, which may be more convenient for storing onto storage mediums and streaming across network architectures. Referring to FIG. 18 and below, there are some common event interfaces and their serialization methods.
  • Event composers may be used to compose events.
  • the EventComposer may be periodically called during key points in the SOAP envelope parsing by the web service EventParser.
  • the WSUAF has a standard event composers for usage event composition and bill authorization requests.
  • the standard EventComposer may not contain all the features required by a service provider.
  • the EventComposer interface may be open and extensible to allow service providers to implement their own composers.
  • the EventParser Prior to the EventParser parsing the SOAP envelope the EventParser invokes the “startRequest” method on the EventComposer passing in the current SOAP message and the event class associated with the request.
  • the EventComposer's “startRequest” method may be where the event composer may be given the opportunity to initialize and create a new usage event. The composer will return the event that will be composed from the current service invocation. This event will be passed to the composer at each subsequent state change along with the element name and element type. Returning the event back to the event parser keeps the event thread safe and ensures the right event may be used with each state transition. After the finish state has completed the event parser enqueues the event to be sent. If the event composer returns null after the transition to the start state then the event parser assumes the composer parsed, composed and enqueued the event.
  • the “Service” method may be called on the EventComposer passing in the service name when the EventParser has found the service name within the SOAP envelope.
  • the “Method” may be called on the EventComposer passing in the method name when the EventParser has found the event name within the SOAP envelope.
  • Transport may be called on the EventComposer passing in the transport type when the EventParser has found the transport type within the SOAP envelope.
  • EventComposer passing in the operation name when the EventParser has found the operation name within the SOAP envelope.
  • “Client Address” may be called on the EventComposer passing in the client address when the EventParser has found the client address within the SOAP envelope.
  • Headers may be called on the EventComposer passing in the SOAP headers when the EventParser has found the SOAP headers within the SOAP envelope.
  • Body may be called on the EventComposer passing in the SOAP Body when the EventParser has found the SOAP Body within the SOAP envelope.
  • “Params” may be called on the EventComposer passing in the parsed usage parameters when the EventParser has found a usage parameter within the SOAP envelope.
  • “Trailers” may be called on the EventComposer passing in the SOAP trailers when the EventParser has found the SOAP trailers within the SOAP envelope.
  • EventComposer may be called on the EventComposer when the EventParser has completed parsing the SOAP envelope. If the EventComposer does not return an event then the EventParser assumes that the EventComposer has handled the event and will not enqueue the event.
  • this state diagram identifies the order in which the web service event parser sequences an event composer.
  • the same diagram may be used for a service response except the startResponse state may be the initial state and the finishResponse state may be the final state.
  • An event composer can bypass all states except the start state. This allows the composer the option to parse the complete envelope instead of the event parser.
  • EventComposer The interface listed below may be for the Axis environment; there may be another interface for the JAX-RPC environment. This may be the Java implementation of the abstract interface (EventComposer) that is explained above.
  • EventComposer ⁇ /** * Called prior to when a request message is to be parsed.
  • the ⁇ code>MessageContext ⁇ /code> * is passed in case there are any pre-parsing information to be captured by a composer.
  • @param msgContext The service message request.
  • @param eventClass The class to instantiate the event.
  • * @return The event that is to be queued when parsing is finished.
  • the ⁇ code>Vector ⁇ /code> contains zero or more bodies of type * ⁇ code>MessageElement ⁇ /code> * * @param bodies List of message element bodies. * @throws EventException */ public void bodies(Event event, Vector bodies) throws EventException; /** * Called prior to processing the trailers of the service request. * The ⁇ code>Vector ⁇ /code> contains zero or more trailers of type * ⁇ code>MessageElement ⁇ /code> * * @param trailers List of message element trailers. * @throws EventException */ public void trailers(Event event, Vector trailers) throws EventException; /** * This called after each parsed parameter. * * @param event The event being composed. * @param name The parameter name * @param o The parameter value. */ public void param(Event event, String name, Object value) throws EventException; ⁇ Standard Implementations
  • the Axis package com.cvg.advapps.webservices.sdk.usage.axis contains the class WebServicesEventParser and the interface EventComposer. These may be the only two Axis specific items in the WSDK.
  • the WebServicesEventParser is the global or service handler that will be registered to snoop and parse the SOAP envelope for metered services and data.
  • the package com.cvg.advapps.webservices.sdk.usagejaxrpc contains the class WebServicesEventParser and the interface EventComposer. These may be the only two JAX-RPC specific items in the WSDK.
  • the WebServicesEventParser is the service handler that will be registered to snoop and parse the SOAP envelope for metered services and data.
  • the WSUAF must be able to access the deployment descriptor, which describes the services and associated data to be metered and bill authorized by the WSUAF. This information may be described, usually by a web service provider's administrative staff, in the deployment descriptor prior to the runtime operation of any metered or bill authorized services.
  • the format of this file follows XML version 1.0 specifications and the schema definition for the deployment descriptor follows the XML-Schema 1.0.
  • the information contained in the WSUAF service descriptor can be used by any of the classes in the WSUAF, but may be mainly used by the EventParser to identify which services may be metered and by the EventComposer to identify what usage and bill authorization data may be captured, manipulated or interpolated within the Web service and what type of event or request may be formulated.
  • Developers may be responsible for defining event composers and events when necessary.
  • the developer should develop the relationship between event and event composer within the WebSvcDeployment.xml file.
  • the developer may also identify the list of fields that may be captured with the metered and bill authorized services and possibly any data manipulation that should occur or constants that should be interpolated into the event.
  • Deployers may be responsible for associating the appropriate services with the appropriate event composers and events. Also the deployer may adjust any fields and constants identified in the deployment descriptor.
  • the event or request must be sent to the Billing System and/or possibly another system.
  • a transmitter may be the responsibility of the transmitter to forward the event to the appropriate system.
  • Queues can be either inside or outside the address space of the event parser. The queues may be used to help load balance the number of simultaneous web service event propagations.
  • the web service event parser uses the standard queue interface.
  • the event parser may be unaware of the queue implementation it may be handed. This may be because the web service event parser gets a reference to the queue form the singleton factory class SystemEventQueue.
  • the SystemEventQueue determines the implementation based the queue configuration information in the wsdk.xml configuration file which is an XML 1.0 conformant file that contains WSUAF configuration information.
  • a distributor is used to dequeue events from the system queue and dispatch the events to registered transmitters.
  • a distributor has a publish and subscribe relationship between itself and transmitters. Transmitters subscribe to event types that they may wish to receive with the distributor. Referring to FIG. 22 , when a distributor pulls an event from the queue it dispatches the event to all subscribed transmitters.
  • a distributor runs on a thread that is a separate thread from the event parser and composer.
  • a Distributor can run in the same address space as the event parser, composer and queue or in a separate address space.
  • the distributor has a dependency on the system queue, so in whatever address space a distributor runs it must have access to the system event queue.
  • the type of distributor used in a runtime environment may be specified in the wsdk.xml configuration file, which may be the configuration file that may be used to configure the configurable properties of the WSUAF.
  • public interface Distributor extends Runnable ⁇ /** * Subscribes a transmitter to receive events.
  • the transmitter's * ⁇ code>publish ⁇ /code> interface is called whenever the * ⁇ code>Distributor ⁇ /code> pulls an event from the pool that matches * a ⁇ code>Transmitter's ⁇ /code> subscribed event type.
  • * * @param transmitter The transmitter whose ⁇ code>publish ⁇ /code> interface will * be invoked.
  • * @param eventTypes Call the transmitter's ⁇ code>publish ⁇ /code> interface * whenever one of these event types are to be distributed. * @throws EventTypeNotFoundException When an event type is not found. */ public void subscribe(Transmitter transmitter, Class [ ] eventTypes); /** * Subscribes a transmitter to receive events. The transmitter's * ⁇ code>publish ⁇ /code> interface is called whenever the * ⁇ code>Distributor ⁇ /code> pulls an event from the pool that matches * a ⁇ code>Transmitter's ⁇ /code> subscribed event type. * * @param transmitter The transmitter whose ⁇ code>publish ⁇ /code> interface will * be invoked.
  • SimpleDistributor implements the publish and subscribe interactions between itself and the transmitters. It runs on a separate thread in the same address space as the event parser and composer.
  • Transmitters may be used to send web service events to other systems.
  • a transmitter subscribes to the type of events it wishes to receive.
  • a transmitter subscribes with the system distributor. There may be one or more transmitters per application; this may be configurable in the wsdk.xml configuration file.
  • transmitters may be responsible for sending events onto other systems it may be the transmitters responsibility to ensure that the events may be forwarded. If the event cannot be forwarded, then it may be the transmitters responsibility to ensure the a recovery process may be followed.
  • the transmitter interface defines an abstraction for receiving events.
  • the system can support many different types of transmitters simultaneously.
  • the UsageMediationTransmitter handles events that support the Event interface.
  • This file contains the configuration to create the event propagation framework and to configure the WSUAF runtime. It may be used to identify the implementation of the queues, transmitters, distributors and event types that may be utilized by the WSUAF.

Abstract

A method and system is disclosed herein for decoupling billing for web services from the application logic which governs those web services by instrumenting a web services stack to monitor SOAP envelopes for pre-determined elements and to use those elements to determine questions as to authorization for solvency as well as calculate charges for said web services.

Description

    BACKGROUND OF THE INVENTION PRIORITY
  • There is no priority claim for this application.
  • 1. Field of the Invention
  • The field of invention relates generally to a computerized architecture for capturing usage details for web services and authorizing those same services using the web stack.
  • 2. Description of the Related Art
  • A Web service is a type of loosely coupled distributed application service (usually including some combination of programming and data, but possibly including human resources as well) that enables a business to expose remote software functionality using a Service Oriented Architecture (SOA), that is based upon web service standards. Service Oriented Architectures provide an infrastructure that allows for the advertisement, use and management of distributed software services. Some definitions of common terms in this industry follow.
  • Definitions
  • Common Internet Protocols. Although not specifically tied to any transport protocol, web services build on ubiquitous Internet connectivity and infrastructure to ensure nearly universal reach and support. In particular, web services will take advantage of HTTP, the same connection protocol used by web servers and browsers.
  • Extensible Markup Language (XML). XML is a widely accepted format for exchanging data and its corresponding semantics. It is a fundamental building block for nearly every other layer in the web services stack.
  • Simple Object Access Protocol (SOAP). SOAP is a protocol for messaging and RPC-style communication between applications. It is based on XML and uses common Internet transport protocols like HTTP to carry its data.
  • Web Services Description Language (WSDL). WSDL is an XML-based description of how to connect to a particular web service. A WSDL description abstracts a particular service's various connection and messaging protocols into a high-level bundle and forms a key element of the UDDI directory's “green pages.”
  • Universal Description, Discovery, and Integration (UDDI). UDDI represents a set of protocols and a public directory for the registration and real-time lookup of web services and other business processes.
  • Web Services Flow Language (WSFL). WSFL is the least developed of the current web services layers. Sponsored by IBM, the WSFL team hopes to define a framework that implementers of web services can use to describe the business logic required to assemble various services into an end-to-end business process.
  • Other Business Rules. Additional elements that support complex business rules must still be implemented before web services can automate truly critical business processes. Mechanisms for security and authentication, contract management, quality of service, and more will soon follow—some as standards, others as value-added solutions from independent software vendors.
  • XML-RPC. XML-RPC represents the simplest form of web service style connections. As the name indicates (XML-RPC means “XML Remote Procedure Call”), the protocol was a loosely defined spin-off from the efforts that ultimately led to the SOAP specification. Although not part of the “classic” web services stack, XML-RPC can be used to achieve similar benefits for less structured connections.
  • Service Oriented Architecture (SOA)
  • There may be three main roles in a SOA: provider, broker, and consumer. The Service Provider is the provider and possibly the creator of the service. The Service Broker advertises where the service can be found and supporting information. The Service Consumer may be the end user of the service.
  • Referring to FIG. 1, generally, a service provider creates the service and publishes the availability of the service in the service broker's registry. Consumers who require a particular service will search the broker's registry for the required service. When the consumer finds and selects the service that satisfies their requirements they can use the information provided by service provider in the UDDI registry to consume the advertised service.
  • In a Web service SOA a service can be created by the service provider and then advertised into a Web service registry, possibly using a standard registry such as Universal Description Discovery and Integration (UDDI) server. Service consumers will search the UDDI registry for one or more services that will satisfy their service requirements. A service can be used standalone or aggregated with other services to solve the service requirements of the consumer. When Web service(s) are located by the consumer in the UDDI registry the consumer may download from the UDDI a set of supporting material to access the advertised Web Service. In a Web service environment one of the items downloaded by the consumer from the UDDI registry is a Web Service Description Language (WSDL) file. This file contains a description of the Web service interface, network access protocol, and network address of the service. The consumer will typically use the WSDL file and a generation tool that reads the WSDL file to generate a preferred language technology to access the web service.
  • Web services represent a model in which discrete tasks within e-business processes are distributed widely throughout a value net. Web services components can be recombined by other companies to meet the needs of their own software applications or business processes.
  • One simple example of a web service may be an auction engine like eBay's. The eBay web site offers a highly successful auction service. Today, however, if Widgets-R-Us, a business that sells surplus widgets, wants to add auction functionality to its own business model, it needs to develop its own auction software from scratch or redirect customers to a site like eBay. With web services, eBay could syndicate its auction functionality and make it available to other web sites or applications (presumably for a fee). Companies like Widgets-R-Us would simply subscribe to eBay's web service, add a few lines of code to their own applications to incorporate the web service, and they instantly have private-labeled auction functionality available on their own sites. Other customer-facing examples include stock quotes, content syndication, mapping services, checking bids for an auction item, and so on. Some more enterprise-centric services may include storage management and customer relationship management, payroll management, shipping and logistics, business intelligence, credit scoring, etc. The accelerating creation and availability of these services is a major Web trend.
  • Web services are not a specific technology, but rather a group of established and emerging communication protocols that include HTTP, XML, Simple Object Application Protocol (SOAP), Universal Description Discovery and Integration (UDDI), and Web Services Description Language (WSDL). A web service can be developed on any computer platform and in any development environment, as long as it can communicate with other web services using these common protocols.
  • The Problem
  • Currently, web services address heterogeneous connectivity, interoperability, service directory, service resolution and rapid application development and deployment; but, web services are significantly void of revenue acquisition opportunities.
  • It is important to capture web service usage so that quality of service, financial merit, and auditing aspects of the service can be determined by the enterprise. Capturing web service usage is equivalent to metering a web services activity (whether in bytes, dollars, time, number of times accessed, etc.) and the results of metering can be applied to many disciplines including rating, billing, auditing and quality of service. It is desirable to provide a solution for capturing web service usage for existing applications that will not require modification of the underlying service itself. A web services development toolkit would help developers of web services become metering enabled for the services they are offering.
  • Web Services Stack
  • “Web Services” is a distributed, loosely coupled, interoperable service architecture driven by a set of standards. To better understand the Web Services architecture the following sections will categorize the components of the architecture into several stacks. Referring to FIG. 3, there are three main stacks: wire (310), service (320) and service (330).
  • Wire Stack (310)
  • The wire stack (310) is a set of technologies that determines how a message is sent between the service requestor and the service provider. Referring to FIG. 4, there are 4 layers to the wire stack (310) that are mostly built upon XML, SOAP and other Internet standards.
  • At the bottom of the stack (310) is the network protocol (410). This is actually defines the transport technology that is used to transfer the data between the service requestor and service provider. Currently the most popular network protocol for Web Services is HTTP, but Web Services is not restricted to HTTP. Other protocols may be supported such as standard Internet protocols like FTP, SMTP and others. In fact just about any network protocol (410) can be used as long as the requestor and provider are able to communicate via the agreed network protocol (410).
  • Just above the network protocol stack is the data-encoding stack (420), which is used to map data to and from the network protocol format into and from a programming language format suitable for use by programmers. Web Services uses XML Schema to define the data types that are transferred. Also support for custom schemas are supported such as SOAP encoding.
  • Web Services uses the SOAP standard as the XML messaging format (430). SOAP provides a standard message envelope for holding message header and body information. Also SOAP defines a standard set of messaging exchange protocols (MEP's, client server communication interactions). SOAP also defines a standard mechanism for defining network protocol bindings. Network protocol bindings define which type of transport will be used.
  • At the top of the stack are the SOAP envelope extensions (440). These allow for the use orthogonal extensions to the SOAP message. Header extensions may be used for message security (authentication, authorization, digital signatures, etc), transactions, routing and other orthogonal entities.
  • There is a set of core services that drive through all layers of the wire stack and possibly extend beyond the wire stack. These can be considered vertical stack technologies. These may be security, manageability and Quality of Service services. For example security could appear at several levels of the stack.
    Security in the Wire Stack
    XML Data Network
    Wire Stack Envelope Messaging Encoding Protocol
    Security Digital Cryptography SSL
    Signatures
  • Currently the standard details of vertical technologies are just getting started.
  • The Web Services wire stack is built upon a set of well-supported standards and proven technologies. This stack is the foundation upon which Web Services is built.
  • Service Description Stack (320)
  • The wire stack defines the low-level technology details of the service requestor to service provider communications. The service description stack (320) describes the information about a service that may be of most interest to the service requestor. Service description may be key to the three main operations of publish, find and bind in a Service Oriented Architecture. The service description stack defines the service level interaction requirements between the requestor and provider. A service description specifies most of the following service description attributes:
      • Address of the Web Service
      • What transport/network protocol may be used (HTTP, FTP, . . . )
      • The version of SOAP used
      • The data encoding/mapping type
      • Type of messaging RPC/Document
      • Message format (Define+why important?)
      • Service Provider service environment qualities and polices (Define)
      • Multi-Service coordination (Define).
  • The five layers of the service description stack (320) can be classified into functional and non-functional layers. The lower layers of the stack may be functional and describe the details of what a Web Service does, how a Web Service may be invoked, where it may be invoked and other functional details. The upper layers of the stack may be non-functional in that they describe the environment and qualities of a provider's Web Service.
  • Referring to FIG. 5, at the bottom of the stack may be XML (510). Web Services may be driven by XML standards. Functional and non-functional service descriptions may be defined using XML. XML Schema may be used in the service description as an abstract data type definition for service data exchanged.
  • Just above the XML layer may be the service-implementation (520) and service-interface (530) layers, both of which may be described in the Web Services Definition Language (WSDL) file. Where a service may be located (i.e., its network address of where messages are to be sent so that services can be rendered) may be described in the service implementation layer. The service interface layer describes what message needs to be sent and what messaging transport may be used to access the service and how the data is to be encoded or mapped into the SOAP envelope.
  • Endpoint descriptions (540) are just starting to be discussed as a possible mechanism for describing environmental characteristics of an offered service. These characteristics might describe attributes of a Web-Service hosting environment such as security policies, timeliness of response, cost of service and other quality of service criteria. Currently in the Web Service Flow Language specification from IBM there is a suggestion of the use of a Web Service End-Point Language (WSEL) used to describe the quality attributes of an end-point. Currently there is no W3C or IETF end-point specifications as of this time only that some vendors have started some to do some work in this area.
  • At the top of the service description stack (550) may be the ability to describe how a set of Web Services may be orchestrated to work together to provide complex services such as multi-party, multi-operation long running transactions. Currently, there is no standard for the orchestration of Web Services, but IBM has a proposal call Web Services Flow Language (WSFL) and Microsoft has XLANG that is part of their NET initiative and there is Business Process Markup, sponsored by the Business Process Management Initiative (BPMI). Which one or more of these will become a standard is yet to be determined.
  • Service Discovery Stack (330)
  • Referring to FIG. 6, service discovery (330) provides the ability for service provider to advertise their services and service requesters to find advertised services they may be interested in using. Service requestors need a directory (620) in order to search for Web Services. Currently the most widely used directories (620) for web services may be either a Universal Description, Discovery and Integration (UDDI) directory (620) or an ebXML registry (620). Service providers advertise their service in directories by registering textual descriptions and categorization of their services in the registry. They also make the service description (WSDL) available from the registry. Service requestors use the registry to find services and obtain the service descriptions (WSDL file) so that they can bind to the service provider's service.
  • The inspection layer (610) provides a list of discovery mechanisms that a particular service can be found. For example it may be possible for service descriptions to be obtained by asking the service provider directly for the WSDL. This is not a standard directory but this is another mechanism for locating a service definition. So an inspection service (610) provides a list of locations where a service description can be obtained.
  • SUMMARY
  • Referring to FIG. 25, this diagram illustrates one embodiment of the invention as a whole system.
  • The SOAP message may be passed to the handler (WebServiceEventParser). Based on information from the Web Service usage acquisition and bill authorization deployment descriptor, the WebServiceEventParser determines whether the service may be metered and/or authorized. If the SOAP message is not to be metered or authorized then the SOAP message may continue through the SOAP stack without any further interruption from WSUAF. If it is to be metered or authorized, the SOAP message may then be parsed by a handler/parser and the results of the parse may be handed off to an event composer that composes the event. After the completion of the parsing and the composition of the event, the event may be either sent to an authorization system to be authorized or enqueued into the usage event system queue where it may be picked up by the system distributor that publishes the event to subscribed transmitters. The transmitters serialize the event and send it via a web service, to the Usage Mediation service where the event will be rated billed and settled.
  • In one embodiment, there may be a computerized method for billing for web services comprising the steps of creating a descriptor file designating at least one pre-defined element (any aspect of the web service including quality of service, type of service, length of service, location of requestor, location of server, authorization key fields, version numbers, encrypted account information, and start/stop time, and more); configuring a handler (known in the art) to monitor a web service network communication (message stream, i.e., SOAP envelope), between a service requestor (user requesting a service via their computer) and a service provider (provider of the web service), for said pre-defined element(s) in said descriptor file; configuring said handler to send said pre-defined element(s) to a set of programmed instructions to create an event record (i.e., WebServiceEventParser); electronically transmitting said event record to a billing system for further processing (i.e., authorization or rating). The computerized method may comprise programmed instructions (modules, programs, firmware, hardware, software) which determines whether or not the event requires authorization or rating based on the parameters pulled from the SOAP envelope or otherwise from the message stream. The various pre-defined fields may be used to support a variety of billing plans.
  • The deployment descriptor may also contain instructions for modifying or transforming the data comprising the pre-defined data elements before the event is sent to the billing system. This may include masking, manipulating, calculations, formatting, and more.
  • The communication for a web service may be a duplex communication between the client and the server. It may comprise a request and a response wherein said request comprises a start time and said response comprises an end time. Using the parameters, rating of the web service may be accomplished by creating a first event record comprising said start time; sending said first event record to said billing system; queuing said first event record in said billing system; creating a second event record comprising said end time; sending said second event record to said billing system; matching said first event record with said second event record; calculating a charge for said web service based on said start time and said end time; returning said charge to said service provider.
  • The billing system may comprise programmed billing instructions which determine whether a web service transaction may be performed including whether the service requestor is permitted to access said web service transaction or whether the service requester is solvent enough to purchase the web service. The billing system may return a response to the web service provider indicating whether the transaction may continue or not.
  • In another embodiment, there may be a computer-readable medium having computer executable instructions for performing a method comprising receiving a descriptor file designating at least one pre-defined element; utilizing said descriptor file to monitor a web service network communication for said pre-defined element(s); copying said-predefined element(s) from said network communication into a record; electronically sending said record to a billing system for further processing.
  • In another embodiment, there may be a system for billing for web services comprising a descriptor file; a handler; a record; and a billing system. These elements may work in cooperation wherein said descriptor file designates at least one pre-defined elements; said handler is configured to monitor a web service network communication, between a service requester and a service provider, for said at least one pre-defined element in said descriptor file; said handler is further configured to copy said pre-defined elements from said network communication into a record; said handler is further configured to electronically transmit said record to a billing system for further processing.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 The main participants in one embodiment of a Service Oriented Architecture.
  • FIG. 2 High Level Architecture Overview of one embodiment of WSUAF.
  • FIG. 3—Three stacks of Web Services.
  • FIG. 4 Wire Stack.
  • FIG. 5 Service Description Stack.
  • FIG. 6 Service Discovery Stack.
  • FIG. 7 Use Case Diagram showing how providers may subscribe to a Billing Web Services.
  • FIG. 8 Use Case Diagram showing how providers acquire the WSUAF and deploy it into their Web Services SOAP stack.
  • FIG. 9 High Level Diagram showing the acquisition of usage and billing authorization on either the client and/or server side. Also shown is that the acquired usage may be forwarded to a Web Service usage collection service.
  • FIG. 10 illustrates one embodiment of a High Level Diagram showing the instrumentation of the Web Services SOAP stack on both the client and server side of the Web Service and the possible connections to the Web Service Usage Collection and Billing Authorization services.
  • FIG. 11 illustrates one possible set of WSUAF core classes.
  • FIG. 12 illustrates an example of a Logical Web Service communication path between client and server.
  • FIG. 13 High Level Diagram showing an embodiment of the instrumentation of the Web Services SOAP stack on both the client and server side of the Web Service for usage acquisition, which may also be the same for billing authorization
  • FIG. 14 illustrates one embodiment of a High Level Diagram showing the instrumentation of the Web Services SOAP stack on both the client and server side of the Web Service and the possible connections to the Web Service Usage Collection and Billing Authorization services but showing an example of billing authorization instrumentation of the SOAP stack.
  • FIG. 15 depicts a possible diagram showing the inputs to the WebServiceEventParser.
  • FIG. 16 depicts on possibility of the cardinality relationships between the SOAP request/response and the EventComposer and the composed Event.
  • FIG. 17 illustrates a possible diagram of WebServiceEventParser, EventComposer and Event relationships
  • FIG. 18 illustrates one example of Usage and Billing Authorization Event types and their hierarchies.
  • FIG. 19 illustrates one example of an Event Composer State diagram.
  • FIG. 20 illustrates on embodiment including the EventParser and Event Dispatch relationships for Usage Acquistion.
  • FIG. 21 illustrates one diagram of classes involved in the Web Service usage Event dispatches.
  • FIG. 22 illustrates a possible sequence diagram of Web Service usage event dispatch classes.
  • FIG. 23 illustrates a possible sequence diagram of successful authorization (via ability to pay/bill) access to a consumer web service.
  • FIG. 24 illustrates a possible sequence diagram of an unsuccessful authorization (via ability to pay/bill) access to a consumer web service.
  • FIG. 25 illustrates one possible diagram of core classes and collaborators in WSUAF.
  • DETAILED DESCRIPTION OF SEVERAL EMBODIMENTS OF THE INVENTION
  • Various embodiments of the invention comprise a web service development and deployment toolkit that will enable providers to instrument their web services to acquire usage and perform billing authorization. The toolkit includes the Web Service Usage Acquisition and Authorization Framework (WSUAF), which further includes a runtime engine that performs three core functions:
      • 1. Extract usage and billing authorization data from the web service message stream (capture).
      • 2. Forward the captured web service usage to one or more collectors (collect).
      • 3. Request billing authorization from a backend authorization service for use of a billable web service.
  • Referring to FIG. 2, WSUAF extracts service usage or billing authorization information from web service messages that may be encoded into a standard SOAP message envelope. The extraction of usage or billing authorization information from the SOAP envelope can occur anywhere along the communication path where there may be a web services SOAP stack or where the SOAP envelope may be accessible. The WSUAF may examine SOAP messages directly from the network pipe or stack. Capturing usage or billing authorization information can occur at the web service client that may be utilizing the service or at the web service server where the service is being offered or possibly at both locations. Usage and billing authorization information extraction from SOAP messages could also occur somewhere in between such as at a network router. This usage capture may be accomplished by instrumentation of the Web services stack. When the WSUAF identifies a service where usage and/or billing authorization may be done, the WSUAF copies the elements from the SOAP message into a usage record or in the case of a monetary authorization a billing authorization request event may be created. In order to extract usage or billing authorization information from a web service the WSUAF extraction engine utilizes a web service usage/billing authorization deployment/descriptor file. Within the web service usage/billing authorization deployment/descriptor file may be a list of services and the elements from those service that may be captured and whether or not a usage event and/or billing authorization should occur. Elements may be copied from the SOAP message stream and into a usage record and/or a billing authorization request. The copied elements may be transformed as specified by the deployment descriptor file prior to being placed into a usage record or billing authorization request. Also, when a usage record or billing authorization may be constructed, extra fields such as constants as specified in the web service descriptor file can be added to the usage record or billing authorization request. Once the usage record may be completely composed, it may be passed onto the WSUAF collector engine where usage records may be pooled and managed. When the construction of a billing authorization request event may be completed the request may be sent to a billing authorization system to request authorization of a billable web service. A response may be sent back from the billing authorization system indicating whether the user of the billable web service can pay for use of the service, if the user can pay the web service follows through to completion. If the user cannot pay then the request for the web service may be logged and the service may be terminated with an error indication returned to the web service user.
  • Benefits
  • Use of the instrumented web services stack allows for the acquisition of billing information to be decoupled from the application code. Use of the instrumented stack may also require no development from the service provider. The provider may simply add the configuration information into the WSUAF Web Service deployment descriptor. This will be advantageous for organizations that have existing deployed web services that are not currently metered and wish to meter them and/or add billing authorization to them. If the dynamic deployment and configuration are insufficient to acquire the necessary service usage information, the WSUAF may also provide event composers, which can be extended and then deployed into the instrumented stack.
  • The WSUAF model discussed provides many benefits including more efficient development, manageability, flexibility, and access to data not privy to the application.
  • By placing the billing functionality, such as the capture of web service usage information and the bill authorization of web services, within the Web service SOAP stack there may be no requirement for Web service developers to mix billing functionality with the Web service application functionality. This will reduce the complexity and management of web service development. This can be further complicated if authorization needs to be coordinated in a client server application where the client developer and Web service server developer have to ensure not only application responsibilities but also billing authorization capabilities. Also by means of instrumentation of the SOAP stack existing services that may not be using billing functionality may easily add billing functionality without changing the existing web service application code.
  • There may be a significant improvement in managing application and billing functionality in development and where the Web services may be deployed. Which services need to have usage capture can be defined at anytime when the web service application may be deployed.
  • The billing policies a Web service application uses can be determined at anytime once the web service application may be deployed. Policies can be easily changed and deployed.
  • Through instrumentation of the Web Service stack, the billing functionality may have access to data in the SOAP envelope that is not available to the application code itself. This would include such information as QoS info, authorization key fields, version numbers, encrypted account information, etc. Also the instrumented billing stack will have access to the data necessary to support an innumerable number of billing models such as subscription billing models, bundled plans, time based usage charges (start/stop), re-occurring charges, one time charges, discount plans based on usage, charges and discounts based on time of day, customer loyalty charges and discounts, family plans or organizational relationship plans that determine discounts and charges, stepped and tiered plans, location dependent pricing and authorization.
  • WSUAF
  • In a preferred embodiment, a Web Services solution for acquiring Web Service usage and bill authorization information may be used in conjunction with a billing and rating system such as those marketed/serviced by Convergys, Inc. This solution for usage acquisition and billing authorization may also be integrated into systems for customer management and price plan management. The WSUAF may follow and implement security standards such as WS-Security standards and SOAP Security extensions for Digital Signatures.
  • The WSUAF may support the following standards among others as well as similar and evolutionary standards to be developed in the future: SOAP 1.1 [section 5 RPC-encoding and follow the request & response messaging protocol); WSDL 1.0; Java 1.3; JAX-RPC 1.0; SAAJ 1.1; Servlet 2.3; JSP 1.2; XML 1.0; XML Schema 1.0. For explanatory purposes only, a web server based reference implementation may be specified that uses the Java based web server Tomcat 4.0.3 from the Apache organization; and the Axis Beta 1 plug-in which web service enables the Tomcat web server is also from the Apache organization; JDK 1.3. This is only a reference implementation and does not represent all possible embodiments.
  • Use Cases
  • We will discuss two use cases for acquiring web service usage and the billing authorization of a web service. In use case #1 (FIG. 7), Usage Acquisition and Bill Authorization as a Web Service, the web service provider will acquire the web service usage information and bill authorize a web service by a means other than using an instrumented web services stack. Once the usage may be acquired the service provider will send the usage via a Web service to the Real Time Usage Acquisition collection service. When a web service must be bill authorized the service provider will send a bill authorization request via a Bill Authorization web service. In use case #2 (FIG. 8) the service provider may use an instrumented Web service stack to acquire and bill authorize a web service.
  • Usage Acquisition and Bill Authorization as a Web Service #1
  • Referring to FIG. 6, various embodiments of the invention utilize the Web Services Description Language (WSDL). The service provider may use WSDL to generate the code necessary to access the Usage Acquisition or Bill Authorization Web Services if they are currently gathering usage and bill authorization information by directly augmenting their application code (thus mixing application code and usage acquisition and bill authorization code), the gathered usage information may be collected, rated and billed using a web service, or the provider may batch the usage and then send the usage to a Batch Usage Acquisition Web Service. Bill authorization information may be gathered directly in the Web Service application code and a bill authorization request may be formulated and sent to a backend billing authorization system, which may offer the authorization service also as a web service. The billing authorization system will use the information sent in the request to determine whether the original requester of the Web Service may be bill authorized to access the service. Or the bill authorization system will return additional information back to the requesting system in order to give it the ability to determine whether the Web Service should be rendered.
  • Usage Acquisition and Bill Authorization as Part of the Web Services Stack #2
  • Referring to FIG. 8, usage acquisition and billing authorization may be deployed as part of the web services stack. The WSUAF provides a plug-in that may be used to by the web services SOAP stack to acquire usage and other billing information.
  • Once the billing plug-in may be installed into the Web service SOAP stack the provider must configure the system using the WSUAF deployment descriptor to capture usage and bill authorize Web Services. In a preferred embodiment, the installation of the Web service SOAP stack should not require the modification of the actual web services in order to acquire usage and perform bill authorization on new or existing web services.
  • Design Overview
  • In an embodiment, the WSUAF provides the tools to instrument the web service stack, a WSUAF Web Service deployment descriptor to define the web service usage information to capture and define which Web Services may be bill authorized. The toolkit may provide both a pure web services solution that utilizes WSDL while, at the same time, providing a non-intrusive solution utilizing the web services stack.
  • WSUAF may also offer the ability to instrument the stack of any JAX-RPC compliant solution. JAX-RPC (Java API for XML-Based RPC) is an application program interface (API) in the Java Web Services Developer Pack (WSDP) that enables Java developers to include remote procedure calls (RPCS) with Web services or other Web-based applications. JAX-RPC is aimed at making it easier for applications or Web services to call other applications or Web services. JAX-RPC provides a programming model for the development of SOAP (Simple Object Access Protocol)-based applications. The JAX-RPC programming model simplifies development by abstracting SOAP protocol-level runtime mechanisms and providing mapping services between Java and the Web Services Description Language (WSDL). This will, therefore, follow the J2EE 1.4 standard and will be able to support any compliant J2EE 1.4 implementation.
  • The WSUAF also provides support for the most widely distributed web services plug-in solution which is the Axis SOAP plug-in from the Apache organization. The WSDK uses the Axis Handler framework, which is very similar to the JAX-RPC handler framework.
  • SDK High Level Architecture—Usage and Bill Authorization Web Service—Case #1
  • Referring to FIG. 9, in one embodiment, WSUAF may allow the acquisition of usage and billing authorization on both the client and server side. WSUAF provides for the real-time acquisition of service usage data and, in another embodiment, WSUAF supports the ability for batch acquisition of usage. Real-time usage acquisition provides a simple service to send discrete units of usage with either a success or failure return code. Batch services allow for the transfer of batches of usage records via files and a specified standard protocol such as ftp. These services follow the message exchange protocol of request and response. More complicated message exchange protocols may also be utilized in the toolkit. Bill Authorization may be supported with a simple request and reply protocol with the backend bill authorization system.
  • Usage and Bill Authorization Stack Instrumentation—Case #2
  • Instrumenting the stack for the acquisition of usage and the bill authorization of a web service involves the use of filters/handlers and the WSUAF web service deployment descriptor. A software version of filter technology is usually provided by the application server vendor to enable pre- and post-message processing. Some technologies have standardized the use of filters via organizational specifications. The CORBA specification from the Object Management Group (OMG) identifies filters as interceptors, in the Java JAX-RPC specification they may be referred to as handlers and as part of the Apache Axis framework they may be referred to as handlers. Referring, again, to FIG. 9, the web services stack resides on both the requesting client and on the service provider's platforms. Referring to FIG. 10, filters can be inserted into the stack on either the server or client side. Filters can also capture information of the outgoing request stack of the client and the incoming request stack of the server. Also the filters can be used on the outgoing response stack of the service server and the incoming response stack of the client. The configuration and deployment and possibly extension of the usage acquisition handlers enable the ability to capture service usage. The design will explain in detail the plug-ability, flexibility, and extensibility of using a framework that exploits the use of handlers to capture web service usage.
  • Once the WSUAF stack handlers may be installed, an initialization process occurs which cause WSUAF to search for the deployment descriptor, which describes which Web Services WSUAF will meter and authorized. Contained within the deployments/descriptor may be a usage and a bill authorization section. Each section contains a list of Web Services that may be either metered or bill authorized. Each service method may identify when the data may be extracted either on the service request and/or response. On each listed service method may be a list of data fields that may be extracted from the Web Service SOAP message, and any data manipulation primitives that may be preformed and/or interpolated into the usage data event or bill authorization request. Below is a simplified textual example of a deployment descriptor. More detailed examples of WSUAF Web Service descriptor may be disclosed using XML standards.
    Begin Usage Section:
    Begin List WebServices to capture usage
    WebServiceA
    MethodX at Request and Response
    Fields to Extract-Manipulate from Service:
    FieldA, FieldB,
    FieldC, DateAndTimeStamp, AddConstantD, Add FieldA and FieldB
    WebServiceB at Response
    MethodY
    Fields to Extract-Manipulate from Service:
    FieldA, FieldB,
    DateAndTimeStamp,AddConstantD, Sub FieldA and FieldB
    End List WebServices to capture usage
    End Usage Section:
    Begin Bill Authorization Section:
    Begin List WebServices to perform Bill Authorization
    WebServiceA
    MethodA at Request
    Fields to Extract-Manipulate from Service:
    FieldA, FieldB,
    DateAndTimeStamp, AddConstantC, Add FieldA and FieldB
    WebServiceE
    MethodB at Request
    Fields to Extract-Manipulate from Service:
    FieldA, FieldZ,
    DateAndTimeStamp, AddConstantC, Add FieldA and FieldB
    End List WebServices to perform Bill Authorization
    End Bill Authorization Section:
  • In the usage section of the contrived WSUAF Web Service descriptor file, above, each service and service method that may be metered is listed. Also identified may be the data fields that may be extracted, added and/or manipulated from the web service and packaged into an event to be forwarded to an event collection or billing system.
  • Using the deployment descriptor above a simple example for one possible use of a time based usage-billing model will be explained. Based on the WSUAF descriptor usage section, when a Web Service Request for MethodA on WebServiceA may be made the WSUAF extracts and manipulates the identified data fields from the Web Service SOAP envelope, one of the fields being interpolated into the data may be a date and time stamp identifying the start time of the service. This information may be packaged into a usage event and sent to the billing system. When the Web Service Response occurs for MethodA on WebServiceA the identified data fields may be extracted and manipulated, one of the fields being a date and time stamp identifying the end time of the service. This information may be packaged into a usage event and sent to the billing system. The billing system would collate the events received from the WSUAF to bill the customer for duration of use for the Web Service. In the example above the usage information may be sent to a down-stream billing system to be billed and rated, there is also the possibility of the billing engine to be embedded within the Web Service server or be local to the Web Service Server to perform rating and billing in near real time.
  • Using the contrived WSUAF Web Service descriptor file above a few possible simple examples of a Web Service bill authorization will be explained. Based on the WSUAF descriptor bill authorization section, when a Web Service Request for MethodA on WebServiceA may be made the WSUAF extracts and manipulates the identified data fields from the Web Service SOAP envelope. One of the extracted fields may identify the price of the Web Service and the account number of the customer requesting the service. This information may be packaged into a bill authorization request and sent to the backend bill authorization system. The bill authorization system will return a response indicating the customer's ability to pay for the Web Service. If the authorization system indicates the customer can pay, then the Web Service request will continue. If the authorization system indicated that the customer does not have the ability to pay, then request may be terminated and a message may be returned to the customer explaining access to the service has been denied. Several other examples may be that authorization can be done based on the number of times the service may be accessed, a decrementing account balance, the volume of data, time of day, window of time, frequency of use, subscription dependencies, location of where the service will be rendered, for example if someone from Germany is requesting a streaming music web service request from America the bill authorization could deny this base on billing location,
  • Web Service Usage Acquisition and Authorization Framework (WSUAF)
  • Referring to FIG. 11, the WSUAF comprises a set of abstractions that may be used within the instrumented web services stack. These frameworks may be used to manage the plug-ability, flexibility and scalability of the frameworks. Some of the flexibility may be accomplished through the use of the WSUAF Web Service deployment descriptor.
  • Some of the abstractions allow for a more object oriented event management and distribution rather than the management of an opaque byte stream of usage data. Service provider developers may have the option, depending on the embodiment of the invention they may be utilizing, of mixing the value-add web service with aspects of their application by using these frameworks. Alternatively, they may directly use the usage acquisition and bill authorization web service within their web service application. Using these frameworks provides for a more object-oriented interface to the usage event management within their applications. Also the frameworks allow for alternative load balancing and event distribution systems. The framework could provide the integration of other systems such as mediation and provisioning systems.
  • Real-Time Usage Acquisition—Use Case #1
  • One embodiment of the real-time usage acquisition messaging system may use a push protocol for sending usage messages to the web service mediation gateway. Other embodiments may support both push and pull protocols. Here is an example of a Java based push protocol interface, which is further detailed in the industry standard WSDL interface specification in the next few paragraphs.
      • public void processEvent(String event) throws ProcessEventException
  • When the service provider uses this interface, which will be more than likely generated from the WSDL, the event may be sent as a proprietary compliant formatted string. This may be simply a comma-separated list of strings with quoted string fields. Other more robust interfaces may support other event type formats such as an XML document, events sent as attachments for binary data and others. The interface will more than likely support additional arguments that would describe the event type and its properties in more detail. These may comprise hints to the receiving system on how to parse and handle the event.
  • If the usage acquisition web service encounters an error and cannot process the event a ProcessEventException may be thrown. The exception contains an error number and error message on the reason the event was not accepted. The event and error number and error message may be logged into event reject files. In one embodiment, the toolkit may provide an event management system for the provider to review rejected records and possibly fix them and then queue them for resubmission to the mediation web service, possibly using the batch usage acquisition portion of the WSUAF.
  • The following depicts one embodiment of the WSDL, for a basic proto-type implementation of the Usage Acquisition Web service, that may be available from the mediation gateway. This proto-type interface may be used to send discrete usage records directly to the backend billing and rating solution. A more fully featured WSDL interface would not only contain a simple string event type, but possibly some more strongly defined event types using XML Schema definitions. Also service methods to handle batch might be also be added.
    <?xml version=“1.0” encoding=“UTF-8”?>
    <wsdl:definitions
    targetNamespace=“http://gateway.usage.sdk.webservices.ad
    vapps.cvg.com” xmlns=“http://schemas.xmlsoap.org/wsdl/”
    xmlns:SOAP-
    ENC=“http://schemas.xmlsoap.org/soap/encoding/”
    xmlns:impl=“http://gateway.usage.sdk.webservices.advapps
    .cvg.com-impl”
    xmlns:intf=“http://gateway.usage.sdk.webservices.advapps.
    cvg.com” xmlns:wsdl=“http://schemas.xmlsoap.org/wsdl/”
    xmlns:wsdlsoap=“http://schemas.xmlsoap.org/wsdl/soap/”
    xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>
    <wsdl:message name=“processEventRequest”>
    <wsdl:part name=“event” type=“SOAP-ENC:string”/>
    </wsdl:message>
    <wsdl:message name=“processEventResponse”>
    </wsdl:message>
    <wsdl:message name=“ProcessEventException”>
    <wsdl:part name=“cvs” type=“SOAP-ENC:string”/>
    </wsdl:message>
    <wsdl:portType
    name=“UsageMediationServicePortType”>
    <wsdl:operation name=“processEvent”
    parameterOrder=“event”>
    <wsdl:input message=“intf:processEventRequest”/>
    <wsdl:output
    message=“intf:processEventResponse”/>
    <wsdl:fault message=“intf:ProcessEventException”
    name=“ProcessEventException”/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding
    name=“UsageMediationServicePortSoapBinding”
    type=“intf:UsageMediationServicePortType”>
    <wsdlsoap:binding style=“rpc”
    transport=“http://schemas.xmlsoap.org/soap/http”/>
    <wsdl:operation name=“processEvent”>
    <wsdlsoap:operation soapAction=“”/>
    <wsdl:input>
    <wsdlsoap:body
    encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/
    namespace=“http://gateway.usage.sdk.webservices.advapps
    .cvg.com” use=“encoded”/>
    </wsdl:input>
    <wsdl:output>
    <wsdlsoap:body
    encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/
    namespace=“http://gateway.usage.sdk.webservices.advapps
    .cvg.com” use=“encoded”/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name=“UsageMediationService”>
    <wsdl:port
    binding=“intf:UsageMediationServicePortSoapBinding”
    name=“UsageMediationServicePort”>
    <wsdlsoap:address
    location=“http://localhost:8080/axis/services/UsageMediati
    onServicePort”/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    Gateway Web Service
  • The usage mediation service may be hosted on a web server at a managed location. The mediation web service receives usage events from web service providers and finalizes the event formatting and loads the events into, for example, a billing system.
  • Usage Acquisition in the Web Service Stack
  • This section will address a design for capturing web service usage data by instrumenting the web services stack, an explanation of an implementation for bill authorization would be almost identical because it would leverage the existing abilities of frameworks, so this mainly explains usage acquisition with references to bill authorization where clarification may be needed. Instrumenting the stack provides a non-intrusive mechanism to capture web service usage information without directly affecting the web service application itself. The solutions presented may work in an Apache Axis solution or any JAX-RPC compliant web service framework, but may not be the only solutions that will be available. The design solution leverages the use of handlers that may be available in both the Axis solutions and JAX-RPC standard. The use of handlers in this solution may be exactly what handlers were designed to provide, the ability to intercept service method/messages prior to entering the actual service. The use of handlers is not unique to Axis and JAX-RPC there may be similar solutions in other applications server technologies such as CORBA. This design assumes the use of handlers in application servers is becoming standard and therefore will make this solution will be widely applicable.
  • Request, Response and Fault Management
  • Referring to FIG. 12, physically there may be two web service stacks that a web service request, response or fault will pass. There is the requesting client web service stack and the responding web service server's stack.
  • Referring to FIG. 13, usage handlers or bill authorization handlers can be placed on either stack capturing data on either a request or a response or possibly both.
  • Referring to FIG. 14, once the usage may be captured it may then be forwarded onto the Web Services Gateway to be rated, billed and settled. Or in the case of a bill authorization request, the authorization data may be captured from the SOAP web service request and formulated into a bill authorization request and sent to the Web Service Gateway for bill authorization.
  • It may be important to remember that a fault can occur anywhere along the request and response path. It may be important to place the usage acquisition and bill authorization handler in a location where the service may be guaranteed to be rendered.
  • Referring to FIG. 15, the WSUAF provides one standard handler that may be called the WebServiceEventParser. This class snoops the SOAP envelopes searching for metered and bill authorized web services. The WebServiceEventParser knows which services may be metered and bill authorized by reading the metered and bill authorization service information from the WSUAF descriptor file (WebSvcDescriptor.xml). The WSUAF Descriptor file contains a list of services that may be metered and bill authorized.
  • Referring to FIG. 16, Once the WebSvcEventParser has parsed the SOAP envelope and found a metered or authorized service it continues to parse the SOAP envelope passing the parsed information to an EventParser implementation that may be looking for metered or bill authorization fields that may be specified in the WSUAFdescriptor file. The WebServiceEventParser does not compose the usage event or bill authorization request. An event composer may be used to compose the usage event or bill authorization request. The WebServiceEventParser notifies the event composer of key points in the parse such as start, finish, service name, service method, parameters and others key items in the SOAP envelope. Each metered service and bill authorized web service may be associated with an event composer. A metered usage service may also be associated with an event type.
  • Referring to FIG. 17, the event parser periodically calls into the event composer at key points in the parsing passing in parseddata from the XML SOAP envelope. The data passed into the event composer may be devoid of any XML, in this embodiment, only the element name and the element value may be passed into the event composer. This frees the event composer from parsing the XML envelope and allows the composer to concentrate on composing the usage event or authorization request.
  • After the WebServiceEventParser has completed parsing, the composer may be notified that there is no more data and the event may then be enqueued to be sent to the Web Services Gateway or a bill authorization request may be immediately made and the response of the bill authorization request will determine whether the request for the Web Service will continue.
  • Session Management
  • There may be a need to acquire usage or bill authorization information over several web service invocations. If this is the case, then there may be a need for a way to save event data (state) over those invocations. To save state over several invocations, the WSUAF may provide a session management infrastructure.
  • Events
  • Event classes may be used to compose events. The composed usage events may be enqueued and sent to the Web Services Gateway. Composed bill authorization requests may be sent immediately to the Web Services Gate for a bill authorization response. The base interface may be the Event interface for all events. This interface may contain no methods—it may only be a marker interface that may be used internally by the WSUAF. Events may be opaque objects to the core WSUAF. Only the event composer and the usage event transmitter may be interested in the events as objects. The composer sets the data on the event and the transmitter usually calls a serialization method on the event to send it to the Web Services Gateway. Currently, the serialization method on events used by the event transmitter is:
      • public String toEvent( );
  • This method may be actually defined on the Event interface. This method may be used to stringify [serializing a structured data type into a string] to serialize the event into a serialized string.
  • Standard Implementations
  • There may be several other interfaces and base classes that extend and implement the Event interface. Most of these only provide a serialization methods. A serialization method has the ability to convert a structured type into a flat or opaque type model, which may be more convenient for storing onto storage mediums and streaming across network architectures. Referring to FIG. 18 and below, there are some common event interfaces and their serialization methods.
      • Interface: XMLEvent: toDocument( );
      • toXMLString( );
      • Interface: StringEvent: toString( )’
      • Interface: GenevaEvent: toGenevaEvent ( );
      • Abstract Class: IPDRBaseEvent extends XMLEvent-.
        Event Composers
  • Event composers may be used to compose events. The EventComposer may be periodically called during key points in the SOAP envelope parsing by the web service EventParser. The WSUAF has a standard event composers for usage event composition and bill authorization requests. The standard EventComposer may not contain all the features required by a service provider. The EventComposer interface may be open and extensible to allow service providers to implement their own composers.
  • Event Composer Methods
  • Prior to the EventParser parsing the SOAP envelope the EventParser invokes the “startRequest” method on the EventComposer passing in the current SOAP message and the event class associated with the request. The EventComposer's “startRequest” method may be where the event composer may be given the opportunity to initialize and create a new usage event. The composer will return the event that will be composed from the current service invocation. This event will be passed to the composer at each subsequent state change along with the element name and element type. Returning the event back to the event parser keeps the event thread safe and ensures the right event may be used with each state transition. After the finish state has completed the event parser enqueues the event to be sent. If the event composer returns null after the transition to the start state then the event parser assumes the composer parsed, composed and enqueued the event.
  • The “Service” method may be called on the EventComposer passing in the service name when the EventParser has found the service name within the SOAP envelope.
  • The “Method” may be called on the EventComposer passing in the method name when the EventParser has found the event name within the SOAP envelope.
  • “Transport” may be called on the EventComposer passing in the transport type when the EventParser has found the transport type within the SOAP envelope.
  • “Operation” may be called on the EventComposer passing in the operation name when the EventParser has found the operation name within the SOAP envelope.
  • “Client Address” may be called on the EventComposer passing in the client address when the EventParser has found the client address within the SOAP envelope.
  • “Headers” may be called on the EventComposer passing in the SOAP headers when the EventParser has found the SOAP headers within the SOAP envelope.
  • “Body” may be called on the EventComposer passing in the SOAP Body when the EventParser has found the SOAP Body within the SOAP envelope.
  • “Params” may be called on the EventComposer passing in the parsed usage parameters when the EventParser has found a usage parameter within the SOAP envelope.
  • “Trailers” may be called on the EventComposer passing in the SOAP trailers when the EventParser has found the SOAP trailers within the SOAP envelope.
  • “Finish” may be called on the EventComposer when the EventParser has completed parsing the SOAP envelope. If the EventComposer does not return an event then the EventParser assumes that the EventComposer has handled the event and will not enqueue the event.
  • Referring to FIG. 19, this state diagram identifies the order in which the web service event parser sequences an event composer. The same diagram may be used for a service response except the startResponse state may be the initial state and the finishResponse state may be the final state. An event composer can bypass all states except the start state. This allows the composer the option to parse the complete envelope instead of the event parser.
  • “Interface”
  • The interface listed below may be for the Axis environment; there may be another interface for the JAX-RPC environment. This may be the Java implementation of the abstract interface (EventComposer) that is explained above.
    public interface EventComposer {
    /**
    * Called prior to when a request message is to be parsed. The
    <code>MessageContext</code>
    * is passed in case there are any pre-parsing information to be
    captured by a composer.
    * @param msgContext The service message request.
    * @param eventClass The class to instantiate the event.
    * @return The event that is to be queued when parsing is
    finished.
    */
    public Event startRequest(MessageContext msgContext, Class
    eventClass) throws EventException;
    /**
    * This is called after all parsing of the request message is
    complete.
    * When this method returns the returned event is queued for
    distribution.
    *
    * @param event The event that is being composed.
    * @param msgContext The service message context.
    * @return The event that will be enqueued for distribution.
    */
    public Event finishRequest(Event event, MessageContext
    msgContext) throws EventException;
    /**
    * Called just prior to parsing a response service message. The
    * <code>MessageContext</code> is passed in case there are any
    pre
    * parsing information to be captured by a composer.
    *
    * @param msgContext The service message context
    * @return The event that is to be queued when parsing is
    finished.
    */
    public Event startResponse(Event event, MessageContext
    msgContext) throws EventException;
    /**
    * This is called after all parsing of the response message is
    complete.
    * When this method returns the returned event is queued for
    distribution.
    *
    * @param event he event that is being composed.
    * @param msgContext The service message context
    * @return The event that will be enqueued for distribution.
    */
    public Event finishResponse(Event event, MessageContext
    msgContext) throws EventException;
    /**
    * The name of the service being processed.
    *
    * @param service Name of the service.
    */
    public void service(Event event, String service) throws
    EventException;
    /**
    * The name of the service method being called.
    *
    * @param method Name of the method.
    */
     public void method(Event event, String method) throws
    EventException;
    /**
    * This is the type of tranport used for the service request.
    *
    * @param transport Name of transport used to service the
    request.
    */
     public void transport(Event event, String transport) throws
    EventException;
    /**
    * Identifies the type of service method invocation such as rpc.
    * @param operation Identifies the service mehtod operation
    style.
    */
    public void operation(Event event, String operation) throws
    EventException;
    /**
    * This is the host address of the requesting client.
    *
    * @param hostaddr The address of the remote client.
    */
    public void clientRemoteAddress(Event event, String hostaddr)
    throws EventException;
    /**
    * Called prior to processing the headers of the service request.
    *
    * @param headers Contains a <code>Vector</code> of zero or
    more
    * <code>MessageElement</code> objects.
    * @throws EventException
    */
    public void headers(Event event, Vector headers) throws
    EventException;
    /**
    * Called prior to processing the bodies of the service request.
    * The <code>Vector</code> contains zero or more bodies of
    type
    * <code>MessageElement</code>
    *
    * @param bodies List of message element bodies.
    * @throws EventException
    */
     public void bodies(Event event, Vector bodies) throws
    EventException;
    /**
    * Called prior to processing the trailers of the service request.
    * The <code>Vector</code> contains zero or more trailers of
    type
    * <code>MessageElement</code>
    *
    * @param trailers List of message element trailers.
    * @throws EventException
    */
     public void trailers(Event event, Vector trailers) throws
    EventException;
    /**
    * This called after each parsed parameter.
    *
    * @param event The event being composed.
    * @param name The parameter name
    * @param o The parameter value.
    */
    public void param(Event event, String name, Object value) throws
    EventException;
    }

    Standard Implementations
  • Currently there may be two platform event composer implementations one for the Axis environment and one for the JAX-RPC environment.
  • The Axis package com.cvg.advapps.webservices.sdk.usage.axis contains the class WebServicesEventParser and the interface EventComposer. These may be the only two Axis specific items in the WSDK. The WebServicesEventParser is the global or service handler that will be registered to snoop and parse the SOAP envelope for metered services and data.
  • JAX-RPC
  • The package com.cvg.advapps.webservices.sdk.usagejaxrpc contains the class WebServicesEventParser and the interface EventComposer. These may be the only two JAX-RPC specific items in the WSDK. The WebServicesEventParser is the service handler that will be registered to snoop and parse the SOAP envelope for metered services and data.
  • WSUAF Web Service Deployment Descriptor
  • The WSUAF must be able to access the deployment descriptor, which describes the services and associated data to be metered and bill authorized by the WSUAF. This information may be described, usually by a web service provider's administrative staff, in the deployment descriptor prior to the runtime operation of any metered or bill authorized services. The format of this file follows XML version 1.0 specifications and the schema definition for the deployment descriptor follows the XML-Schema 1.0. The information contained in the WSUAF service descriptor can be used by any of the classes in the WSUAF, but may be mainly used by the EventParser to identify which services may be metered and by the EventComposer to identify what usage and bill authorization data may be captured, manipulated or interpolated within the Web service and what type of event or request may be formulated. Below is the W3C industry standard XML DTD and Schema that describes the format of the Metered Service Deployment Descriptor:
    <?xml version=“1.0” encoding=“UTF-8”?>
    <!-- WSUAF Describe services that metered and bill authorized -->
    <!ELEMENT WSUAF (meteredWebServices, billAuthorizedWebServices)>
    <!-- Identifies the bill authorized services and method where data is
    captured/manipulated -->
    <!ELEMENT billAuthorizedWebServices (service+)>
    <!-- Identifies the metered services and method where data is captured/manipulated -->
    <!ELEMENT meteredWebServices (service+)>
    <!-- Identifies the services where data is captured/manipulated -->
    <!ELEMENT service (method+)>
    <!ATTLIST service name CDATA #REQUIRED>
    <!-- Identifies the methods where data is captured/manipulated -->
    <!ELEMENT method (param+, constant+)>
    <!ATTLIST method
    name CDATA #REQUIRED
    composer CDATA #REQUIRED
    event CDATA #REQUIRED
    flow CDATA #REQUIRED
    >
    <!-- defined captured/manipulated data -->
    <!ELEMENT param (#PCDATA)>
    <!ATTLIST param name CDATA #REQUIRED>
    <!-- defined constant data -->
    <!ELEMENT constant (#PCDATA)>
    <!ATTLIST constant name CDATA #REQUIRED>
    XML Schema of the WSUAF deployment descriptor
    <?xml version=“1.0” encoding=“UTF-8”?>
    <!DOCTYPE xs:schema SYSTEM
    “C:\projects\advapps\WebSvcBilling\patent\wsuaf.dtd”>
    <xs:schema xmlns:xs=“http://www.w3.org/2001/XMLSchema”
    elementFormDefault=“qualified”>
    <xs:element name=“WSUAF”>
    <xs:complexType>
    <xs:sequence>
    <xs:element ref=“meteredWebServices”/>
    <xs:element ref=“billAuthorizedWebServices”/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name=“billAuthorizedWebServices”>
    <xs:complexType>
    <xs:sequence>
    <xs:element ref=“service” maxOccurs=“unbounded”/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name=“constant” >
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base=“xs:string”>
    <xs:attribute name=“name” type=“xs:string”
    use=“required”/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name=“meteredWebServices”>
    <xs:complexType>
    <xs:sequence>
    <xs:element ref=“service” maxOccurs=“unbounded”/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name=“method” >
    <xs:complexType>
    <xs:sequence>
    <xs:element ref=“param” maxOccurs=“unbounded”/>
    <xs:element ref=“constant” maxOccurs=“unbounded”/>
    </xs:sequence>
    <xs:attribute name=“name” type=“xs:string” use=“required”/>
    <xs:attribute name=“composer” use=“required”/>
    <xs:attribute name=“event” use=“required”/>
    <xs:attribute name=“flow” type=“xs:string” use=“required”/>
    </xs:complexType>
    </xs:element>
    <xs:element name=“param” >
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base=“xs:string”>
    <xs:attribute name=“name” use=“required”/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    <xs:element name=“service” >
    <xs:complexType>
    <xs:sequence>
    <xs:element ref=“method” maxOccurs=“unbounded”/>
    </xs:sequence>
    <xs:attribute name=“name” type=“xs:string” use=“required”/>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Roles
  • In this section we describe the roles and responsibilities of each person in the development and management of a metered service using the instrumented web services stack.
  • Development
  • Developers may be responsible for defining event composers and events when necessary. The developer should develop the relationship between event and event composer within the WebSvcDeployment.xml file. The developer may also identify the list of fields that may be captured with the metered and bill authorized services and possibly any data manipulation that should occur or constants that should be interpolated into the event.
  • Deployment
  • Deployers may be responsible for associating the appropriate services with the appropriate event composers and events. Also the deployer may adjust any fields and constants identified in the deployment descriptor.
  • Administration
  • It may be the administrator's responsibility to ensure the appropriate server and software is installed and available.
  • Rating SDK Framework
  • Once an event is parsed and composed by the web service event parser and composer the event or request must be sent to the Billing System and/or possibly another system. There may be a framework to help manage the performance, scalability and flexibility of propagating events to event collection systems.
  • The discussion below discusses the abstract architecture of the WSUAF event propagation. Referring to FIG. 20, once an event may be composed it may be queued by the event parser for dispatch.
  • Referring to FIG. 21, once an event may be enqueued, an event distributor will pull the event off the queue and dispatch the event to registered transmitters that have subscribed to the queued event.
  • Once a transmitter has an event, it may be the responsibility of the transmitter to forward the event to the appropriate system.
  • Queues
  • Events that may be forwarded to systems outside of the web service may be stored in a framework queue. Queues can be either inside or outside the address space of the event parser. The queues may be used to help load balance the number of simultaneous web service event propagations.
  • Interface
  • The web service event parser uses the standard queue interface. The event parser may be unaware of the queue implementation it may be handed. This may be because the web service event parser gets a reference to the queue form the singleton factory class SystemEventQueue. The SystemEventQueue determines the implementation based the queue configuration information in the wsdk.xml configuration file which is an XML 1.0 conformant file that contains WSUAF configuration information.
  • Below is standard event queue interface. As can be seen below this interface may be nothing more than an abstract representation of a standard programming queue with a basic priority model:
    public interface EventQueue {
    static public final byte HIGH = 0;
    static public final byte MEDIUM = 1;
    static public final byte LOW = 3;
    /**
    * Put event into the pool at <b>MEDIUM</b> priority.
    *
    * @param event An event of interest that is to be pooled.
    */
    public void put(Event event);
    /**
    * Get the next event from the pool of any priority. The does a
    destructive
    * get of the next event. This essentially has the same semantics
    as a
    * <code>remove( )</code> @return The next event from the pool
    */
    public Event get( );
    /**
    * Put the event in the queue at the specified priority.
    *
    * @param event Event being queued.
    * @param priority Prioirty of queued event.
    */
    public void put(Event event, byte priority);
    /**
    * The next event of the specified priority.
    *
    * @param priority The priority of the next event to get.
    * @return The next event of the given priority. If this is not a
    blocking
    * call to the queue then <b>null should be returned</b> to
    indicate there * is no events available.
    */
    public Event get(byte priority);
    /**
    * Remove the <code>event</code> from the pool.
    *
    * @param event The event to be removed.
    * @return <code>True</code>if event was found and removed
    <code>false</code> if event
    * was not found.
    */
    public boolean remove(Event event);
    }

    Distributors
  • A distributor is used to dequeue events from the system queue and dispatch the events to registered transmitters. A distributor has a publish and subscribe relationship between itself and transmitters. Transmitters subscribe to event types that they may wish to receive with the distributor. Referring to FIG. 22, when a distributor pulls an event from the queue it dispatches the event to all subscribed transmitters.
  • A distributor runs on a thread that is a separate thread from the event parser and composer. A Distributor can run in the same address space as the event parser, composer and queue or in a separate address space. The distributor has a dependency on the system queue, so in whatever address space a distributor runs it must have access to the system event queue.
  • Interface
  • This is an abstraction for creating distributors. The type of distributor used in a runtime environment may be specified in the wsdk.xml configuration file, which may be the configuration file that may be used to configure the configurable properties of the WSUAF.
    public interface Distributor extends Runnable {
    /**
    * Subscribes a transmitter to receive events.
    The transmitter's
    * <code>publish</code> interface is called whenever the
    * <code>Distributor</code> pulls an event from
    the pool that
    matches
    * a <code>Transmitter's</code> subscribed event type.
    *
    * @param transmitter The transmitter whose
    <code>publish</code> interface will
    * be invoked.
    * @param eventTypes Call the transmitter's
    <code>publish</code> interface
    * whenever one of these event types are to be distributed.
    * @throws EventTypeNotFoundException When an
    event type is
    not found.
    */
    public void subscribe(Transmitter transmitter, Class [ ]
    eventTypes);
    /**
    * Subscribes a transmitter to receive events.
    The transmitter's
    * <code>publish</code> interface is called whenever the
    * <code>Distributor</code> pulls an event from
    the pool that
    matches
    * a <code>Transmitter's</code> subscribed event type.
    *
    * @param transmitter The transmitter whose
    <code>publish</code> interface will
    * be invoked.
    * @param eventClassNames An array of event class names
    * @throws EventTypeNotFoundException When an
    event type is
    not found.
    */
    public void subscribe(Transmitter transmitter, String [ ]
    eventClassNames) throws EventTypeNotFoundException;
    /**
    * Unsubscribe this transmitter from the distributor.
    * @param transmitter The transmitter that no longer
    wishes to
    receive events.
    */
    public void unsubscribe(Transmitter transmitter);}

    Standard Implementations
  • SimpleDistributor implements the publish and subscribe interactions between itself and the transmitters. It runs on a separate thread in the same address space as the event parser and composer.
  • Transmitters
  • Transmitters may be used to send web service events to other systems. A transmitter subscribes to the type of events it wishes to receive. A transmitter subscribes with the system distributor. There may be one or more transmitters per application; this may be configurable in the wsdk.xml configuration file.
  • Since transmitters may be responsible for sending events onto other systems it may be the transmitters responsibility to ensure that the events may be forwarded. If the event cannot be forwarded, then it may be the transmitters responsibility to ensure the a recovery process may be followed.
  • Interface
  • The transmitter interface defines an abstraction for receiving events. The system can support many different types of transmitters simultaneously.
    public interface Transmitter {
    /**
    * This method is called by distributors to pass on events to
    transmitters.
    *
    * @param event An event that is to be fowarded to event
    collating and analyzing
    * systems.
    */
    public void publish(Event event);}

    Standard Implementations
  • The UsageMediationTransmitter handles events that support the Event interface. When the UsageMediationTransmitter receives an event it serializes the event by invoking the toEvent method on the event and then forwarding the result of the serialization via a web service call to the usage acquisition gateway.
  • WSDK Configuration File
  • This file contains the configuration to create the event propagation framework and to configure the WSUAF runtime. It may be used to identify the implementation of the queues, transmitters, distributors and event types that may be utilized by the WSUAF.
    <?xml version=“1.0” encoding=“UTF-8” ?>
    <!ELEMENT param-value ( #PCDATA ) >
    <!ELEMENT event EMPTY >
    <!ATTLIST event name CDATA #REQUIRED >
    <!ATTLIST event class NMTOKEN #REQUIRED >
    <!ELEMENT distributors ( distributor ) >
    <!ELEMENT transmitter ( init-param*, events ) >
    <!ATTLIST transmitter name NMTOKEN #REQUIRED >
    <!ATTLIST transmitter class NMTOKEN #REQUIRED >
    <!ELEMENT queues ( queue ) >
    <!ELEMENT distributor ( init-param* ) >
    <!ATTLIST distributor name NMTOKEN #REQUIRED >
    <!ATTLIST distributor class NMTOKEN #REQUIRED >
    <!ELEMENT queue ( init-param* ) >
    <!ATTLIST queue name NMTOKEN #REQUIRED >
    <!ATTLIST queue class NMTOKEN #REQUIRED >
    <!ELEMENT init-param ( param-name, param-value ) >
    <!ELEMENT transmitters ( transmitter ) >
    <!ELEMENT param-name ( #PCDATA ) >
    <!ELEMENT wsdk ( queues, distributors, transmitters ) >
    <!ELEMENT events ( event+ ) >
  • The foregoing may be considered as illustrative only of the principles of the invention. Further, since numerous changes and modifications will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation shown and described, and accordingly, all such suitable changes or modifications in structure or operation which may be resorted to are intended to fall within the scope of the claimed invention.

Claims (17)

1. A computerized method for billing for web services comprising the steps of:
creating a descriptor file designating at least one pre-defined element;
configuring a handler to monitor a web service network communication, between a service requestor and a service provider, for said pre-defined element(s) in said descriptor file;
configuring said handler to send said pre-defined element(s) to a set of programmed instructions to create an event record;
electronically transmitting said event record to a billing system for further processing.
2. A computerized method as claimed in claim 1 wherein said programmed instructions are configured to determine whether said event requires authorization.
3. A computerized method as claimed in claim 1 wherein said programmed instructions are configured to determine whether said event requires rating.
4. A computerized method as claimed in claim 1 further comprising the steps of transforming said pre-defined element(s) according to a set of instructions in said descriptor file before transmitting said record to a billing system.
5. A computerized method as claimed in claim 1 wherein said web service network communication comprises a request and a response wherein said request comprises a start time and said response comprises an end time and further comprising the steps of:
creating a first event record comprising said start time;
sending said first event record to said billing system;
queuing said first event record in said billing system;
creating a second event record comprising said end time;
sending said second event record to said billing system;
matching said first event record with said second event record;
calculating a charge for said web service based on said start time and said end time;
returning said charge to said service provider.
6. A computerized method as claimed in claim 1 wherein said billing system comprises programmed billing instructions coded to determine whether a web service transaction may be performed.
7. A computerized method as claimed in claim 6 wherein said programmed billing instructions are configured to determine if said service requestor is permitted to access said web service transaction.
8. A computerized method as claimed in claim 7 wherein said billing system may return a response to said web service provider indicating whether said web service should proceed.
9. A computerized method as claimed in claim 7 wherein said programmed billing instructions are configured to determine whether said service requestor is solvent enough to purchase said web service.
10. A computerized method as claimed in claim 9 wherein said programmed billing instructions are configured to return a response to a set of application code associated with said web service provider indicating whether said web service should proceed.
11. A computerized method as claimed in claim 9 wherein said programmed billing instructions are configured to return a response to said web service provider indicating a quantity for said web service to proceed.
12. A computerized method as claimed in claim 1 wherein said web service network communication comprises a SOAP message stream.
13. A computerized method as claimed in claim 12 wherein said SOAP message stream may comprise a set of data including quality of service information, authorization key fields, version numbers, encrypted account information, and start/stop time.
14. A computerized method as claimed in claim 12 wherein a billing system may use said pre-defined element in said SOAP message stream to support at least one pre-defined billing plan.
15. A computerized method as claimed in claim 14 wherein said pre-defined billing plans may be chosen from a list consisting of subscriptions, bundled plans, time-based usage plans, re-occurring charges, one-time charges, discount plans based on usage, discount plans based on time-of-day, discount plans based on customer loyalty, discount plans based on family/organization relationships, tired plans, location dependent pricing, and combinations thereof.
16. A computer-readable medium having computer executable instructions for performing a method comprising
receiving a descriptor file designating at least one pre-defined element;
utilizing said descriptor file to monitor a web service network communication for said pre-defined element(s);
copying said-predefined element(s) from said network communication into a record;
electronically sending said record to a billing system for further processing.
17. A system for billing for web services comprising:
a descriptor file;
a handler;
a record; and
a billing system
wherein
said descriptor file designates at least one pre-defined elements;
said handler is configured to monitor a web service network communication, between a service requestor and a service provider, for said at least one pre-defined element in said descriptor file;
said handler is further configured to copy said pre-defined elements from said network communication into a record;
said handler is further configured to electronically transmit said record to a billing system for further processing.
US10/666,631 2003-09-18 2003-09-18 System and method for web service billing Abandoned US20050065879A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/666,631 US20050065879A1 (en) 2003-09-18 2003-09-18 System and method for web service billing
US15/650,330 US11734734B2 (en) 2003-09-18 2017-07-14 System and method for web service billing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/666,631 US20050065879A1 (en) 2003-09-18 2003-09-18 System and method for web service billing

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/650,330 Continuation US11734734B2 (en) 2003-09-18 2017-07-14 System and method for web service billing

Publications (1)

Publication Number Publication Date
US20050065879A1 true US20050065879A1 (en) 2005-03-24

Family

ID=34313161

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/666,631 Abandoned US20050065879A1 (en) 2003-09-18 2003-09-18 System and method for web service billing
US15/650,330 Expired - Lifetime US11734734B2 (en) 2003-09-18 2017-07-14 System and method for web service billing

Family Applications After (1)

Application Number Title Priority Date Filing Date
US15/650,330 Expired - Lifetime US11734734B2 (en) 2003-09-18 2017-07-14 System and method for web service billing

Country Status (1)

Country Link
US (2) US20050065879A1 (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040117224A1 (en) * 2002-12-16 2004-06-17 Vikas Agarwal Apparatus, methods and computer programs for metering and accounting for services accessed over a network
US20040153407A1 (en) * 2002-10-10 2004-08-05 Convergys Information Management Group, Inc. System and method for revenue and authorization management
US20050008022A1 (en) * 2003-07-09 2005-01-13 Cisco Technology, Inc. Providing modular telephony service
US20050125555A1 (en) * 2003-12-05 2005-06-09 Electronic Data Systems Corporation System and method for fault management in a service-oriented architecture
US20050204054A1 (en) * 2004-03-10 2005-09-15 Guijun Wang Quality of Service resource management apparatus and method for middleware services
US20050240422A1 (en) * 2004-04-23 2005-10-27 International Business Machines Corporation System, method and program product for satisfying a service requirement
US20060053124A1 (en) * 2004-09-06 2006-03-09 Masahiro Nishio Information processing apparatus, information processing method, program, and storage medium
US20060271939A1 (en) * 2005-05-11 2006-11-30 Eric Joris Enterprise-to-enterprise integration
US20070043663A1 (en) * 2005-08-16 2007-02-22 Mark Simpson E-payment advice system
US20080133764A1 (en) * 2002-12-16 2008-06-05 International Business Machines Corporation Apparatus, Methods and Computer Programs for Metering and Accounting for Services Accessed Over a Network
US20080155089A1 (en) * 2006-12-21 2008-06-26 International Business Machines Corporation Method, system and program product for monitoring resources servicing a business transaction
US20080178010A1 (en) * 2007-01-18 2008-07-24 Vaterlaus Robert K Cryptographic web service
US20080285475A1 (en) * 2007-05-18 2008-11-20 Louis Menditto Charging for Network Services based on Delivered Quality of Service
US7457870B1 (en) * 2004-02-27 2008-11-25 Packeteer, Inc. Methods, apparatuses and systems facilitating classification of web services network traffic
US7478397B1 (en) * 2004-11-02 2009-01-13 Ameriprise Financial, Inc. Service-based interface method
US7487513B1 (en) * 2003-12-30 2009-02-03 Sap Ag Web service archive
US7774456B1 (en) * 2004-02-27 2010-08-10 Packeteer, Inc. Methods, apparatuses and systems facilitating classification of web services network traffic
US20110161293A1 (en) * 2005-12-29 2011-06-30 Vermeulen Allan H Distributed storage system with web services client interface
US8005723B1 (en) 2004-01-27 2011-08-23 Amazon Technologies, Inc. Providing multiple configurable usage models for available services
US8019652B1 (en) 2004-01-27 2011-09-13 Amazon Technologies, Inc. Execution of composite services
US8024225B1 (en) * 2004-01-27 2011-09-20 Amazon Technologies, Inc. Controlling access to services via usage models
US8024406B1 (en) 2005-11-18 2011-09-20 Convergys Cmg Utah, Inc. System and method for dispensing e-Care
US8538920B2 (en) * 2011-08-08 2013-09-17 Hewlett-Packard Development Company, L.P. System and method for storage service
US8719121B1 (en) * 2008-01-15 2014-05-06 David Leason System and method for automated construction of time records based on electronic messages
US9044504B1 (en) * 2006-12-29 2015-06-02 Amazon Technologies, Inc. Using configured application pricing to determine end user fees for use of invocable services
WO2016036386A1 (en) * 2014-09-05 2016-03-10 Hewlett Packard Enterprise Development Lp Dynamically generating an aggregation routine
US10853780B1 (en) * 2006-12-29 2020-12-01 Amazon Technologies, Inc. Providing configurable pricing for use of invocable services by applications
US11444810B2 (en) * 2019-11-21 2022-09-13 Verizon Patent And Licensing Inc. Micro-adapter architecture for cloud native gateway device

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4975942A (en) * 1989-07-21 1990-12-04 The Boston Communications Group Credit/calling card pay telephone method and system employing telephone unit local card-checking and other intelligence cooperative with local personal host computer
US5436850A (en) * 1991-07-11 1995-07-25 The Regents Of The University Of California Method to identify protein sequences that fold into a known three-dimensional structure
US6128607A (en) * 1996-07-12 2000-10-03 Nordin; Peter Computer implemented machine learning method and system
US6269312B1 (en) * 1997-04-11 2001-07-31 California Institute Of Technology Apparatus and method for automated protein design
US20020048772A1 (en) * 2000-02-10 2002-04-25 Dahiyat Bassil I. Protein design automation for protein libraries
US6400773B1 (en) * 1999-06-04 2002-06-04 The Board Of Trustees Of The University Of Illinois Section division operating point determination method for multicarrier communication systems
US20020089958A1 (en) * 1997-10-14 2002-07-11 Peretz Feder Point-to-point protocol encapsulation in ethernet frame
US20020090648A1 (en) * 1998-10-16 2002-07-11 Dahiyat Bassil I Protein design automation for protein libraries
US20020143819A1 (en) * 2000-05-31 2002-10-03 Cheng Han Web service syndication system
US20020161676A1 (en) * 1999-06-10 2002-10-31 Viswanath Vadlamani Prepaid fixed quantity access to web services
US20020176378A1 (en) * 2001-05-22 2002-11-28 Hamilton Thomas E. Platform and method for providing wireless data services
US20030049654A1 (en) * 1998-10-16 2003-03-13 Xencor Protein design automation for protein libraries
US6546375B1 (en) * 1999-09-21 2003-04-08 Johns Hopkins University Apparatus and method of pricing financial derivatives
US6578015B1 (en) * 1999-08-31 2003-06-10 Oracle International Corporation Methods, devices and systems for electronic bill presentment and payment
US6640097B2 (en) * 1999-12-13 2003-10-28 Markport Limited WAP service personalization, management and billing object oriented platform
US6639975B1 (en) * 1999-01-29 2003-10-28 Microsoft Corporation Interactive billing control system
US6792460B2 (en) * 2002-10-02 2004-09-14 Mercury Interactive Corporation System and methods for monitoring application server performance
US20050044197A1 (en) * 2003-08-18 2005-02-24 Sun Microsystems.Inc. Structured methodology and design patterns for web services
US20050216421A1 (en) * 1997-09-26 2005-09-29 Mci. Inc. Integrated business systems for web based telecommunications management
US7080035B1 (en) * 2000-03-20 2006-07-18 Bellsouth Intellectual Property Corp. System and method for notifying an electronic billing vendor of a customer status change
US7124302B2 (en) * 1995-02-13 2006-10-17 Intertrust Technologies Corp. Systems and methods for secure transaction management and electronic rights protection

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5560008A (en) 1989-05-15 1996-09-24 International Business Machines Corporation Remote authentication and authorization in a distributed data processing system
US5544322A (en) 1994-05-09 1996-08-06 International Business Machines Corporation System and method for policy-based inter-realm authentication within a distributed processing system
US5768521A (en) 1994-05-16 1998-06-16 Intel Corporation General purpose metering mechanism for distribution of electronic information
US5530852A (en) 1994-12-20 1996-06-25 Sun Microsystems, Inc. Method for extracting profiles and topics from a first file written in a first markup language and generating files in different markup languages containing the profiles and topics for use in accessing data described by the profiles and topics
US5819285A (en) 1995-09-20 1998-10-06 Infonautics Corporation Apparatus for capturing, storing and processing co-marketing information associated with a user of an on-line computer service using the world-wide-web.
US6230203B1 (en) 1995-10-20 2001-05-08 Scientific-Atlanta, Inc. System and method for providing statistics for flexible billing in a cable environment
US6381632B1 (en) 1996-09-10 2002-04-30 Youpowered, Inc. Method and apparatus for tracking network usage
US6366298B1 (en) 1999-06-03 2002-04-02 Netzero, Inc. Monitoring of individual internet usage
US6957255B1 (en) 1999-06-28 2005-10-18 Amdocs (Israel) Ltd. Method and apparatus for session reconstruction and accounting involving VoIP calls
AU2001251048A1 (en) 2000-05-08 2001-11-20 Apogee Networks, Inc Usage-based price planning
US20020112048A1 (en) 2000-12-11 2002-08-15 Francois Gruyer System and method for providing behavioral information of a user accessing on-line resources
US7130901B2 (en) 2001-01-02 2006-10-31 ACE★COMM Corporation Network service provider platform for supporting usage sensitive billing and operation services
TW561751B (en) 2001-04-04 2003-11-11 Ibm Counting and billing mechanism for web-services based on a SOAP-communication protocol
US7464154B2 (en) 2001-05-18 2008-12-09 Network Resonance, Inc. System, method and computer program product for analyzing data from network-based structured message stream
US7124299B2 (en) 2001-05-18 2006-10-17 Claymore Systems, Inc. System, method and computer program product for auditing XML messages in a network-based message stream
US8180871B2 (en) 2001-05-23 2012-05-15 International Business Machines Corporation Dynamic redeployment of services in a computing network
US7055143B2 (en) 2001-07-10 2006-05-30 Microsoft Corporation System and methods for providing a declarative syntax for specifying SOAP-based web services
CA2404552C (en) 2001-09-21 2008-12-09 Corel Corporation System and method for secure communication
US20040006608A1 (en) 2002-07-08 2004-01-08 Convergys Cmg Utah Flexible network element interface
US20040138970A1 (en) 2002-12-02 2004-07-15 Renjith Ramachandran Scripting designer for a billing mediation system
US9489496B2 (en) 2004-11-12 2016-11-08 Apple Inc. Secure software updates
US7730326B2 (en) 2004-11-12 2010-06-01 Apple Inc. Method and system for updating firmware stored in non-volatile memory
US7352567B2 (en) 2005-08-09 2008-04-01 Apple Inc. Methods and apparatuses for docking a portable electronic device that has a planar like configuration and that operates in multiple orientations
US8024406B1 (en) 2005-11-18 2011-09-20 Convergys Cmg Utah, Inc. System and method for dispensing e-Care

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4975942A (en) * 1989-07-21 1990-12-04 The Boston Communications Group Credit/calling card pay telephone method and system employing telephone unit local card-checking and other intelligence cooperative with local personal host computer
US5436850A (en) * 1991-07-11 1995-07-25 The Regents Of The University Of California Method to identify protein sequences that fold into a known three-dimensional structure
US7124302B2 (en) * 1995-02-13 2006-10-17 Intertrust Technologies Corp. Systems and methods for secure transaction management and electronic rights protection
US6128607A (en) * 1996-07-12 2000-10-03 Nordin; Peter Computer implemented machine learning method and system
US6269312B1 (en) * 1997-04-11 2001-07-31 California Institute Of Technology Apparatus and method for automated protein design
US20050216421A1 (en) * 1997-09-26 2005-09-29 Mci. Inc. Integrated business systems for web based telecommunications management
US20020089958A1 (en) * 1997-10-14 2002-07-11 Peretz Feder Point-to-point protocol encapsulation in ethernet frame
US20030049654A1 (en) * 1998-10-16 2003-03-13 Xencor Protein design automation for protein libraries
US20020090648A1 (en) * 1998-10-16 2002-07-11 Dahiyat Bassil I Protein design automation for protein libraries
US6639975B1 (en) * 1999-01-29 2003-10-28 Microsoft Corporation Interactive billing control system
US6400773B1 (en) * 1999-06-04 2002-06-04 The Board Of Trustees Of The University Of Illinois Section division operating point determination method for multicarrier communication systems
US20020161676A1 (en) * 1999-06-10 2002-10-31 Viswanath Vadlamani Prepaid fixed quantity access to web services
US6578015B1 (en) * 1999-08-31 2003-06-10 Oracle International Corporation Methods, devices and systems for electronic bill presentment and payment
US6546375B1 (en) * 1999-09-21 2003-04-08 Johns Hopkins University Apparatus and method of pricing financial derivatives
US6640097B2 (en) * 1999-12-13 2003-10-28 Markport Limited WAP service personalization, management and billing object oriented platform
US20040043429A1 (en) * 2000-02-10 2004-03-04 Dahiyat Bassil I. Protein design automation for protein libraries
US20020048772A1 (en) * 2000-02-10 2002-04-25 Dahiyat Bassil I. Protein design automation for protein libraries
US7080035B1 (en) * 2000-03-20 2006-07-18 Bellsouth Intellectual Property Corp. System and method for notifying an electronic billing vendor of a customer status change
US20020143819A1 (en) * 2000-05-31 2002-10-03 Cheng Han Web service syndication system
US20020176378A1 (en) * 2001-05-22 2002-11-28 Hamilton Thomas E. Platform and method for providing wireless data services
US6792460B2 (en) * 2002-10-02 2004-09-14 Mercury Interactive Corporation System and methods for monitoring application server performance
US20050044197A1 (en) * 2003-08-18 2005-02-24 Sun Microsystems.Inc. Structured methodology and design patterns for web services

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153407A1 (en) * 2002-10-10 2004-08-05 Convergys Information Management Group, Inc. System and method for revenue and authorization management
US20080133764A1 (en) * 2002-12-16 2008-06-05 International Business Machines Corporation Apparatus, Methods and Computer Programs for Metering and Accounting for Services Accessed Over a Network
US8738790B2 (en) 2002-12-16 2014-05-27 International Business Machines Corporation Apparatus, methods and computer programs for metering and accounting for services accessed over a network
US7672882B2 (en) 2002-12-16 2010-03-02 International Business Machines Corporation Apparatus, methods and computer programs for metering and accounting for services accessed over a network
US7664711B2 (en) * 2002-12-16 2010-02-16 International Business Machines Corporation Apparatus, methods and computer programs for metering and accounting for services accessed over a network
US8762235B2 (en) 2002-12-16 2014-06-24 International Business Machines Corporation Apparatus, methods and computer programs for metering and accounting for services accessed over a network
US20040117224A1 (en) * 2002-12-16 2004-06-17 Vikas Agarwal Apparatus, methods and computer programs for metering and accounting for services accessed over a network
US8799491B2 (en) 2002-12-16 2014-08-05 International Business Machines Corporation Apparatus, methods and computer programs for metering and accounting for services accessed over a network
US20050008022A1 (en) * 2003-07-09 2005-01-13 Cisco Technology, Inc. Providing modular telephony service
US7213056B2 (en) * 2003-07-09 2007-05-01 Cisco Technology, Inc. Providing modular telephony service
US20050125555A1 (en) * 2003-12-05 2005-06-09 Electronic Data Systems Corporation System and method for fault management in a service-oriented architecture
US9967308B2 (en) * 2003-12-05 2018-05-08 Hewlett Packard Enterprise Development Lp System and method for fault management in a service-oriented architecture
US7487513B1 (en) * 2003-12-30 2009-02-03 Sap Ag Web service archive
US10291715B1 (en) 2004-01-27 2019-05-14 Amazon Technologies, Inc. Controlling access to services via usage models
US8639582B1 (en) 2004-01-27 2014-01-28 Amazon Technologies, Inc. Controlling access to services via usage models
US8024225B1 (en) * 2004-01-27 2011-09-20 Amazon Technologies, Inc. Controlling access to services via usage models
US8019652B1 (en) 2004-01-27 2011-09-13 Amazon Technologies, Inc. Execution of composite services
US8019653B1 (en) 2004-01-27 2011-09-13 Amazon Technologies, Inc. Providing composite services based on multiple other constituent services
US8005723B1 (en) 2004-01-27 2011-08-23 Amazon Technologies, Inc. Providing multiple configurable usage models for available services
US7457870B1 (en) * 2004-02-27 2008-11-25 Packeteer, Inc. Methods, apparatuses and systems facilitating classification of web services network traffic
US7774456B1 (en) * 2004-02-27 2010-08-10 Packeteer, Inc. Methods, apparatuses and systems facilitating classification of web services network traffic
US8046464B2 (en) * 2004-03-10 2011-10-25 The Boeing Company Quality of service resource management apparatus and method for middleware services
US20050204054A1 (en) * 2004-03-10 2005-09-15 Guijun Wang Quality of Service resource management apparatus and method for middleware services
US8914518B2 (en) * 2004-04-23 2014-12-16 International Business Machines Corporation Intermediary for satisfying a service requirement established by a service provider
US20050240422A1 (en) * 2004-04-23 2005-10-27 International Business Machines Corporation System, method and program product for satisfying a service requirement
US7647319B2 (en) * 2004-09-06 2010-01-12 Canon Kabushiki Kaisha Information processing apparatus, information processing method, program, and storage medium
US20060053124A1 (en) * 2004-09-06 2006-03-09 Masahiro Nishio Information processing apparatus, information processing method, program, and storage medium
US7478397B1 (en) * 2004-11-02 2009-01-13 Ameriprise Financial, Inc. Service-based interface method
US20060271939A1 (en) * 2005-05-11 2006-11-30 Eric Joris Enterprise-to-enterprise integration
US20070043663A1 (en) * 2005-08-16 2007-02-22 Mark Simpson E-payment advice system
US8024406B1 (en) 2005-11-18 2011-09-20 Convergys Cmg Utah, Inc. System and method for dispensing e-Care
US20110161293A1 (en) * 2005-12-29 2011-06-30 Vermeulen Allan H Distributed storage system with web services client interface
US8185497B2 (en) * 2005-12-29 2012-05-22 Amazon Technologies, Inc. Distributed storage system with web services client interface
US20080155089A1 (en) * 2006-12-21 2008-06-26 International Business Machines Corporation Method, system and program product for monitoring resources servicing a business transaction
US8010654B2 (en) * 2006-12-21 2011-08-30 International Business Machines Corporation Method, system and program product for monitoring resources servicing a business transaction
US10853780B1 (en) * 2006-12-29 2020-12-01 Amazon Technologies, Inc. Providing configurable pricing for use of invocable services by applications
US10726404B2 (en) * 2006-12-29 2020-07-28 Amazon Technologies, Inc. Using configured application information to control use of invocable services
US9044504B1 (en) * 2006-12-29 2015-06-02 Amazon Technologies, Inc. Using configured application pricing to determine end user fees for use of invocable services
US20150235191A1 (en) * 2006-12-29 2015-08-20 Amazon Technologies, Inc. Using configured application information to control use of invocable services
US20080178010A1 (en) * 2007-01-18 2008-07-24 Vaterlaus Robert K Cryptographic web service
US9749301B2 (en) 2007-01-18 2017-08-29 Voltage Security, Inc. Cryptographic web service
US9209982B2 (en) * 2007-05-18 2015-12-08 Cisco Technology, Inc. Charging for network services based on delivered quality of service
US20080285475A1 (en) * 2007-05-18 2008-11-20 Louis Menditto Charging for Network Services based on Delivered Quality of Service
US8719121B1 (en) * 2008-01-15 2014-05-06 David Leason System and method for automated construction of time records based on electronic messages
US8538920B2 (en) * 2011-08-08 2013-09-17 Hewlett-Packard Development Company, L.P. System and method for storage service
WO2016036386A1 (en) * 2014-09-05 2016-03-10 Hewlett Packard Enterprise Development Lp Dynamically generating an aggregation routine
US10701213B2 (en) 2014-09-05 2020-06-30 Suse Llc Dynamically generating an aggregation routine
US11444810B2 (en) * 2019-11-21 2022-09-13 Verizon Patent And Licensing Inc. Micro-adapter architecture for cloud native gateway device

Also Published As

Publication number Publication date
US20180158117A1 (en) 2018-06-07
US11734734B2 (en) 2023-08-22

Similar Documents

Publication Publication Date Title
US11734734B2 (en) System and method for web service billing
US11157915B2 (en) Automatic creation and configuration of license models and policies
Tsalgatidou et al. An overview of standards and related technology in web services
JP3902136B2 (en) Service provider system, resource counter service provider system, SOAP web service system, method and program including counting / billing mechanism for web services based on SOAP communication protocol
Dumas et al. Towards a semantic framework for service description
Papazoglou et al. A survey of web service technologies
Fremantle et al. Enterprise services
US7930340B2 (en) Network transaction portal to control multi-service provider transactions
Kim et al. A comparison of B2B e-service solutions
US20020069244A1 (en) Message delivery system billing method and apparatus
US20090259510A1 (en) Operational Support System for Telecommunication Services
US7933785B2 (en) Real-time benefits service marketplace
US20050086102A1 (en) Method and system for validation of service consumers
CN101174983B (en) System and method for managing a plurality of web services
Papazoglou et al. Service-oriented computing: State-of-the-art and open research issues
JP2002358290A (en) Providing method, program and system for information processing service
Zhang et al. Service-oriented architecture
KR101040891B1 (en) System for Providing of Complex Service in Wireless Internet
Choi et al. Design and implementation of Web Services-based NGOSS technology-specific architecture
KR100934339B1 (en) How to Handle Web Service Charges Using Tickets
Succi et al. Supporting electronic commerce of software products through pay-per-use rental of downloadable tools
Yingjun WEB SERVICE AND PROCESS MODEL BASED COMPOSITION MODEL OF DYNAMIC E-BUSINESS ZHANG Xiuguo1, 2, LIU Dechun3
Saxena et al. Using Web Services for Distributed Computing
Zhang et al. Web Services Modeling
Patel Offerings Language

Legal Events

Date Code Title Description
AS Assignment

Owner name: CONVERGYS INFORMATION MANAGEMENT GROUP, INC., OHIO

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BIRCH, ROBERT;IRWIN, SCOTT;LUPO, JOSEPH;AND OTHERS;REEL/FRAME:014536/0437

Effective date: 20030915

AS Assignment

Owner name: CONVERGYS CMG UTAH, UTAH

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CONVERGYS INFORMATION MANAGEMENT GROUP, INC.;REEL/FRAME:020169/0468

Effective date: 20071114

AS Assignment

Owner name: CONVERGYS INFORMATION MANAGEMENT GROUP, INC., OHIO

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CONVERGYS CMG UTAH, INC.;REEL/FRAME:028110/0237

Effective date: 20120423

AS Assignment

Owner name: NETCRACKER TECHNOLOGY SOLUTIONS INC., OHIO

Free format text: CHANGE OF NAME;ASSIGNOR:CONVERGYS INFORMATION MANAGEMENT GROUP INC.;REEL/FRAME:032538/0017

Effective date: 20120716

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION