Working with Web Services > Exploring Web Services > Viewing the WSDLs and schemas

Viewing the WSDLs and schemas

If you use a browser to access the SOAP endpoint for a service (see Service endpoints), Web Services displays a summary of the service, including the URL for the WSDL that defines that endpoint.

The WSDL URL is what you would enter into a SOAP-aware tool such as SOAP UI or an IDE such as Microsoft Visual Studio to automatically create request templates or generate classes for that service. In this example, that URL is http://localhost:8080/symws/soap/standard?wsdl.

When you follow the link for the WSDL, Web Services returns the WSDL document for that service.

The WSDL imports the schemas that define the structures and elements of requests and responses in the service.

Copy and paste the URL from the schemaLocation attribute into your browser’s address bar to view that schema. In this example, the URL http://localhost:8080/symws/soap/standard?xsd=2 retrieves the standard schema and the URL http://localhost:8080/symws/soap/standard?xsd=1 retrieves the header schema.

SOAP UI (an open-source Web service testing tool available at www.soapui.org) also allows you to easily view the WSDLs and schemas that define a Web service using the built-in Interface Viewer.

Related topics 

 


© 2009-2012 SirsiDynix