Chapter 8 Working with Web Services


Web Service tab of the component instance

The Web Service tab in the property sheet of the component instance includes the following properties:

Property Description
Access point URL Displays the full URL to invoke the Web service. It is a calculated value that uses the network address located in the node. You can also type your own URL by using the User-Defined tool to the right of the box. Once clicked, the URL can be overridden
WSDL URL Indicates where the WSDL should be published on the web. You can type your own URL by using the User-Defined tool to the right of the box. Once clicked, the URL can be overridden
Use external WSDL Indicates that the WSDL is published at a specific URL

When a WSDL is not user-defined, it is regenerated each time and can be displayed in the Preview tab of the component instance property sheet. An external WSDL has a user-defined WSDL text.

Access point URL examples

Here are some examples of the syntax used in .NET and Java:

For .NET, the default syntax is:

accesstype://machine_networkaddress:port/application_namespace/webservice_code.asmx

For example: http://doc.sybase.com:8080/WebService1/StockQuote.asmx.

For Java, the default syntax is:

accesstype://machine_networkaddress:port/application_namespace/webservice_code

For example: http://doc.sybase.com/WebService1/StockQuote.

Computed attributes AccessType and PortNumber for code generator & VBScript are computed from the access point URL. For example: http, https.

WSDL URL examples

For .NET, the default syntax is:

accesstype://machine_networkaddress:port/application_namespace/Webservice_code.asmx?WSDL

For Java, the default syntax is:

accesstype://machine_networkaddress:port/application_namespace/wsdl_file

 


Copyright (C) 2006. Sybase Inc. All rights reserved.