An invention is provided for incorporating web services into JSP tag
libraries for use in JSP pages. As a result, web page authors can develop
JSP pages, which utilize web services from WSDL enabled servers, without
an in-depth knowledge of WSDL. In general, a web services based document
is received, which defines a set of web service operations. Each web
service operation is translated into a custom action, and the custom
actions are grouped into a tag library. Generally, the web services based
document can be a WSDL document, and the custom actions can be JSP custom
actions. Also, the tag library can be a JSP custom tag library.
Particular custom actions from the custom actions that are grouped in the
JSP custom tag library can be incorporated in a JSP page. Once the JSP
page is created, content for the JSP page can be obtained from a web
service using the JSP custom tag library. The JSP page can then generate
a document based on the content. The document can be an HTML document, an
XML document, or any other type document as needed for the particular
situation.