Claims
- 1. A method for displaying Web services comprising:
generating a data model of a description of the Web service; applying a perspective visitor to the data model, wherein the perspective visitor corresponds to a preselected domain; and displaying a perspective of the Web service associated with the preselected domain in response to the step of applying the perspective visitor, wherein the perspective visitor comprises a visitor pattern for encapsulating an operation to be performed on elements of the data model.
- 2. The method of claim 1 further comprising iterating the steps of applying a perspective visitor to the data model and displaying the perspective of the Web service for each perspective corresponding to one of a predetermined set of domains.
- 3. The method of claim 2 wherein the set of domains includes Java, SOAP, Java server Pages, and Visual Basic.
- 4. The method of claim 1 wherein the data model comprises a data structure including at least one node corresponding to an operation of the Web service, and at least one child node of a node corresponding to an operation, the child node corresponding to one of an input and an output of the Web service.
- 5. The method of claim 4 wherein the step of applying the perspective visitor further includes:
passing in the at least one node and the at least one child node to the perspective visitor; and populating the perspective corresponding to the preselected domain to generate a corresponding perspective representing the node passed in.
- 6. The method of claim 1 further comprising:
receiving user input sample data in response to the step of displaying the perspective; and executing the Web service using the sample data.
- 7. A computer program product embodied in a machine-readable storage medium comprising programming instructions for performing the steps of:
generating a data model of a description of the Web service; applying a perspective visitor to the data model, wherein the perspective visitor corresponds to a preselected domain; and displaying a perspective of the Web service associated with the preselected domain in response to the step of applying the perspective visitor, wherein the perspective visitor comprises a visitor pattern for encapsulating an operation to be performed on elements of the data model.
- 8. The computer program product of claim 7 further comprising programming for performing the step of iterating the steps of applying a perspective visitor to the data model and displaying the perspective of the Web service for each perspective corresponding to one of a predetermined set of domains.
- 9. The computer program product of claim 8 wherein the set of domains includes Java, SOAP, Java Server Pages, and Visual Basic.
- 10. The computer program product of claim 7 wherein the data model comprises a data structure including at least one node corresponding to an operation of the Web service, and at least one child node of a node corresponding to an operation, the child node corresponding to one of an input and an output of the Web service.
- 11. The computer program product of claim 10 wherein programming for performing the step of applying the perspective visitor further includes programming for performing the steps of:
passing in the at least one node and the at least one child node to the perspective visitor; and populating the perspective corresponding to the preselected domain to generate a corresponding perspective representing the node passed in.
- 12. The computer program product of claim 7 further comprising:
receiving user input sample data in response to the step of displaying the perspective; and executing a Web page calling the Web service using perspective and the sample data.
- 13. A data processing system for displaying Web services comprising:
circuitry operable for generating a data model of a description of the Web service; circuitry operable for applying a perspective visitor to the data model, wherein the perspective visitor corresponds to a preselected domain; and circuitry operable for displaying a perspective of the Web service associated with the preselected domain in response to the step of applying the perspective visitor, wherein the perspective visitor comprises a visitor pattern for encapsulating an operation to be performed on elements of the data model.
- 14. The system of claim 13 further comprising circuitry operable for iterating the operations of applying a perspective visitor to the data model and displaying the perspective of the Web service for each perspective corresponding to one of a predetermined set of domains.
- 15. The system of claim 14 wherein the set of domains includes Java, SOAP, Java Server Pages, and Visual Basic.
- 16. The system of claim 13 wherein the data model comprises a data structure including at least one node corresponding to an operation of the Web service, and at least one child node of a node corresponding to an operation, the child node corresponding to one of an input and an output of the Web service.
- 17. The system of claim 16 wherein the circuitry operable for applying the perspective visitor further includes:
circuitry operable for passing in the at least one node and the at least one child node to the perspective visitor; and circuitry operable for populating the perspective corresponding to the preselected domain to generate a corresponding perspective representing the node passed in.
- 18. The system of claim 13 further comprising:
circuitry operable for receiving user input sample data in response to the step of displaying the perspective; and circuitry operable for executing a Web page calling the Web service using the perspective and the sample data.
- 19. A method for displaying Web services comprising:
generating a data model of a description of the Web service; applying a perspective visitor to the data model, wherein the perspective visitor corresponds to a preselected domain; and displaying a perspective of the Web service associated with the preselected domain in response to the step of applying the perspective visitor, wherein the perspective visitor comprises a visitor pattern for encapsulating an operation to be performed on elements of the data model, wherein the data model comprises a data structure including at least one node corresponding to an operation of the Web service, and at least one child node of a node corresponding to an operation, the child node corresponding to one of an input and an output of the Web service.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] Related subject matter may be found in the following commonly assigned, co-pending U.S. patent applications, which are hereby incorporated by reference herein:
[0002] Ser. No. ______(AUS9-2002-0327-US1), entitled “SYSTEMS AND METHODS FOR TRANSPARENTLY ACCESSING WEB APPLICATIONS REMOTELY AND LOCALLY”;
[0003] Ser. No. ______(AUS9-2002-0329-US1), entitled “SYSTEMS AND METHODS FOR MESSAGING IN A MULTI-FRAME WEB APPLICATION”; and
[0004] Ser. No. ______(AUS9-2002-0330-US1), entitled “SYSTEMS AND METHODS FOR ACCESSING WEB SERVICES USING A TAG LIBRARY”.