Using the Web Service editor

PolicyCenter provides a fully WS-I compliant web services layer for both server publishing and client consuming web service APIs.

Guidewire Studio™ stores WS-I web service resources in a web service collection. A web service collection encapsulates the set of resources necessary to connect to a web service on an external server. Typical resources include one or more web service endpoints and the WSDL and XSD files that they reference. Web service collections are created and managed in the Studio Web Service editor.

Collection files have a .wsc file extension. The location of the web service collection in the package hierarchy defines the package for the types that Gosu creates from the associated WSDL.

The Web Service editor consists of several areas.

Editor area

Description

Toolbar

The toolbar is located directly above the Resources pane. The toolbar icons provide the following actions.

  • Add New Resource – Create new URL resource to the web service WSDL file.
  • Edit Resource - Edit the URL resource to the web service WSDL file.
  • Remove Resource – Remove the URL from the list of web service resources.
  • Move Up - Move the selected URL resource up one level in the list of resources.
  • Move Down - Move the selected URL resource down one level in the list of resources.
  • Fetch – Retrieve WSDL and XSD files for a web service resource. The retrieved files are shown in the editor's Fetched Resources tab.
  • Setup Environment - Show the Studio Settings window. In the window's Sidebar, select Guidewire Studio to show the Web Services Environment setting.

Resources pane

Contains the list of defined URL resources for the web service. Each URL points to a web service WSDL file. The WSDL file can exist in any of the following locations.

  • The local file system
  • A local server
  • A remote server

Settings tab

Create and manage configuration entries for the web service. The following types of configuration entries are supported.

  • Configuration Provider – Specifies a class that implements the IWsiWebserviceConfigurationProvider interface.
  • Override URL – Specifies an override proxy URL for the web service.

See Adding configuration options to a web service.

Fetched Resources tab

Shows the WSDL and XSD files for the web services.

See also