Sybase Web services contains the following basic units and folders:
Server – an EAServer runtime process that includes the server name and version, host name on which it is running, and port number to which the WST development tool is connected.
Web Services – contains the various Web service collections.
Collection – a group of Web services bundled into a single unit for easy development and management. A collection in a Web services runtime engine is analogous to a Web application in a J2EE container.
Service – defines the component (EJB, CORBA, Java, PowerBuilder, and so on) that is installed as a Web service. Some aspects of the Web service that you can define include:
Ports – the path, URL, or endpoint from which the Web service is made available.
Operations – the methods and parameters of the Web service that execute business logic and access data sources.
Type Mappings – the name and encoding style of the datatype mapping used by the Web service, depending on the service type (EJB, CORBA, PowerBuilder, and so on).
Handlers – contain special routines that can be implemented should a particular event occur. For example, to invoke customized authentication logic, you can write a handler and install it in the Handlers folder.
Other Components – contains the packages (a collection of components organized into cohesive, secure units) that are hosted on the EAServer to which the WST development tool is connected. These components can be deployed as Web services if they meet the criteria described in Chapter 3, “Components and Datatypes.”
Error logging, debugging, and troubleshooting tools consists of several views: Console, Tasks, SOAP Inspector, and Web Services Console. From the WST development tool, select Window | Show View | and:
Console – displays the output of the execution of programs and allows you to enter input for the program. The console shows three different kinds of text, each in a different color:
Standard output
Standard error
Standard input
Web Services Console – displays the messages, errors, and warnings generated whenever you perform a Sybase Web services action. The Web services console allows you to monitor the various log files which are located in the logs subdirectory of your EAServer installation.
Tasks – displays auto-generated errors, warnings, or information associated with a resource. Double-click an item in the Task view to display more detailed information.
SOAP Inspector – displays incoming and outgoing messages for a given Web service. Each Web service displays in an Inbound Messages folder and an Outbound Messages folder that includes the protocol, name of the host, port number where the Web service is made available, and the name of the Web service. Double-click the Web service to view either outbound or inbound traffic. The SOAP or HTTP responses, which depend on the tab you select, appear in the right pane.